[507] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 | *** GENERATED FROM project.xml - DO NOT EDIT ***
|
---|
| 4 | *** EDIT ../build.xml INSTEAD ***
|
---|
| 5 |
|
---|
| 6 | For the purpose of easier reading the script
|
---|
| 7 | is divided into following sections:
|
---|
| 8 |
|
---|
| 9 | - initialization
|
---|
| 10 | - dist
|
---|
| 11 | - cleanup
|
---|
| 12 | -->
|
---|
| 13 | <project name="GatewayPolicyEngineFacadeBPEL-impl" default="default" basedir="..">
|
---|
| 14 | <target name="default" depends="dist_se" description="Build whole project."/>
|
---|
| 15 | <!--
|
---|
| 16 | ======================
|
---|
| 17 | INITIALIZATION SECTION
|
---|
| 18 | ======================
|
---|
| 19 | -->
|
---|
| 20 | <target name="-pre-init">
|
---|
| 21 | <!-- Empty placeholder for easier customization. -->
|
---|
| 22 | <!-- You can override this target in the ../build.xml file. -->
|
---|
| 23 | </target>
|
---|
| 24 | <target name="-init-private" depends="-pre-init">
|
---|
| 25 | <property file="nbproject/private/private.properties"/>
|
---|
| 26 | </target>
|
---|
| 27 | <target name="-init-userdir" depends="-pre-init,-init-private">
|
---|
| 28 | <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
|
---|
| 29 | </target>
|
---|
| 30 | <target name="-init-user" depends="-pre-init,-init-private,-init-userdir">
|
---|
| 31 | <property file="${user.properties.file}"/>
|
---|
| 32 | </target>
|
---|
| 33 | <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user">
|
---|
| 34 | <property file="nbproject/project.properties"/>
|
---|
| 35 | </target>
|
---|
| 36 | <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project">
|
---|
| 37 | <available file="${src.dir}/../retrieved" property="retrieved.exists"/>
|
---|
| 38 | </target>
|
---|
| 39 | <target name="-post-init">
|
---|
| 40 | <!-- Empty placeholder for easier customization. -->
|
---|
| 41 | <!-- You can override this target in the ../build.xml file. -->
|
---|
| 42 | </target>
|
---|
| 43 | <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init">
|
---|
| 44 | <fail unless="src.dir">Must set src.dir</fail>
|
---|
| 45 | <fail unless="build.dir">Must set build.dir</fail>
|
---|
| 46 | <fail unless="dist.dir">Must set dist.dir</fail>
|
---|
| 47 | <fail unless="dist.jar">Must set dist.jar</fail>
|
---|
| 48 | </target>
|
---|
| 49 | <target name="-init-taskdefs" if="from.commandline">
|
---|
| 50 | <path id="ant.task.classpath">
|
---|
| 51 | <pathelement location="${netbeans.home}/../ide9/modules/ext/resolver-1.2.jar"/>
|
---|
| 52 | <pathelement location="${netbeans.home}/../ide9/modules/org-apache-xml-resolver.jar"/>
|
---|
| 53 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-project-ant.jar"/>
|
---|
| 54 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-project-libraries.jar"/>
|
---|
| 55 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-projectapi.jar"/>
|
---|
| 56 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-projectuiapi.jar"/>
|
---|
| 57 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-xam.jar"/>
|
---|
| 58 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-schema-model.jar"/>
|
---|
| 59 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-wsdl-model.jar"/>
|
---|
| 60 | <pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-retriever.jar"/>
|
---|
| 61 | <pathelement location="${netbeans.home}/../platform8/core/core.jar"/>
|
---|
| 62 | <pathelement location="${netbeans.home}/../platform8/core/org-openide-filesystems.jar"/>
|
---|
| 63 | <pathelement location="${netbeans.home}/../platform8/lib/boot.jar"/>
|
---|
| 64 | <pathelement location="${netbeans.home}/../platform8/lib/org-openide-modules.jar"/>
|
---|
| 65 | <pathelement location="${netbeans.home}/../platform8/lib/org-openide-util.jar"/>
|
---|
| 66 | <pathelement location="${netbeans.home}/../platform8/modules/org-openide-dialogs.jar"/>
|
---|
| 67 | <pathelement location="${netbeans.home}/../platform8/modules/org-openide-loaders.jar"/>
|
---|
| 68 | <pathelement location="${netbeans.home}/../platform8/modules/org-openide-nodes.jar"/>
|
---|
| 69 | <pathelement location="${netbeans.home}/../platform8/modules/org-openide-text.jar"/>
|
---|
| 70 | <pathelement location="${netbeans.home}/../platform8/modules/org-netbeans-modules-masterfs.jar"/>
|
---|
| 71 | <pathelement location="${netbeans.home}/../platform8/modules/org-netbeans-modules-queries.jar"/>
|
---|
| 72 | <pathelement location="${netbeans.home}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/>
|
---|
| 73 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/>
|
---|
| 74 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/>
|
---|
| 75 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/>
|
---|
| 76 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/>
|
---|
| 77 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-ui01.jar"/>
|
---|
| 78 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-validation01.jar"/>
|
---|
| 79 | <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/>
|
---|
| 80 | <pathelement location="${netbeans.home}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/>
|
---|
| 81 | <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/>
|
---|
| 82 | <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-search01.jar"/>
|
---|
| 83 | <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/>
|
---|
| 84 | <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/>
|
---|
| 85 | <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath-ext01.jar"/>
|
---|
| 86 | </path>
|
---|
| 87 | <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask">
|
---|
| 88 | <classpath refid="ant.task.classpath"/>
|
---|
| 89 | </taskdef>
|
---|
| 90 | <taskdef name="generate-catalog-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateCatalogTask">
|
---|
| 91 | <classpath refid="ant.task.classpath"/>
|
---|
| 92 | </taskdef>
|
---|
| 93 | <taskdef name="generate-jbi-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateJbiDescriptorTask">
|
---|
| 94 | <classpath refid="ant.task.classpath"/>
|
---|
| 95 | </taskdef>
|
---|
| 96 | </target>
|
---|
| 97 | <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/>
|
---|
| 98 | <!--
|
---|
| 99 | =====================
|
---|
| 100 | DIST BUILDING SECTION
|
---|
| 101 | =====================
|
---|
| 102 | -->
|
---|
| 103 | <target name="-pre-dist">
|
---|
| 104 | <!-- Empty placeholder for easier customization. -->
|
---|
| 105 | <!-- You can override this target in the ../build.xml file. -->
|
---|
| 106 | </target>
|
---|
| 107 | <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}">
|
---|
| 108 | <ant target="dist_se" inheritall="false" dir="${project.Interfaces}"/>
|
---|
| 109 | </target>
|
---|
| 110 | <target name="-do-dist" depends="init,-pre-dist">
|
---|
| 111 | <mkdir dir="${build.dir}"/>
|
---|
| 112 | <!--validation-->
|
---|
| 113 | <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}" validation="${validation}"/>
|
---|
| 114 | <!-- copy all files from project source directory to build directory. -->
|
---|
| 115 | <copy todir="${build.dir}" preservelastmodified="true">
|
---|
| 116 | <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/>
|
---|
| 117 | </copy>
|
---|
| 118 | <generate-catalog-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/>
|
---|
| 119 | <generate-jbi-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/>
|
---|
| 120 | <jar compress="${jar.compress}" jarfile="${build.dir}/SEDeployment.jar">
|
---|
| 121 | <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" excludes="SEDeployment.jar" dir="${basedir}/${build.dir}"/>
|
---|
| 122 | <fileset dir="${basedir}/${build.dir}">
|
---|
| 123 | <include name="**/jbi.xml"/>
|
---|
| 124 | <include name="**/catalog.xml"/>
|
---|
| 125 | </fileset>
|
---|
| 126 | </jar>
|
---|
| 127 | </target>
|
---|
| 128 | <target name="-post-dist">
|
---|
| 129 | <!-- Empty placeholder for easier customization. -->
|
---|
| 130 | <!-- You can override this target in the ../build.xml file. -->
|
---|
| 131 | </target>
|
---|
| 132 | <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/>
|
---|
| 133 | <!--
|
---|
| 134 | ===============
|
---|
| 135 | CLEANUP SECTION
|
---|
| 136 | ===============
|
---|
| 137 | -->
|
---|
| 138 | <target name="-pre-clean">
|
---|
| 139 | <!-- Empty placeholder for easier customization. -->
|
---|
| 140 | <!-- You can override this target in the ../build.xml file. -->
|
---|
| 141 | </target>
|
---|
| 142 | <target name="-deps-clean" depends="init" unless="${no.dependencies}">
|
---|
| 143 | <ant target="clean" inheritall="false" dir="${project.Interfaces}"/>
|
---|
| 144 | </target>
|
---|
| 145 | <target name="-do-clean" depends="init,-pre-clean">
|
---|
| 146 | <delete dir="${build.dir}"/>
|
---|
| 147 | <delete dir="${dist.dir}"/>
|
---|
| 148 | </target>
|
---|
| 149 | <target name="-post-clean">
|
---|
| 150 | <!-- Empty placeholder for easier customization. -->
|
---|
| 151 | <!-- You can override this target in the ../build.xml file. -->
|
---|
| 152 | </target>
|
---|
| 153 | <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/>
|
---|
| 154 | </project>
|
---|