200 lines
10 KiB
XML
200 lines
10 KiB
XML
|
<?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
|
||
|
- compilation
|
||
|
- dist
|
||
|
- execution
|
||
|
- debugging
|
||
|
- javadoc
|
||
|
- cleanup
|
||
|
|
||
|
|
||
|
-->
|
||
|
<project name="-impl" default="build" basedir="..">
|
||
|
<target name="default" depends="dist" 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">
|
||
|
<!-- The two properties below are usually overridden -->
|
||
|
<!-- by the active platform. Just a fallback. -->
|
||
|
<property name="default.javac.source" value="1.4"/>
|
||
|
<property name="default.javac.target" value="1.4"/>
|
||
|
</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="build.generated.dir">Must set build.generated.dir</fail>
|
||
|
<fail unless="dist.dir">Must set dist.dir</fail>
|
||
|
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
|
||
|
<fail unless="dist.jar">Must set dist.jar</fail>
|
||
|
</target>
|
||
|
<target name="init-taskdefs" if="from.commandline">
|
||
|
<path id="ant.task.classpath.models">
|
||
|
<pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-iep-editor.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-iep-project.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../soa2/ant/nblib/org-netbeans-modules-iep-project.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-validation01.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-ui01.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-search01.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/lib/org-openide-util.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/core/org-openide-filesystems.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-openide-loaders.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-openide-dialogs.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-openide-loaders.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-openide-nodes.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-openide-text.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-netbeans-modules-masterfs.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../platform8/modules/org-netbeans-modules-queries.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/ext/resolver-1.2.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-apache-xml-resolver.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-project-ant.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-projectapi.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-xam.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-schema-model.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-wsdl-model.jar"/>
|
||
|
<pathelement location="${netbeans.home}/../ide9/modules/org-netbeans-modules-xml-retriever.jar"/>
|
||
|
</path>
|
||
|
<taskdef name="iep-generate-asa-artifacts" classname="org.netbeans.modules.iep.project.anttasks.cli.GenerateAsaArtifacts">
|
||
|
<classpath refid="ant.task.classpath.models"/>
|
||
|
</taskdef>
|
||
|
</target>
|
||
|
<target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/>
|
||
|
<!--
|
||
|
===================
|
||
|
COMPILATION SECTION
|
||
|
===================
|
||
|
-->
|
||
|
<target name="deps-jar" depends="init" unless="${no.dependencies}"/>
|
||
|
<target name="pre-pre-compile" depends="init,deps-jar">
|
||
|
<mkdir dir="${build.classes.dir}"/>
|
||
|
</target>
|
||
|
<target name="pre-compile">
|
||
|
<!-- Empty placeholder for easier customization. -->
|
||
|
<!-- You can override this target in the ../build.xml file. -->
|
||
|
</target>
|
||
|
<target name="library-inclusion-in-archive" depends="compile"/>
|
||
|
<target name="library-inclusion-in-manifest" depends="compile">
|
||
|
<manifest file="${build.classes.dir}/META-INF/MANIFEST.MF" mode="update">
|
||
|
<attribute name="Class-Path" value=""/>
|
||
|
</manifest>
|
||
|
</target>
|
||
|
<target name="do-compile" depends="init,deps-jar,pre-pre-compile,pre-compile"/>
|
||
|
<target name="post-compile">
|
||
|
<!-- Empty placeholder for easier customization. -->
|
||
|
<!-- You can override this target in the ../build.xml file. -->
|
||
|
</target>
|
||
|
<target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile" description="Compile project."/>
|
||
|
<target name="pre-compile-single">
|
||
|
<!-- Empty placeholder for easier customization. -->
|
||
|
<!-- You can override this target in the ../build.xml file. -->
|
||
|
</target>
|
||
|
<target name="do-compile-single" depends="init,deps-jar,pre-pre-compile">
|
||
|
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
|
||
|
<ejbproject:javac xmlns:ejbproject="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
|
||
|
<customize>
|
||
|
<include name="${javac.includes}"/>
|
||
|
</customize>
|
||
|
</ejbproject:javac>
|
||
|
</target>
|
||
|
<target name="post-compile-single">
|
||
|
<!-- Empty placeholder for easier customization. -->
|
||
|
<!-- You can override this target in the ../build.xml file. -->
|
||
|
</target>
|
||
|
<target name="compile-single" depends="init,deps-jar,pre-pre-compile,pre-compile-single,do-compile-single,post-compile-single"/>
|
||
|
<!--
|
||
|
====================
|
||
|
DIST BUILDING SECTION
|
||
|
====================
|
||
|
-->
|
||
|
<target name="pre-dist">
|
||
|
<!-- Empty placeholder for easier customization. -->
|
||
|
<!-- You can override this target in the ../build.xml file. -->
|
||
|
<mkdir dir="${build.dir}"/>
|
||
|
<mkdir dir="${build.dir}/META-INF"/>
|
||
|
<iep-generate-asa-artifacts srcDirectoryLocation="${basedir}/${src.dir}" buildDirectoryLocation="${basedir}/${build.dir}" jbiDescriptorFileLocation="${basedir}/${build.dir}/META-INF/jbi.xml" classpathRef="ant.task.classpath.models" validate="true" allowBuildWithError="${allow.build.with.error}"/>
|
||
|
</target>
|
||
|
<target name="dist_se" depends="init,pre-dist">
|
||
|
<jar compress="${jar.compress}" jarfile="${build.dir}/SEDeployment.jar">
|
||
|
<fileset includes="**/*.iep,**/*.wsdl,**/*.xsd" dir="${src.dir}"/>
|
||
|
<fileset includes="**/*.wsdl,**/*.xsd" dir="${build.dir}"/>
|
||
|
<fileset dir="${build.dir}">
|
||
|
<include name="META-INF/jbi.xml"/>
|
||
|
</fileset>
|
||
|
</jar>
|
||
|
</target>
|
||
|
<target name="do-dist" depends="init,pre-dist, dist_se"/>
|
||
|
<target name="post-dist">
|
||
|
<!-- Empty placeholder for easier customization. -->
|
||
|
<!-- You can override this target in the ../build.xml file. -->
|
||
|
</target>
|
||
|
<target name="dist" depends="init,pre-dist,do-dist,post-dist" description="Build distribution (JAR)."/>
|
||
|
<!--
|
||
|
=================
|
||
|
DEBUGGING SECTION
|
||
|
=================
|
||
|
-->
|
||
|
<target name="debug" description="Debug project in IDE." depends="init,compile" if="netbeans.home">
|
||
|
<nbdeploy debugmode="true" clientUrlPart="${client.urlPart}"/>
|
||
|
<nbjpdaconnect name="${name}" host="${jpda.host}" address="${jpda.address}" transport="${jpda.transport}">
|
||
|
<classpath>
|
||
|
<path path="${debug.classpath}"/>
|
||
|
</classpath>
|
||
|
<sourcepath>
|
||
|
<path path="${web.docbase.dir}"/>
|
||
|
</sourcepath>
|
||
|
</nbjpdaconnect>
|
||
|
</target>
|
||
|
<target name="pre-debug-fix" depends="init">
|
||
|
<fail unless="fix.includes">Must set fix.includes</fail>
|
||
|
<property name="javac.includes" value="${fix.includes}.java"/>
|
||
|
</target>
|
||
|
<target name="do-debug-fix" if="netbeans.home" depends="init,pre-debug-fix,compile-single">
|
||
|
<j2seproject:nbjpdareload xmlns:j2seproject="http://www.netbeans.org/ns/j2se-project/1"/>
|
||
|
</target>
|
||
|
<target name="debug-fix" if="netbeans.home" depends="init,pre-debug-fix,do-debug-fix"/>
|
||
|
<!--
|
||
|
===============
|
||
|
CLEANUP SECTION
|
||
|
===============
|
||
|
-->
|
||
|
<target name="deps-clean" depends="init" unless="${no.dependencies}"/>
|
||
|
<target name="do-clean" depends="init">
|
||
|
<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,deps-clean,do-clean,post-clean" description="Clean build products."/>
|
||
|
</project>
|