File: build.xml

package info (click to toggle)
libnb-platform18-java 8.1%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 85,228 kB
  • ctags: 104,620
  • sloc: java: 705,506; xml: 124,894; ansic: 6,317; sh: 4,043; cpp: 2,492; objc: 288; perl: 277; makefile: 261
file content (57 lines) | stat: -rw-r--r-- 3,296 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project basedir="." name="libs.nbi.ant" default="netbeans">
    <description>Builds, tests, and runs the project org.netbeans.libs.nbi.ant</description>
    <import file="../nbbuild/templates/projectized.xml"/>

    <target name="build-nbi-ant-tasks" depends="init">
         <ant dir="${basedir}/../nbi/engine" target="jar" inheritAll="false">
            <property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/>
            <property name="no.dependencies" value="true"/>
            <property name="build.dir" location="${build.dir}/engine/build"/>
            <property name="dist.dir" location="${build.dir}/engine/dist"/>
         </ant>
         <ant dir="${basedir}/../nbi/infra/lib/registries-management" target="jar" inheritAll="false">
            <property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/>
            <property name="no.dependencies" value="true"/>
            <property name="reference.NBI_Engine.jar" location="${build.dir}/engine/dist/nbi-engine.jar"/>
            <property name="build.dir" location="${build.dir}/registries-management/build"/>
            <property name="dist.dir" location="${build.dir}/registries-management/dist"/>
         </ant>

         <ant dir="${basedir}/../nbi/infra/build/.ant-lib" target="jar" inheritAll="false">
            <property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/>
            <property name="no.dependencies" value="true"/>
            <property name="reference.NBI_Engine.jar" location="${build.dir}/engine/dist/nbi-engine.jar"/>
            <property name="reference.NBI_Library__Registries_Management.jar" location="${build.dir}/registries-management/dist/registries-management.jar"/>
            <property name="build.dir" location="${build.dir}/ant-lib/build"/>
            <property name="dist.dir" location="${build.dir}/ant-lib/dist"/>
         </ant>
    </target>

    <target name="jar" depends="init,build-nbi-ant-tasks,projectized-common.jar"/>


    <target name="netbeans-extra">
         <copy file="${build.dir}/ant-lib/dist/nbi-ant-tasks.jar" todir="${cluster}/modules/ext"/> 
         <copy file="${build.dir}/registries-management/dist/registries-management.jar" tofile="${cluster}/modules/ext/nbi-registries-management.jar"/> 
         <copy todir="${cluster}/nbi/.common">
             <fileset dir="${basedir}/../nbi/infra/build/.common">
                <exclude name=".templates/**"/>
             </fileset>
         </copy>
         <copy todir="${cluster}/nbi/stub">
             <fileset dir="${basedir}/stub">
                <exclude name="ext/engine/build/"/>
                <exclude name="ext/engine/dist/"/>
                <exclude name="ext/engine/nbproject/private/"/>
                <exclude name="ext/components/products/helloworld/build/"/>
                <exclude name="ext/components/products/helloworld/dist/"/>
                <exclude name="ext/components/products/helloworld/nbproject/private/"/>
             </fileset>
         </copy>
    </target>

</project>