-
1. Re: Error, runnig xdoclet on tutorial ( latest versions )
magnetic Nov 10, 2005 7:25 PM (in response to magnetic)Bad form I did not do a practical search first, I found the cause of this is the jdk 1_4_2 is not enough, 1_5 is needed.
-
2. Re: Error, runnig xdoclet on tutorial ( latest versions )
sgparry Dec 9, 2005 7:35 PM (in response to magnetic)OK, I have a way round this one but it's not easy.
Basically there is one jar compiled with 1.5 instead of 1.4 that I have found so far. It does not use any 1.5 features itself, although it allows javadoc generation for 1.5 source code! It can therefore be readily recompiled for 1.4. Here are brief instructions.
PLEASE NOTE: ignore all references to Maven in the release notes etc for xjavadoc. The Maven build appears to be totally broken with all versions of Maven. Use cvs and ant.
Use CVS to get the source for xjavadoc:
md /cvswork
cd /cvswork
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/xdoclet checkout -P -D "2005-06-11 12:33" -- xjavadoc
Hit enter for the password.
Ensure you have Ant 1.6.5 on your system
Ensure you have junit.jar from junit3.8.1 on your classpath or in %ANT_HOME%/lib
Ensure your 1.4 java runtime is the first on the path etc.
execute ant to build the jar:
cd /cvswork/xjavadoc
ant
If all works you should get:
/cvswork/xjavadoc/target/xjavadoc-1.5-snapshot.jar
rename it to:
xjavadoc-1.5-snapshot050611.jar
copy it over the one in %ECLIPSE_HOME%/plugins/org.jboss.ide.eclipse.xdoclet.core_1.5.0.RC1
BEWARE: I have only conducted the most cursory testing on this patch, but xdoclet now runs where as before it did not. -
3. Re: Error, runnig xdoclet on tutorial ( latest versions )
svoice Dec 27, 2005 5:59 PM (in response to magnetic)OK! It worked for me with a little workaround (over sgparry's one).
I followed the previous post step by step but Alas! no jar file found in target directory.
I just jar-ed it myself, zipping the whole xjavadoc directory inside target/classes and then renaming it as told.
I overwrote the eclipse jar and voilà... My xdoclet worked!
Thanks!! -
4. Re: Error, runnig xdoclet on tutorial ( latest versions )
iditzerem Jan 16, 2006 4:27 AM (in response to magnetic)I've also had this problem. I installed jdk1.5.0_06, pointed to it in Window/preference menu: java/Installed JRE.
Then the build successeded.