make/netbeans/langtools/build.xml

Print this page
rev 1205 : 7150579: build-infra merge: Remove dependency on ant.
Summary: For the build tools, move ant specific code into a separate
package, anttasks. This makes it easy to avoid the ant dependency
when building using make.
Reviewed-by: ???
Contributed-by: fredrik.ohrstrom@oracle.com

@@ -259,20 +259,21 @@
         </macrodef>
     </target>
 
     <target name="-def-select-tool">
         <mkdir dir="${build.toolclasses.dir}"/>
-        <javac srcdir="${make.tools.dir}/SelectTool"
+        <javac srcdir="${make.tools.dir}"
+               includes="anttasks/SelectTool*"
                destdir="${build.toolclasses.dir}/"
                classpath="${ant.core.lib}"
                includeantruntime="false"
                debug="${javac.debug}"
                debuglevel="${javac.debuglevel}">
                    <compilerarg line="-Xlint"/>
         </javac>
         <taskdef name="select-tool"
-                 classname="SelectToolTask"
+                 classname="anttasks.SelectToolTask"
                  classpath="${build.toolclasses.dir}/"/>
     </target>
 
     <target name="select-tool" depends="-def-select-tool">
         <select-tool propertyfile="${langtools.properties}"/>