1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/make/netbeans/nb-javac-modules/build.xml Fri Apr 20 16:02:37 2018 +0200
1.3 @@ -0,0 +1,27 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
1.6 +<!-- for some information on what you could do (e.g. targets to override). -->
1.7 +<!-- If you delete this file and reopen the project it will be recreated. -->
1.8 +<project name="nb-javac-modules" basedir=".">
1.9 + <description>Builds the module suite nb-javac-modules.</description>
1.10 + <import file="nbproject/build-impl.xml"/>
1.11 + <target name="strip-bundles" if="nbjavac.strip.bundles">
1.12 + <replaceregexp byline="true">
1.13 + <regexp pattern="^(# ([^0-9{]|[0-9]+[^:]).*)$"/>
1.14 + <substitution expression="#"/>
1.15 + <fileset dir="../nb-javac/build">
1.16 + <include name="**/*.properties*"/>
1.17 + </fileset>
1.18 + </replaceregexp>
1.19 + </target>
1.20 + <target name="-init" depends="suite.-init">
1.21 + <ant dir="../nb-javac" target="clean" inheritAll="false" inheritRefs="false" />
1.22 + <ant dir="../nb-javac" target="compile" inheritAll="false" inheritRefs="false" />
1.23 + <antcall target="strip-bundles"/>
1.24 + <ant dir="../nb-javac" target="jar" inheritAll="false" inheritRefs="false" />
1.25 + <mkdir dir="api/release/modules/ext/" />
1.26 + <copy file="../nb-javac/dist/javac-api.jar" tofile="api/release/modules/ext/nb-javac-api.jar" />
1.27 + <mkdir dir="impl/release/modules/ext/" />
1.28 + <copy file="../nb-javac/dist/javac-impl.jar" tofile="impl/release/modules/ext/nb-javac-impl.jar" />
1.29 + </target>
1.30 +</project>