making build.xml independent of the environment, where it runs, by BLD200210290100
authorhkrug@netbeans.org
Thu, 24 Oct 2002 14:51:05 +0000
changeset 1102605f13d962e8
parent 1101 35064f1d54ea
child 1103 09b12542c9c3
making build.xml independent of the environment, where it runs, by
adding some properties (please: do not put any hardcoded ${nbroot}
references into pathelement's, but introduce new properties; new properties
can be overridden by other users !)
mdr/build.xml
     1.1 --- a/mdr/build.xml	Wed Oct 23 15:02:40 2002 +0000
     1.2 +++ b/mdr/build.xml	Thu Oct 24 14:51:05 2002 +0000
     1.3 @@ -29,6 +29,8 @@
     1.4    <!-- all external files and directories -->
     1.5    <property name="nbantext.jar" location="${nbext}/nbantext.jar"/>
     1.6    <property name="openide-13javac-workaround.jar" location="${nbroot}/openide/openide-13javac-workaround.jar"/>
     1.7 +  <property name="openide.jar" location="${nbroot}/openide/netbeans/lib/openide.jar"/>
     1.8 +  <property name="openide-deprecated.jar" location="${nbroot}/openide/deprecated/netbeans/modules/autoload/openide-deprecated.jar"/>  <!-- XXX remove this as soon as possible -->
     1.9    <property name="openidex.jar" location="${nbroot}/openidex/netbeans/modules/autoload/openidex.jar"/>
    1.10    <property name="naming.jar" location="${nbroot}/core/naming/netbeans/modules/autoload/naming.jar"/>
    1.11    <property name="looks.jar" location="${nbroot}/openidex/looks/netbeans/modules/autoload/looks.jar"/>
    1.12 @@ -76,8 +78,8 @@
    1.13             deprecation="${build.compiler.deprecation}">
    1.14        <classpath>
    1.15          <pathelement location="${openide-13javac-workaround.jar}"/>
    1.16 -        <pathelement location="${nbroot}/openide/netbeans/lib/openide.jar"/>
    1.17 -        <pathelement location="${nbroot}/openide/deprecated/netbeans/modules/autoload/openide-deprecated.jar"/> <!-- XXX -->
    1.18 +        <pathelement location="${openide.jar}"/>
    1.19 +        <pathelement location="${openide-deprecated.jar}"/> <!-- XXX -->
    1.20          <fileset dir="${xml-apis.jar.dir}">
    1.21              <include name="xml-apis*.jar"/>
    1.22          </fileset>
    1.23 @@ -457,8 +459,8 @@
    1.24        <sourcepath path="src"/>
    1.25        <classpath>
    1.26          <pathelement location="${openide-13javac-workaround.jar}"/>
    1.27 -        <pathelement location="${nbroot}/openide/netbeans/lib/openide.jar"/>
    1.28 -        <pathelement location="${nbroot}/openide/deprecated/netbeans/modules/autoload/openide-deprecated.jar"/> <!-- XXX -->
    1.29 +        <pathelement location="${openide.jar}"/>
    1.30 +        <pathelement location="${openide-deprecated.jar}"/> <!-- XXX -->
    1.31          <fileset dir="${xml-apis.jar.dir}">
    1.32              <include name="xml-apis*.jar"/>
    1.33          </fileset>