- 
        1. Re: XDoclet Errorlittledochy Nov 19, 2005 12:17 AM (in response to littledochy)More Details 
 When I opened up the xdoclet-build.xml file, this is the line that came up with a problem. The caption said, "Task could not be defined within the Ant Editor context."
- 
        2. Re: XDoclet Errorscharlau Nov 21, 2005 10:46 AM (in response to littledochy)Whenever you see the 'major.minor version' error it means that you have incompatible JVMs. Chances are that you've not set up your project to use JDK 1.5, and XDoclet is set to use 1.4, or something of that sort. 
- 
        3. Re: XDoclet Errorbviveiros Dec 4, 2005 6:47 PM (in response to littledochy)Hey littledochy, did you ever resolve this? I'm having the same problem. 
 Thanks.
- 
        
- 
        5. Re: XDoclet Erroranuj_patel Dec 7, 2005 3:45 AM (in response to littledochy)hey littledochy and bviveiros i had the same problem 
 Try downloading xdoclet 1.2.3 from the xdoclet's official site (dun remember the url)...now in tht there would be a lib folder which would contain jars for xdoclet.
 Add those jars in your build path and you would be on ur way :)
 all the best n lemme knw if u need more help
- 
        6. Re: XDoclet Errorsgparry Dec 7, 2005 6:39 PM (in response to littledochy)I am having same problem. Have not checked, but according to this post, JDK 1.5 is required: 
 http://www.jboss.com/?module=bb&op=viewtopic&t=72336
- 
        7. Re: XDoclet Errorsgparry Dec 9, 2005 7:34 PM (in response to littledochy)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.
- 
        8. Re: XDoclet Errorrsood72 Feb 13, 2006 2:23 PM (in response to littledochy)hey anuj 
 how did you fix this error
- 
        9. Re: XDoclet Errorskumarsamy Apr 19, 2006 3:18 AM (in response to littledochy)Hi, 
 Download j2se 5.0 and get it installed with the run time.
 Startup your Eclipse IDE.
 After that right click on to your project and choose properties, in the tree choose the Java Compiler and in the right pane Enable project specific settings, then select the JDK Compliance to 5.0, select Use default compliance settings.
 This is the new configuration setting, hence there will be a message down the pane asking to configure the JRE, from there you are moved another dialog, where you are asked to give a name for the JRE and to browse to the new jre home, once selected you will get all the libraries related to it. Click ok, will return your project properties.
 Now choose the Java Build Path from the tree, then open the libraries tab, then remove your early jre1.4 and select the new jre5.0 then click ok.
 Now go to your project right click and click Run XDoclet.
 this will will run and generate your required files.
 regards
 kumar
- 
        10. Re: XDoclet Erroranuj_patel Apr 28, 2006 3:37 AM (in response to littledochy)ey rsood. I hope you downloaded the xdoclet1.2.3 package from xdoclet's official site. When you get this package then, right click on your project, click on properties. Go to java build path. Here in the Libraries tab click on Add Library Button. Select User Library Option here and click on next. Then click on User Libraries Button. Then Click on New button. Give the name of Library 'Xdoclet1.2.3' (It can be anything you want.). 
 Select the library that you have made and then click on Add Jars button.
 It would open up the file dialog. Go the the path where you have stored the xdoclet's package and in one the folders of that package you would find the jars that are needed. So go to that folder and Select All jars.
 After this library is created click on OK. Then it would go back to 'Select a library' step of the wizard. Select the newly created library AND MY FRIEND YOUR PROJECT WOULD GET ROLLINGGGGGG.
- 
        11. Re: XDoclet Errorpeysock Jan 11, 2007 12:12 PM (in response to littledochy)I was able to resolve this problem by following instructions from Keving: 
 http://jboss.com/index.html?module=bb&op=viewtopic&p=3933318
 
     
     
     
     
     
     
    