facebook

Generated xdoclet-build.xml should use properties for paths

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206479 Reply

    binyan
    Member

    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.

    #206495 Reply

    Riyad Kalla
    Member

    Good suggestions, I’ll pass it along (I know I’ve been hit with this problem before).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Generated xdoclet-build.xml should use properties for paths

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