File: build-impl.xml

package info (click to toggle)
libnb-platform18-java 12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 729,624 kB
  • sloc: java: 5,058,967; xml: 574,432; php: 78,788; javascript: 29,039; ansic: 10,278; sh: 6,386; cpp: 4,612; jsp: 3,643; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (142 lines) | stat: -rw-r--r-- 8,715 bytes parent folder | download | duplicates (4)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="UTF-8"?>
<!--
    *** GENERATED FROM project.xml - DO NOT EDIT  ***
    ***         EDIT ../build.xml INSTEAD         ***
    
    For the purpose of easier reading the script
    is divided into following sections:
    
    - initialization
    - dist
    - cleanup
-->
<project name="BPELTestProject-impl" default="default" basedir="..">
    <target name="default" depends="dist_se" description="Build whole project."/>
    <!-- 
        ======================
        INITIALIZATION SECTION 
        ======================
    -->
    <target name="-pre-init">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file. -->
    </target>
    <target name="-init-private" depends="-pre-init">
        <property file="nbproject/private/private.properties"/>
    </target>
    <target name="-init-userdir" depends="-pre-init,-init-private">
        <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
    </target>
    <target name="-init-user" depends="-pre-init,-init-private,-init-userdir">
        <property file="${user.properties.file}"/>
    </target>
    <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user">
        <property file="nbproject/project.properties"/>
    </target>
    <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project">
        <available file="${src.dir}/../retrieved" property="retrieved.exists"/>
    </target>
    <target name="-post-init">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file. -->
    </target>
    <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init">
        <fail unless="src.dir">Must set src.dir</fail>
        <fail unless="build.dir">Must set build.dir</fail>
        <fail unless="dist.dir">Must set dist.dir</fail>
        <fail unless="dist.jar">Must set dist.jar</fail>
    </target>
    <target name="-init-taskdefs" if="from.commandline">
        <path id="ant.task.classpath">
            <pathelement location="${netbeans.home}/../ide11/modules/ext/resolver-1.2.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-apache-xml-resolver.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-netbeans-modules-project-ant.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-netbeans-modules-projectapi.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-netbeans-modules-xml-xam.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-netbeans-modules-xml-schema-model.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-netbeans-modules-xml-wsdl-model.jar"/>
            <pathelement location="${netbeans.home}/../ide11/modules/org-netbeans-modules-xml-retriever.jar"/>
            <pathelement location="${netbeans.home}/../platform10/core/org-openide-filesystems.jar"/>
            <pathelement location="${netbeans.home}/../platform10/lib/org-openide-util.jar"/>
            <pathelement location="${netbeans.home}/../platform10/modules/org-openide-dialogs.jar"/>
            <pathelement location="${netbeans.home}/../platform10/modules/org-openide-loaders.jar"/>
            <pathelement location="${netbeans.home}/../platform10/modules/org-openide-nodes.jar"/>
            <pathelement location="${netbeans.home}/../platform10/modules/org-openide-text.jar"/>
            <pathelement location="${netbeans.home}/../platform10/modules/org-netbeans-modules-masterfs.jar"/>
            <pathelement location="${netbeans.home}/../platform10/modules/org-netbeans-modules-queries.jar"/>
            <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/>
            <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/>
            <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/>
            <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/>
            <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/>
            <pathelement location="${netbeans.home}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/>
            <pathelement location="${netbeans.home}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/>
            <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-search.jar"/>
            <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/>
            <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/>
            <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/>
        </path>
        <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask">
            <classpath refid="ant.task.classpath"/>
        </taskdef>
        <taskdef name="generate-catalog-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateCatalogTask">
            <classpath refid="ant.task.classpath"/>
        </taskdef>
        <taskdef name="generate-jbi-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateJbiDescriptorTask">
            <classpath refid="ant.task.classpath"/>
        </taskdef>
    </target>
    <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/>
    <!--
        =====================
        DIST BUILDING SECTION
        =====================
    -->
    <target name="-pre-dist">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file. -->
    </target>
    <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}"/>
    <target name="-do-dist" depends="init,-pre-dist">
        <mkdir dir="${build.dir}"/>
        <!--validation-->
        <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}"/>
        <!-- copy all files from project source directory to build directory. -->
        <copy todir="${build.dir}" preservelastmodified="true">
            <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt" dir="${src.dir}"/>
        </copy>
        <generate-catalog-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/>
        <generate-jbi-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/>
        <jar compress="${jar.compress}" jarfile="${build.dir}/SEDeployment.jar">
            <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt" dir="${basedir}/${build.dir}"/>
            <fileset dir="${basedir}/${build.dir}">
                <include name="**/jbi.xml"/>
                <include name="**/catalog.xml"/>
            </fileset>
        </jar>
    </target>
    <target name="-post-dist">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file. -->
    </target>
    <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/>
    <!--
        ===============
        CLEANUP SECTION
        ===============
    -->
    <target name="-pre-clean">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file. -->
    </target>
    <target name="-deps-clean" depends="init" unless="${no.dependencies}"/>
    <target name="-do-clean" depends="init,-pre-clean">
        <delete dir="${build.dir}"/>
        <delete dir="${dist.dir}"/>
    </target>
    <target name="-post-clean">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file. -->
    </target>
    <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/>
</project>