#This page illustrates the procedure of building XMind application using source code.
What you need
Instructions
Step 1 - Installation
- Install Eclipse IDE to folder {ECLIPSE}
- Install XMind standalone application to folder {XMIND}
- Copy the following jar files from {XMIND}/plugins/ (on OS X, right-click or control-click on XMind in Applications folder, select 'Show Package Contents', select Contents -> Resources -> plugins) to {ECLIPSE}/plugins/
- net.sourceforge.jazzy_0.5.0.jar
- org.bouncycastle_1.3.8.jar
- org.json_1.0.0.jar
- Launch Eclipse IDE and create a new workspace {WORKSPACE}
- Select Help menu -> Software Updates... -> Available Software, install:
- 'Graphical Editing Framework Draw2d'
- (recommended) 'Graphical Editing Framework Draw2d Developer Resource'
Step 2 - Importation
- In Eclipse, select File menu -> Import... -> Existing Projects into Workspace
- Select the archive file (source package) downloaded from this site
- Select all projects and click Finish
- After the importing process is over, restart Eclipse
Step 3 - Building
- Select org.xmind.cathy.win32:
- If not working on Windows, delete this project
- If there's still building errors, try Project menu -> Clean... -> Clean all projects
Step 4 - Launching
- Select Run menu -> Run Configurations... (same for Debug Configurations)
- Right-click (control-click on OS X) on Eclipse Application -> New
- In Main tab,
- Name: XMind (or any)
- Location: ${workspace_loc}/../runtime-cathy (or any)
- Run a product: org.xmind.cathy.product
- Switch to Plug-ins tab,
- Launch with: plug-ins selected below only
- Deselect All
- Check only those XMind-related plug-ins, language pack fragments (xx.xx.xx.nl_xx) may be included as needed
- Add Required Plug-ins
- Apply changes and Run!
References
Updated to 3.1.0 today.
Do the 3 jars go in the "dropins" directory or do I need to make a "plugins" directory?
No matter where I seem to put the jars I keep getting the errors: "AESEngine cannot be resolved to a type." and "BufferedBlockCipher? cannot be resolved to a type." How do I properly configure the Build Path for these projects?
Any help would be appreciated. Thanks.
Ok to fix that I found that I could do: Eclipse >> File >> Import >> Plug-in Development >> Plug-ins and fragments and import from the directory: bcprov-jdk15-141 directory which was previously extracted from the org.bouncycastle_1.3.8.jar, as binary projects, and then selected org.bouncycastle, or called it that (can't remember exactly but it worked). It imported org.bouncycastle as a project and the Errors disappeared.
Now I am left with the following errors: "Configuration.SPELL_TARGET_FILE cannot be resolved." That's from SpellingCheckPrefPage?.java in /org.xmind.ui.spelling/src/org/xmind/ui/internal/spelling
This is different because the import statement, "import com.swabunga.spell.engine.Configuration;" seems to be resolved. The reference, "Configuration.SPELL_TARGET_FILE" doesn't seem to be resolving properly, even if I try to enter a fully qualified name like: "com.swabunga.spell.engine.Configuration.SPELL_TARGET_FILE". No luck. Any suggestions? Anyone? Anyone?
Ok so that's obviously a constant that is supposed to contain the name of the spelling configuration file. hmmm... Where are you hiding this constant?
I assume Jazzy and or Json has something to do with this. I made them new projects imported from existing jars and put them in the build path of org.xmind.ui.spelling. Still not resolved. Same errors. hmmm... will have to research this more. Any hints? Anyone? Anybody reading this?
Oh well, it seems to work, even without spellcheck. Dat's ok I went to skool.
Put the jars in "plugins". Then go to the "Target Platform" page in preferences and click "reload". You should be able to build with those jars then.
I want to use xmind on freeBSD, Do Someone have the experience with building.
ps: I can't find XMind standalone application in http://www.xmind.net/downloads/. how about that?
Hi, I have successfully build Xmind from source code, but it does not contain ‘fishbone drawing’ function as .exe file. Does anyone know whether the source code contain such kind of function?
Hi,
following the great explanations given in this topic, I managed to build xmind from course code. But I can't export it outside of eclipse. I have this error : "Problems downloading artifact: osgi.bundle,org.bouncycastle,1.0.0." Anynone has an idea of the problem ?
Sorry I didn't see the comment upper : "Ok to fix that I found that I could do: Eclipse >> File >> Import >> Plug-in Development >> Plug-ins and fragments and import from the directory: bcprov-jdk15-141 directory which was previously extracted from the org.bouncycastle_1.3.8.jar, as binary projects, and then selected org.bouncycastle, or called it that (can't remember exactly but it worked). It imported org.bouncycastle as a project and the Errors disappeared."
This is just a heads up that I had the same problem as noted above by e.marg~ and apprecia~. It seemed very odd because the bouncy castle jar was showing properly in the dependencies of the org.xmind.core.runtime project, the same one that would not compile because it would not see those imports!
Here is what I did to fix it easily.
Thanks for all these tips
After the add of the org.bouncycastle in the workspace, 20 build errors tagged "Plug-in Problem" remains in the org.xmind.ui module (all are similar to this first one : Referenced element 'adapt' is not defined).
Thanks by advance if anyone has a clue to this issue...
This problem occurs only with the last version of Eclipse (Helios). To fix it, the previous one (Galileo) must be used.
Comment by pete.carapetyan, Jul 26, 2010 This is just a heads up that I had the same problem as noted above by e.marg~ and apprecia~. It seemed very odd because the bouncy castle jar was showing properly in the dependencies of the org.xmind.core.runtime project, the same one that would not compile because it would not see those imports!
Here is what I did to fix it easily.
1.Right clicked org.bouncycastle jar, choose import 2.Chose Plugin Development > Plugins and Fragments 3.Took defaults - hit Next 4.Choose the org.bouncycastle jar, then "Add" 5.Finish. Project is now in workspace and everything compiles.
It's good idea. 3x all.
Have the same on Helios:
Guys, please help with building XMind on Helios!
Run a product: org.xmind.cathy.product
I can't find it!? how can I make it appears?
I think you need to use an "Eclipse Application" configuration to get the Run a Product option. e.g.: http://tinypic.com/r/x5qb8w/7
galileo and helios compatibilities.
i think this relates to the internal eclipse schemas (.exsd) for expressions.
as of xmind 3.2.1 only galileo works. RC1 and RC2 both build correctly, but RC1 is the version that xmind is based on.
Which one is the "XMind standalone application"?
Re: "XMind standalone application" - the Portable (zip) version will do - you just need to copy off some jars
I struggled with the "org.bouncycastle" building error the whole afternoon and finally worked out a proper solution on Galileo on Windows. Somehow boundcycastle doen't work the way I expected, so I modified the org.bouncycastle_1.3.8.jar file from <XMind_intall_folder>/plugins/. In case anyone has the same problem while building, I've put it on http://ench.tw/files/org.bouncycastle_1.3.8.jar . Just replace org.bouncycastle_1.3.8.jar mentioned in the instruction with the modified one. Helios won't build btw.
Thanks for the hints from the comments above.
XMind is amazing, thanks, guys!
Shared: "step 4.4 Check only those XMind-related plug-ins, language pack fragments (xx.xx.xx.nl_xx) may be included as needed " This step is very important, if you skip it, you will meet the error 'java.lang.RuntimeException?: No application id has been found.' when you try to run the application.
Thanks for this page !
I followed each step. I have windows vista, eclipse-SDK-4.1.1-win32. Unfortunately, when running, an Xmind window appear but completely empty, with no way to open/create something.On the console, i have this error (bellow) when i run, Sorry, it's a bit long. Have you any idea ??
java.lang.Exception: Bad call to getCoolBarManager()
Hi Martin, Could you try Indigo (Eclipse 3.7.X)?
it woooooorks !!! Thanks a lot ! (you can delete my last ugly message if you wish) See you soon
One of four runtime errors: org.xmind.signin
The other 3 are similar, 2 for json, one for jazzy. Each has the appropriate jar in the dependency directory.
Is there a simple fix for this?
Correction, one of the four validation errors was for bouncycastle in org.xmind.core.runtime I plan to try the revised bouncycastle jar mentioned above.