COMPILATION SECTION
-->
<target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps">
- <ant antfile="${project.PizzaService-lib}/build.xml" inheritall="false" target="jar">
+ <ant antfile="${build.script.reference.PizzaService-lib}" inheritall="false" target="jar">
<property name="deploy.on.save" value="false"/>
</ant>
</target>
<target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps">
- <ant antfile="${project.PizzaService-lib}/build.xml" inheritall="false" target="jar">
+ <ant antfile="${build.script.reference.PizzaService-lib}" inheritall="false" target="jar">
<property name="deploy.on.save" value="false"/>
</ant>
</target>
<target if="is.jars.in.ejbjar" name="-library-inclusion-in-archive-by-user">
<copyfiles files="${file.reference.jcoreee.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jcore-logger-lib.jar}" todir="${build.classes.dir}"/>
- <copyfiles files="${reference.PizzaService-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jshop-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jshop-ee-lib.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${reference.PizzaService-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.cdi-api.jar}" todir="${build.classes.dir}"/>
</target>
<target if="is.server.weblogic" name="-library-inclusion-in-archive-weblogic">
<basename file="${file.reference.jcoreee.jar}" property="manifest.file.reference.jcoreee.jar"/>
<basename file="${file.reference.jcore-logger-lib.jar}" property="manifest.file.reference.jcore-logger-lib.jar"/>
- <basename file="${reference.PizzaService-lib.jar}" property="manifest.reference.PizzaService-lib.jar"/>
<basename file="${file.reference.jshop-core.jar}" property="manifest.file.reference.jshop-core.jar"/>
<basename file="${file.reference.jshop-ee-lib.jar}" property="manifest.file.reference.jshop-ee-lib.jar"/>
+ <basename file="${reference.PizzaService-lib.jar}" property="manifest.reference.PizzaService-lib.jar"/>
<basename file="${file.reference.cdi-api.jar}" property="manifest.file.reference.cdi-api.jar"/>
<manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Extension-List" value="jar-1 jar-2 jar-3 jar-4 jar-5 jar-6 "/>
<attribute name="jar-1-Extension-Name" value="${manifest.file.reference.jcoreee.jar}"/>
<attribute name="jar-2-Extension-Name" value="${manifest.file.reference.jcore-logger-lib.jar}"/>
- <attribute name="jar-3-Extension-Name" value="${manifest.reference.PizzaService-lib.jar}"/>
- <attribute name="jar-4-Extension-Name" value="${manifest.file.reference.jshop-core.jar}"/>
- <attribute name="jar-5-Extension-Name" value="${manifest.file.reference.jshop-ee-lib.jar}"/>
+ <attribute name="jar-3-Extension-Name" value="${manifest.file.reference.jshop-core.jar}"/>
+ <attribute name="jar-4-Extension-Name" value="${manifest.file.reference.jshop-ee-lib.jar}"/>
+ <attribute name="jar-5-Extension-Name" value="${manifest.reference.PizzaService-lib.jar}"/>
<attribute name="jar-6-Extension-Name" value="${manifest.file.reference.cdi-api.jar}"/>
</manifest>
</target>
<target depends="compile" name="library-inclusion-in-manifest">
<copyfiles files="${file.reference.jcoreee.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcore-logger-lib.jar}" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${reference.PizzaService-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jshop-core.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jshop-ee-lib.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${reference.PizzaService-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.cdi-api.jar}" todir="${dist.ear.dir}/lib"/>
<manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
</target>
CLEANUP SECTION
-->
<target depends="init" name="deps-clean" unless="no.deps">
- <ant antfile="${project.PizzaService-lib}/build.xml" inheritall="false" target="clean"/>
+ <ant antfile="${build.script.reference.PizzaService-lib}" inheritall="false" target="clean"/>
</target>
<target depends="init" name="-do-clean">
<delete dir="${build.dir}"/>
build.ear.classes.dir=${build.dir}/classes
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
+build.script.reference.PizzaService-lib=../pizzaservice-lib/build.xml
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
debug.classpath=${javac.classpath}:${build.classes.dir}
javac.classpath=\
${file.reference.jcoreee.jar}:\
${file.reference.jcore-logger-lib.jar}:\
- ${reference.PizzaService-lib.jar}:\
${file.reference.jshop-core.jar}:\
${file.reference.jshop-ee-lib.jar}:\
+ ${reference.PizzaService-lib.jar}:\
${file.reference.cdi-api.jar}
javac.debug=true
javac.deprecation=true
platform.active=default_platform
project.license=gpl30
project.pizzaservice-lib=../../pizzaservice-lib
-project.PizzaService-lib=../../../public_html/pizzaservice-lib
+project.PizzaService-lib=../../PizzaService-lib
reference.PizzaService-lib.jar=${project.PizzaService-lib}/dist/PizzaService-lib.jar
resource.dir=setup
run.test.classpath=\
<minimum-ant-version>1.6.5</minimum-ant-version>
<included-library dirs="200">file.reference.jcoreee.jar</included-library>
<included-library dirs="200">file.reference.jcore-logger-lib.jar</included-library>
- <included-library dirs="200">reference.PizzaService-lib.jar</included-library>
<included-library dirs="200">file.reference.jshop-core.jar</included-library>
<included-library dirs="200">file.reference.jshop-ee-lib.jar</included-library>
+ <included-library dirs="200">reference.PizzaService-lib.jar</included-library>
<included-library dirs="200">file.reference.cdi-api.jar</included-library>
<source-roots>
<root id="src.dir"/>
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
<definitions>lib/nblibraries.properties</definitions>
</libraries>
- <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+ <references xmlns="http://www.netbeans.org/ns/ant-project-references/2">
<reference>
<foreign-project>PizzaService-lib</foreign-project>
<artifact-type>jar</artifact-type>
- <script>build.xml</script>
+ <script>${build.script.reference.PizzaService-lib}</script>
<target>jar</target>
<clean-target>clean</clean-target>
<id>jar</id>