The xdoclet-build.xml file that ME generates in EJB projects should use properties instead of absolute paths, as these break from one machine to another.
Instead of having properts like
<pathelement location=”C:/j2sdk1.4.2_04/jre/lib/ext/sunjce_provider.jar”/>
<pathelement location=”d:/dev/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.7.2/data/libraryset/1.3/activation.jar”/>
<pathelement location=”d:/dev/workspace/ZetaEJB/lib/commons-collections-3.0.jar”/>
There should be the following:
<property name=”myeclipse.home” value=”d:/dev/MyEclipse”/>
<property name=”ZetaEJB.home” value=”d:/dev/workspace/ZetaEJB”/>
<pathelement location=”${myeclipse.home}/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.7.2/data/libraryset/1.3/activation.jar”/>
<pathelement location=”${ZetaEJB.home}/lib/commons-collections-3.0.jar”/>
I don’t believe we need to add the jdk to that since one developer might be using the Sun 1.4 jdk and another the IBM 1.4 jdk. However this would greatly allow the xdoclet-build.xml to be protable between developers, systems and be invoked exteranlly by ant without having to reduplicate the internals of it in an external ant file.