facebook

Running XDoclet outside of Eclipse with ant…

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197877 Reply

    ErikEngerd
    Member

    Hi,

    I am trying to run XDoclet outside of Eclipse using ant using the generated xdoclet-build.xml file.

    Doing this in my standard ant configuration (which is not that important for this message), I get a message that it does not support the “nested packagesubstitution” element. Because of this I am assuming that the XDoclet version I am using is too old.

    Therefore, I have copied the jar files from the xdoclet plugin core to the lib directory of ant. The contents of this lib directory is now as follows:

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    Directory of c:\Java\ant\lib

    08/13/2003 10:10 PM <DIR> .
    08/13/2003 10:10 PM <DIR> ..
    04/16/2003 07:22 PM 737,884 ant.jar
    04/25/2003 09:05 AM 515,920 bcel-5.1.jar
    07/28/2003 03:17 AM 91,866 commons-collections-2.0.jar
    07/28/2003 03:17 AM 26,388 commons-logging.jar
    10/09/2001 04:43 PM 7,932 cup-runtime.jar
    07/10/2002 01:59 PM 200,813 Gretel.jar
    09/04/2002 11:29 PM 121,070 junit.jar
    02/20/2003 02:07 AM 352,668 log4j-1.2.8.jar
    04/16/2003 07:22 PM 671,546 optional.jar
    04/16/2003 07:24 PM 667 README
    05/30/2003 11:08 AM 2,907,319 xalan.jar
    07/28/2003 03:17 AM 150,173 xdoclet-1.2b4.jar
    07/28/2003 03:17 AM 42,421 xdoclet-apache-module-1.2b4.jar
    07/28/2003 03:17 AM 69,012 xdoclet-bea-module-1.2b4.jar
    07/28/2003 03:17 AM 18,419 xdoclet-caucho-module-1.2b4.jar
    07/28/2003 03:17 AM 192,480 xdoclet-ejb-module-1.2b4.jar
    07/28/2003 03:17 AM 10,440 xdoclet-exolab-module-1.2b4.jar
    07/28/2003 03:17 AM 22,948 xdoclet-hibernate-module-1.2b4.jar
    07/28/2003 03:17 AM 11,990 xdoclet-ibm-module-1.2b4.jar
    07/28/2003 03:17 AM 11,422 xdoclet-java-module-1.2b4.jar
    07/28/2003 03:17 AM 86,741 xdoclet-jboss-module-1.2b4.jar
    07/28/2003 03:17 AM 18,864 xdoclet-jdo-module-1.2b4.jar
    07/28/2003 03:17 AM 12,219 xdoclet-jmx-module-1.2b4.jar
    07/28/2003 03:17 AM 5,378 xdoclet-libelis-module-1.2b4.jar
    07/28/2003 03:17 AM 15,231 xdoclet-macromedia-module-1.2b4.jar
    07/28/2003 03:17 AM 12,763 xdoclet-mockobjects-module-1.2b4.jar
    07/28/2003 03:17 AM 15,830 xdoclet-mvcsoft-module-1.2b4.jar
    07/28/2003 03:17 AM 4,400 xdoclet-mx4j-module-1.2b4.jar
    07/28/2003 03:17 AM 22,838 xdoclet-objectweb-module-1.2b4.jar
    07/28/2003 03:17 AM 16,717 xdoclet-oracle-module-1.2b4.jar
    07/28/2003 03:17 AM 13,088 xdoclet-orion-module-1.2b4.jar
    07/28/2003 03:17 AM 10,244 xdoclet-solarmetric-module-1.2b4.jar
    07/28/2003 03:17 AM 32,442 xdoclet-sun-module-1.2b4.jar
    07/28/2003 03:17 AM 8,780 xdoclet-sybase-module-1.2b4.jar
    07/28/2003 03:17 AM 4,892 xdoclet-tjdo-module-1.2b4.jar
    07/28/2003 03:17 AM 39,731 xdoclet-web-module-1.2b4.jar
    07/28/2003 03:17 AM 5,738 xdoclet-webwork-module-1.2b4.jar
    07/28/2003 03:17 AM 55,706 xdoclet-xdoclet-module-1.2b4.jar
    04/16/2003 07:24 PM 885,250 xercesImpl.jar
    07/28/2003 03:17 AM 238,696 xjavadoc-1.0.jar
    04/16/2003 07:24 PM 108,484 xml-apis.jar
    41 File(s) 7,777,410 bytes
    2 Dir(s) 8,601,112,576 bytes free

    c:\Java\ant\lib>

    Now I get a message saying “XDoclet classpath is missing J2EE classes”. In particular it is complaining about javax.ejb.EntityBean.

    This is strange because the xdoclet-build.xml file puts jboss-j2ee.jar explicitly in the classpath.

    How should I configure ant to run XDoclet outside of Eclipse? What XDoclet version should I use.

    Cheers
    Erik

    OS: Windows XP Home
    App server : JBoss 3.2.1
    JDK: 1.4.2 for app server and eclipse
    Eclipse: 2.1.1 clean install with myeclipseworkbench as only plugin.

    The example I am running works completely on JBoss 3.2.1 from within Eclipse. [/url]

    #197879 Reply

    Scott Anderson
    Participant

    Erik,

    How should I configure ant to run XDoclet outside of Eclipse? What XDoclet version should I use.

    Sorry, but running XDoclet outside of MyEclipse is outside our support area. Perhaps others can help out.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Running XDoclet outside of Eclipse with ant…

You must be logged in to post in the forum log in