Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Hello, I am new to JAXB Builder and was following the directions on: http://www.youtube.com/watch?v=8jqf0ME6Y1Q
But I am using Eclipse(Indigo) on Mac OS X lion.
Here are the details:
- I went to the Eclipse -> opened Preferences -> JAXB Preferences
- And it says "ERROR*** Fix path to XJC JAXB Command"
- Then, I click on the "JAXB Tool Path" button and tried to type in the correct path "/Library/Java/Home/bin/xjc".
- But, after save, the path default to "/Users/username/Library/:Library:Java:Home:bin:xjc.xjc.*". And the error is still there. It cannot locate the xjc compiler.
Thanks in advance!
Apologies for not getting back to you sooner. The plug-in has been tested on Linux distributions but not MAC directly. I would not anticipate any differences though I can only assume the MAC eclipse UI operates differently than on Linux or windows. You can manually alter the configuration to bypass the UI. The location of the jaxb preferences file is as follows
Alter the xjc path manually and restart eclipse
JAXB\ XJC\ Location=/usr/bin/xjc
This is still happening and also on ubuntu 12.04 Eclipse Juno with JAXB Eclipse plugin version 1.0.
When I try to browse to the correct location the dialog behaves erratically. I managed to browse once and since then the path is set to the correct path, but "C:\Program Files\Java\jdk1.6.0_21" appended.