1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- You may freely edit this file. See harness/README in the NetBeans platform -->
3 <!-- for some information on what you could do (e.g. targets to override). -->
4 <!-- If you delete this file and reopen the project it will be recreated. -->
5 <project name="nb-javac-modules" basedir=".">
6 <description>Builds the module suite nb-javac-modules.</description>
7 <import file="nbproject/build-impl.xml"/>
8 <target name="strip-bundles" if="nbjavac.strip.bundles">
9 <replaceregexp byline="true">
10 <regexp pattern="^(# ([^0-9{]|[0-9]+[^:]).*)$"/>
11 <substitution expression="#"/>
12 <fileset dir="../nb-javac/build">
13 <include name="**/*.properties*"/>
17 <target name="-init" depends="suite.-init">
18 <ant dir="../nb-javac" target="clean" inheritAll="false" inheritRefs="false" />
19 <ant dir="../nb-javac" target="compile" inheritAll="false" inheritRefs="false" />
20 <antcall target="strip-bundles"/>
21 <ant dir="../nb-javac" target="jar" inheritAll="false" inheritRefs="false" />
22 <mkdir dir="api/release/modules/ext/" />
23 <copy file="../nb-javac/dist/javac-api.jar" tofile="api/release/modules/ext/nb-javac-api.jar" />
24 <mkdir dir="impl/release/modules/ext/" />
25 <copy file="../nb-javac/dist/javac-impl.jar" tofile="impl/release/modules/ext/nb-javac-impl.jar" />