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