After spending a whole day on this, we found he has a environment
variable classpath=...(I suppose it is not used anyway, but I'm sadly
wrong). We tried to unset that one and then everything immediately
works perfectly.

Cheers,

Cao

GC> One of our developers got problem with XDoclet. We can not figure out
GC> the reason. We tried to make the environment exactly the same. We have
GC> Ant 1.5.1 and JDK 1.4.1_01 (those are the only things required to
GC> compile/deploy our source I believe) (JAVA_HOME is set correctly). We
GC> all get a fresh copy from cvs. Everyone else can run the xdoclet,
GC> compile, deploy targets successfully. The poor guy however got error
GC> with xdoclet(see the attached file).

GC> We've the xdoclet 1.2beta2 (I pulled the source this morning and
GC> created the distribution). To get it running, I also added the
GC> required jar files commons-collections.jar, commons-collections.jar,
GC> commons-collections.jar . Those help XDoclet to work perfectly on
GC> others' machines.

GC> Although the xdoclet error doesn't fail the build process, those
GC> ejb interfaces, deployment descriptors are not created correctly.

GC> Please share your opinions. Thanks in advance.

GC> Cao


GC> ----------- ant version --------------------------------------------
GC> Apache Ant version 1.5.1 compiled on October 2 2002
GC> ----------- java version -------------------------------------------
GC> java version "1.4.1_01"
GC> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
GC> Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

GC> --------------------- extracted from build.xml ---------------------

GC>     <target name="xdoclet" depends="init">
GC>         <property name="merge.dir" value="xdoclet-merge"/>
GC>         <property name="output.src.dir" value="src-gen"/>
GC>         <property name="output.metainf.dir" value="META-INF"/>        

GC>         <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask">
GC>             <classpath>
GC>                 <fileset dir="${root.dir}/lib" includes="j2ee.jar"/>
GC>                 <fileset dir="${root.dir}/xdoclet" includes="**/*.jar"/>
GC>             </classpath>
GC>         </taskdef>

GC>         <delete dir="${output.src.dir}"/>
GC>         <mkdir dir="${output.src.dir}"/>
GC>         <delete dir="${output.metainf.dir}"/>
GC>         <mkdir dir="${output.metainf.dir}"/>

GC>         <ejbdoclet
GC>             destdir="${output.src.dir}"
GC>             mergedir="${merge.dir}"
GC>             excludedtags="@version,@author,@todo"
GC>             addedtags="@xdoclet-generated at ${TODAY},@copyright The XDoclet 
Team,@author XDoclet,@version ${version}"
GC>             ejbspec="2.0"
GC>             force="${xdoclet.force}"
GC>             verbose="false"
GC>             >

GC>             <fileset dir="${src.dir}">
GC>                 <include name="**/DNSManagerBean.java"/>
GC>             </fileset>

GC>             <remoteinterface/>
GC>             <homeinterface/>

GC>             <deploymentdescriptor
GC>                 destdir="${output.metainf.dir}"
GC>                 validatexml="true"
GC>                 MergeDir="${merge.dir}"
GC>             />

GC>             <jboss
GC>                 version="3.0"
GC>                 unauthenticatedPrincipal="nobody"
GC>                 xmlencoding="UTF-8"
GC>                 destdir="${output.metainf.dir}"
GC>                 validatexml="true"
GC>                 preferredrelationmapping="relation-table"
GC>                 MergeDir="${merge.dir}"
GC>             />

GC>         </ejbdoclet>

GC>     </target>

GC> ------------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to