</condition>
</fail>
<target depends="dist,javadoc" description="Build whole project." name="default"/>
- <!--
- INITIALIZATION SECTION
+ <!--
+ INITIALIZATION SECTION
-->
<target name="-pre-init">
<!-- Empty placeholder for easier customization. -->
<property file="nbproject/private/private.properties"/>
</target>
<target name="-pre-init-libraries">
- <property location="lib/nblibraries.properties" name="libraries.path"/>
+ <property location="./lib/nblibraries.properties" name="libraries.path"/>
<dirname file="${libraries.path}" property="libraries.dir.nativedirsep"/>
<pathconvert dirsep="/" property="libraries.dir">
<path path="${libraries.dir.nativedirsep}"/>
<target name="-init-taskdefs">
<fail unless="libs.CopyLibs.classpath">
The libs.CopyLibs.classpath property is not set up.
-This property must point to
+This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
-of NetBeans IDE installation and is usually located at
+of NetBeans IDE installation and is usually located at
<netbeans_installation>/java<version>/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
<ant antfile="${project.pizzaservice-mailer}/build.xml" inheritall="false" target="jar">
<property name="deploy.on.save" value="false"/>
</ant>
+ <ant antfile="${project.juser-core}/build.xml" 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="${project.pizzaservice-mailer}/build.xml" inheritall="false" target="jar">
<property name="deploy.on.save" value="false"/>
</ant>
+ <ant antfile="${project.juser-core}/build.xml" inheritall="false" target="jar">
+ <property name="deploy.on.save" value="false"/>
+ </ant>
</target>
<target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
<target depends="init,deps-jar" name="-pre-pre-compile">
<target depends="compile,-library-inclusion-in-archive-weblogic,-library-inclusion-in-archive-by-user" name="library-inclusion-in-archive"/>
<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="${file.reference.jcountry-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jcountry-lib.jar}" todir="${build.classes.dir}"/>
- <copyfiles files="${file.reference.jcore-logger-lib.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jphone-core.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jphone-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jcontacts-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jcontacts-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.juser-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.juser-lib.jar}" todir="${build.classes.dir}"/>
- <copyfiles files="${file.reference.jcustomer-core.jar}" todir="${build.classes.dir}"/>
- <copyfiles files="${file.reference.jcustomer-lib.jar}" todir="${build.classes.dir}"/>
- <copyfiles files="${file.reference.jphone-core.jar}" todir="${build.classes.dir}"/>
- <copyfiles files="${file.reference.jphone-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="${file.reference.juser-activity-core.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.juser-activity-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jmailer-ee.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.pizzaservice-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${reference.pizzaservice-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${reference.pizzaservice-mailer.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="${file.reference.jcountry-core.jar}" property="manifest.file.reference.jcountry-core.jar"/>
<basename file="${file.reference.jcountry-lib.jar}" property="manifest.file.reference.jcountry-lib.jar"/>
- <basename file="${file.reference.jcore-logger-lib.jar}" property="manifest.file.reference.jcore-logger-lib.jar"/>
+ <basename file="${file.reference.jphone-core.jar}" property="manifest.file.reference.jphone-core.jar"/>
+ <basename file="${file.reference.jphone-lib.jar}" property="manifest.file.reference.jphone-lib.jar"/>
<basename file="${file.reference.jcontacts-core.jar}" property="manifest.file.reference.jcontacts-core.jar"/>
<basename file="${file.reference.jcontacts-lib.jar}" property="manifest.file.reference.jcontacts-lib.jar"/>
<basename file="${file.reference.juser-core.jar}" property="manifest.file.reference.juser-core.jar"/>
<basename file="${file.reference.juser-lib.jar}" property="manifest.file.reference.juser-lib.jar"/>
- <basename file="${file.reference.jcustomer-core.jar}" property="manifest.file.reference.jcustomer-core.jar"/>
- <basename file="${file.reference.jcustomer-lib.jar}" property="manifest.file.reference.jcustomer-lib.jar"/>
- <basename file="${file.reference.jphone-core.jar}" property="manifest.file.reference.jphone-core.jar"/>
- <basename file="${file.reference.jphone-lib.jar}" property="manifest.file.reference.jphone-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="${file.reference.juser-activity-core.jar}" property="manifest.file.reference.juser-activity-core.jar"/>
+ <basename file="${file.reference.juser-activity-lib.jar}" property="manifest.file.reference.juser-activity-lib.jar"/>
<basename file="${file.reference.jmailer-ee.jar}" property="manifest.file.reference.jmailer-ee.jar"/>
<basename file="${file.reference.pizzaservice-core.jar}" property="manifest.file.reference.pizzaservice-core.jar"/>
<basename file="${reference.pizzaservice-lib.jar}" property="manifest.reference.pizzaservice-lib.jar"/>
<basename file="${reference.pizzaservice-mailer.jar}" property="manifest.reference.pizzaservice-mailer.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 jar-7 jar-8 jar-9 jar-10 jar-11 jar-12 jar-13 jar-14 jar-15 jar-16 jar-17 jar-18 "/>
+ <attribute name="Extension-List" value="jar-1 jar-2 jar-3 jar-4 jar-5 jar-6 jar-7 jar-8 jar-9 jar-10 jar-11 jar-12 jar-13 jar-14 jar-15 jar-16 jar-17 "/>
<attribute name="jar-1-Extension-Name" value="${manifest.file.reference.jcoreee.jar}"/>
- <attribute name="jar-2-Extension-Name" value="${manifest.file.reference.jcountry-core.jar}"/>
- <attribute name="jar-3-Extension-Name" value="${manifest.file.reference.jcountry-lib.jar}"/>
- <attribute name="jar-4-Extension-Name" value="${manifest.file.reference.jcore-logger-lib.jar}"/>
- <attribute name="jar-5-Extension-Name" value="${manifest.file.reference.jcontacts-core.jar}"/>
- <attribute name="jar-6-Extension-Name" value="${manifest.file.reference.jcontacts-lib.jar}"/>
- <attribute name="jar-7-Extension-Name" value="${manifest.file.reference.juser-core.jar}"/>
- <attribute name="jar-8-Extension-Name" value="${manifest.file.reference.juser-lib.jar}"/>
- <attribute name="jar-9-Extension-Name" value="${manifest.file.reference.jcustomer-core.jar}"/>
- <attribute name="jar-10-Extension-Name" value="${manifest.file.reference.jcustomer-lib.jar}"/>
- <attribute name="jar-11-Extension-Name" value="${manifest.file.reference.jphone-core.jar}"/>
- <attribute name="jar-12-Extension-Name" value="${manifest.file.reference.jphone-lib.jar}"/>
- <attribute name="jar-13-Extension-Name" value="${manifest.file.reference.jshop-core.jar}"/>
- <attribute name="jar-14-Extension-Name" value="${manifest.file.reference.jshop-ee-lib.jar}"/>
- <attribute name="jar-15-Extension-Name" value="${manifest.file.reference.jmailer-ee.jar}"/>
- <attribute name="jar-16-Extension-Name" value="${manifest.file.reference.pizzaservice-core.jar}"/>
- <attribute name="jar-17-Extension-Name" value="${manifest.reference.pizzaservice-lib.jar}"/>
- <attribute name="jar-18-Extension-Name" value="${manifest.reference.pizzaservice-mailer.jar}"/>
+ <attribute name="jar-2-Extension-Name" value="${manifest.file.reference.jcore-logger-lib.jar}"/>
+ <attribute name="jar-3-Extension-Name" value="${manifest.file.reference.jcountry-core.jar}"/>
+ <attribute name="jar-4-Extension-Name" value="${manifest.file.reference.jcountry-lib.jar}"/>
+ <attribute name="jar-5-Extension-Name" value="${manifest.file.reference.jphone-core.jar}"/>
+ <attribute name="jar-6-Extension-Name" value="${manifest.file.reference.jphone-lib.jar}"/>
+ <attribute name="jar-7-Extension-Name" value="${manifest.file.reference.jcontacts-core.jar}"/>
+ <attribute name="jar-8-Extension-Name" value="${manifest.file.reference.jcontacts-lib.jar}"/>
+ <attribute name="jar-9-Extension-Name" value="${manifest.file.reference.juser-core.jar}"/>
+ <attribute name="jar-10-Extension-Name" value="${manifest.file.reference.juser-lib.jar}"/>
+ <attribute name="jar-11-Extension-Name" value="${manifest.file.reference.juser-activity-core.jar}"/>
+ <attribute name="jar-12-Extension-Name" value="${manifest.file.reference.juser-activity-lib.jar}"/>
+ <attribute name="jar-13-Extension-Name" value="${manifest.file.reference.jmailer-ee.jar}"/>
+ <attribute name="jar-14-Extension-Name" value="${manifest.file.reference.pizzaservice-core.jar}"/>
+ <attribute name="jar-15-Extension-Name" value="${manifest.reference.pizzaservice-lib.jar}"/>
+ <attribute name="jar-16-Extension-Name" value="${manifest.reference.pizzaservice-mailer.jar}"/>
+ <attribute name="jar-17-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="${file.reference.jcountry-core.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcountry-lib.jar}" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jcore-logger-lib.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jphone-core.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jphone-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcontacts-core.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcontacts-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.juser-core.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.juser-lib.jar}" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jcustomer-core.jar}" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jcustomer-lib.jar}" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jphone-core.jar}" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jphone-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="${file.reference.juser-activity-core.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.juser-activity-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jmailer-ee.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.pizzaservice-core.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${reference.pizzaservice-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${reference.pizzaservice-mailer.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>
<target name="-copy-meta-inf">
<target depends="init" name="deps-clean" unless="no.deps">
<ant antfile="${project.pizzaservice-lib}/build.xml" inheritall="false" target="clean"/>
<ant antfile="${project.pizzaservice-mailer}/build.xml" inheritall="false" target="clean"/>
+ <ant antfile="${project.juser-core}/build.xml" inheritall="false" target="clean"/>
</target>
<target depends="init" name="-do-clean">
<delete dir="${build.dir}"/>
<name>pizzaservice-ejb</name>
<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">file.reference.jcountry-core.jar</included-library>
<included-library dirs="200">file.reference.jcountry-lib.jar</included-library>
- <included-library dirs="200">file.reference.jcore-logger-lib.jar</included-library>
+ <included-library dirs="200">file.reference.jphone-core.jar</included-library>
+ <included-library dirs="200">file.reference.jphone-lib.jar</included-library>
<included-library dirs="200">file.reference.jcontacts-core.jar</included-library>
<included-library dirs="200">file.reference.jcontacts-lib.jar</included-library>
<included-library dirs="200">file.reference.juser-core.jar</included-library>
<included-library dirs="200">file.reference.juser-lib.jar</included-library>
- <included-library dirs="200">file.reference.jcustomer-core.jar</included-library>
- <included-library dirs="200">file.reference.jcustomer-lib.jar</included-library>
- <included-library dirs="200">file.reference.jphone-core.jar</included-library>
- <included-library dirs="200">file.reference.jphone-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">file.reference.juser-activity-core.jar</included-library>
+ <included-library dirs="200">file.reference.juser-activity-lib.jar</included-library>
<included-library dirs="200">file.reference.jmailer-ee.jar</included-library>
<included-library dirs="200">file.reference.pizzaservice-core.jar</included-library>
<included-library dirs="200">reference.pizzaservice-lib.jar</included-library>
<included-library dirs="200">reference.pizzaservice-mailer.jar</included-library>
+ <included-library dirs="200">file.reference.cdi-api.jar</included-library>
<source-roots>
<root id="src.dir"/>
</source-roots>
</test-roots>
</data>
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
- <definitions>lib/nblibraries.properties</definitions>
+ <definitions>./lib/nblibraries.properties</definitions>
</libraries>
- <references xmlns="http://www.netbeans.org/ns/ant-project-references/2">
+ <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
<reference>
<foreign-project>pizzaservice-lib</foreign-project>
<artifact-type>jar</artifact-type>
- <script>${project.pizzaservice-lib}/build.xml</script>
+ <script>build.xml</script>
<target>jar</target>
<clean-target>clean</clean-target>
<id>jar</id>
<reference>
<foreign-project>pizzaservice-mailer</foreign-project>
<artifact-type>jar</artifact-type>
- <script>${project.pizzaservice-mailer}/build.xml</script>
+ <script>build.xml</script>
+ <target>jar</target>
+ <clean-target>clean</clean-target>
+ <id>jar</id>
+ </reference>
+ <reference>
+ <foreign-project>juser-core</foreign-project>
+ <artifact-type>jar</artifact-type>
+ <script>build.xml</script>
<target>jar</target>
<clean-target>clean</clean-target>
<id>jar</id>