src/Tools/jEdit/nbproject/build-impl.xml
changeset 34380 b74b5e0ff66a
parent 34320 883dc8fc3328
child 34381 a94d2fb96fd5
equal deleted inserted replaced
34379:c80f42933ac6 34380:b74b5e0ff66a
    43 property to the end of "netbeans_default_options" in NetBeansInstallationPath/etc/netbeans.conf to point to
    43 property to the end of "netbeans_default_options" in NetBeansInstallationPath/etc/netbeans.conf to point to
    44 Scala installation directory.
    44 Scala installation directory.
    45 </fail>
    45 </fail>
    46         <property name="scala.compiler" value="${scala.home}/lib/scala-compiler.jar"/>
    46         <property name="scala.compiler" value="${scala.home}/lib/scala-compiler.jar"/>
    47         <property name="scala.library" value="${scala.home}/lib/scala-library.jar"/>
    47         <property name="scala.library" value="${scala.home}/lib/scala-library.jar"/>
       
    48         <property name="scala.lib" value="${scala.home}/lib"/>
    48         <taskdef resource="scala/tools/ant/antlib.xml">
    49         <taskdef resource="scala/tools/ant/antlib.xml">
    49             <classpath>
    50             <classpath>
    50                 <pathelement location="${scala.compiler}"/>
    51                 <pathelement location="${scala.compiler}"/>
    51                 <pathelement location="${scala.library}"/>
    52                 <pathelement location="${scala.library}"/>
    52             </classpath>
    53             </classpath>
   212             <attribute default="${build.classes.dir}" name="destdir"/>
   213             <attribute default="${build.classes.dir}" name="destdir"/>
   213             <attribute default="${javac.classpath}" name="classpath"/>
   214             <attribute default="${javac.classpath}" name="classpath"/>
   214             <attribute default="${includes}" name="includes"/>
   215             <attribute default="${includes}" name="includes"/>
   215             <attribute default="${excludes}" name="excludes"/>
   216             <attribute default="${excludes}" name="excludes"/>
   216             <attribute default="jvm-${javac.debug}" name="debug"/>
   217             <attribute default="jvm-${javac.debug}" name="debug"/>
       
   218             <attribute default="${javac.compilerargs}" name="addparams"/>
   217             <attribute default="" name="sourcepath"/>
   219             <attribute default="" name="sourcepath"/>
   218             <element name="customize" optional="true"/>
   220             <element name="customize" optional="true"/>
   219             <sequential>
   221             <sequential>
   220                 <scalac destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includes="@{includes}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="jvm-${javac.target}">
   222                 <scalac addparams="@{addparams}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includes="@{includes}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="jvm-${javac.target}">
   221                     <classpath>
   223                     <classpath>
   222                         <path path="@{classpath}"/>
   224                         <path path="@{classpath}"/>
   223                         <pathelement location="${scala.library}"/>
   225                         <fileset dir="${scala.lib}">
       
   226                             <include name="**/*.jar"/>
       
   227                         </fileset>
   224                     </classpath>
   228                     </classpath>
   225                     <customize/>
   229                     <customize/>
   226                 </scalac>
   230                 </scalac>
   227             </sequential>
   231             </sequential>
   228         </macrodef>
   232         </macrodef>
   266                             <filename name="@{testincludes}"/>
   270                             <filename name="@{testincludes}"/>
   267                         </fileset>
   271                         </fileset>
   268                     </batchtest>
   272                     </batchtest>
   269                     <classpath>
   273                     <classpath>
   270                         <path path="${run.test.classpath}"/>
   274                         <path path="${run.test.classpath}"/>
   271                         <pathelement location="${scala.library}"/>
   275                         <fileset dir="${scala.lib}">
       
   276                             <include name="**/*.jar"/>
       
   277                         </fileset>
   272                     </classpath>
   278                     </classpath>
   273                     <syspropertyset>
   279                     <syspropertyset>
   274                         <propertyref prefix="test-sys-prop."/>
   280                         <propertyref prefix="test-sys-prop."/>
   275                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   281                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   276                     </syspropertyset>
   282                     </syspropertyset>
   327                     <jvmarg line="${debug-args-line}"/>
   333                     <jvmarg line="${debug-args-line}"/>
   328                     <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
   334                     <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
   329                     <jvmarg line="${run.jvmargs}"/>
   335                     <jvmarg line="${run.jvmargs}"/>
   330                     <classpath>
   336                     <classpath>
   331                         <path path="@{classpath}"/>
   337                         <path path="@{classpath}"/>
   332                         <pathelement location="${scala.library}"/>
   338                         <fileset dir="${scala.lib}">
       
   339                             <include name="**/*.jar"/>
       
   340                         </fileset>
   333                     </classpath>
   341                     </classpath>
   334                     <syspropertyset>
   342                     <syspropertyset>
   335                         <propertyref prefix="run-sys-prop."/>
   343                         <propertyref prefix="run-sys-prop."/>
   336                         <mapper from="run-sys-prop.*" to="*" type="glob"/>
   344                         <mapper from="run-sys-prop.*" to="*" type="glob"/>
   337                     </syspropertyset>
   345                     </syspropertyset>
   347             <sequential>
   355             <sequential>
   348                 <java classname="@{classname}" dir="${work.dir}" fork="true">
   356                 <java classname="@{classname}" dir="${work.dir}" fork="true">
   349                     <jvmarg line="${run.jvmargs}"/>
   357                     <jvmarg line="${run.jvmargs}"/>
   350                     <classpath>
   358                     <classpath>
   351                         <path path="${run.classpath}"/>
   359                         <path path="${run.classpath}"/>
   352                         <pathelement location="${scala.library}"/>
   360                         <fileset dir="${scala.lib}">
       
   361                             <include name="**/*.jar"/>
       
   362                         </fileset>
   353                     </classpath>
   363                     </classpath>
   354                     <syspropertyset>
   364                     <syspropertyset>
   355                         <propertyref prefix="run-sys-prop."/>
   365                         <propertyref prefix="run-sys-prop."/>
   356                         <mapper from="run-sys-prop.*" to="*" type="glob"/>
   366                         <mapper from="run-sys-prop.*" to="*" type="glob"/>
   357                     </syspropertyset>
   367                     </syspropertyset>