<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
- <jvmarg line="${debug-args-line}"/>
- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${run.jvmargs.ide}"/>
- <jvmarg line="${debug-args-line}"/>
- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target name="-init-debug-args">
- <property name="version-output" value="java version "${ant.java.version}"/>
- <condition property="have-jdk-older-than-1.4">
- <or>
- <contains string="${version-output}" substring="java version "1.0"/>
- <contains string="${version-output}" substring="java version "1.1"/>
- <contains string="${version-output}" substring="java version "1.2"/>
- <contains string="${version-output}" substring="java version "1.3"/>
- </or>
- </condition>
- <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
- <istrue value="${have-jdk-older-than-1.4}"/>
- </condition>
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
<os family="windows"/>
</condition>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" fork="true">
- <jvmarg line="${debug-args-line}"/>
- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
<jvmarg line="${runmain.jvmargs}"/>
<classpath>
<path path="@{classpath}"/>
<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.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.jcontacts-business-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.juser-login-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.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.jproduct-core.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jproduct-lib.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jshop-core.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jshop-lib.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jshop-receipt-core.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${file.reference.jshop-receipt-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${file.reference.jmailer-ee.jar}" todir="${build.classes.dir}"/>
+ <copyfiles files="${libs.gnu-jpdf.classpath}" todir="${build.classes.dir}"/>
<copyfiles files="${reference.pizzaservice-core.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${reference.pizzaservice-lib.jar}" todir="${build.classes.dir}"/>
<copyfiles files="${reference.pizzaservice-mailer-lib.jar}" todir="${build.classes.dir}"/>
<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.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.jcontacts-business-core.jar}" property="manifest.file.reference.jcontacts-business-core.jar"/>
<basename file="${file.reference.juser-login-lib.jar}" property="manifest.file.reference.juser-login-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.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.jproduct-core.jar}" property="manifest.file.reference.jproduct-core.jar"/>
+ <basename file="${file.reference.jproduct-lib.jar}" property="manifest.file.reference.jproduct-lib.jar"/>
+ <basename file="${file.reference.jshop-core.jar}" property="manifest.file.reference.jshop-core.jar"/>
+ <basename file="${file.reference.jshop-lib.jar}" property="manifest.file.reference.jshop-lib.jar"/>
+ <basename file="${file.reference.jshop-receipt-core.jar}" property="manifest.file.reference.jshop-receipt-core.jar"/>
+ <basename file="${file.reference.jshop-receipt-lib.jar}" property="manifest.file.reference.jshop-receipt-lib.jar"/>
<basename file="${file.reference.jmailer-ee.jar}" property="manifest.file.reference.jmailer-ee.jar"/>
+ <basename file="${libs.gnu-jpdf.classpath}" property="manifest.libs.gnu-jpdf.classpath"/>
<basename file="${reference.pizzaservice-core.jar}" property="manifest.reference.pizzaservice-core.jar"/>
<basename file="${reference.pizzaservice-lib.jar}" property="manifest.reference.pizzaservice-lib.jar"/>
<basename file="${reference.pizzaservice-mailer-lib.jar}" property="manifest.reference.pizzaservice-mailer-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 jar-7 jar-8 jar-9 jar-10 jar-11 jar-12 jar-13 jar-14 jar-15 jar-16 jar-17 jar-18 jar-19 jar-20 jar-21 jar-22 jar-23 jar-24 "/>
+ <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 jar-19 jar-20 jar-21 jar-22 jar-23 jar-24 jar-25 jar-26 jar-27 jar-28 jar-29 jar-30 jar-31 jar-32 jar-33 "/>
<attribute name="jar-1-Extension-Name" value="${manifest.file.reference.jcore-logger-lib.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.jphone-core.jar}"/>
- <attribute name="jar-5-Extension-Name" value="${manifest.file.reference.jphone-lib.jar}"/>
- <attribute name="jar-6-Extension-Name" value="${manifest.file.reference.jcontacts-core.jar}"/>
- <attribute name="jar-7-Extension-Name" value="${manifest.file.reference.jcontacts-lib.jar}"/>
- <attribute name="jar-8-Extension-Name" value="${manifest.file.reference.jcontacts-business-core.jar}"/>
- <attribute name="jar-9-Extension-Name" value="${manifest.file.reference.jcontacts-business-lib.jar}"/>
- <attribute name="jar-10-Extension-Name" value="${manifest.file.reference.jproduct-core.jar}"/>
- <attribute name="jar-11-Extension-Name" value="${manifest.file.reference.jproduct-lib.jar}"/>
- <attribute name="jar-12-Extension-Name" value="${manifest.file.reference.jcustomer-core.jar}"/>
- <attribute name="jar-13-Extension-Name" value="${manifest.file.reference.jcustomer-lib.jar}"/>
- <attribute name="jar-14-Extension-Name" value="${manifest.file.reference.juser-core.jar}"/>
- <attribute name="jar-15-Extension-Name" value="${manifest.file.reference.juser-lib.jar}"/>
- <attribute name="jar-16-Extension-Name" value="${manifest.file.reference.juser-login-core.jar}"/>
- <attribute name="jar-17-Extension-Name" value="${manifest.file.reference.juser-login-lib.jar}"/>
- <attribute name="jar-18-Extension-Name" value="${manifest.file.reference.juser-activity-core.jar}"/>
- <attribute name="jar-19-Extension-Name" value="${manifest.file.reference.juser-activity-lib.jar}"/>
- <attribute name="jar-20-Extension-Name" value="${manifest.file.reference.jmailer-ee.jar}"/>
- <attribute name="jar-21-Extension-Name" value="${manifest.reference.pizzaservice-core.jar}"/>
- <attribute name="jar-22-Extension-Name" value="${manifest.reference.pizzaservice-lib.jar}"/>
- <attribute name="jar-23-Extension-Name" value="${manifest.reference.pizzaservice-mailer-lib.jar}"/>
- <attribute name="jar-24-Extension-Name" value="${manifest.file.reference.cdi-api.jar}"/>
+ <attribute name="jar-4-Extension-Name" value="${manifest.file.reference.jcontacts-core.jar}"/>
+ <attribute name="jar-5-Extension-Name" value="${manifest.file.reference.jcontacts-lib.jar}"/>
+ <attribute name="jar-6-Extension-Name" value="${manifest.file.reference.jcontacts-business-core.jar}"/>
+ <attribute name="jar-7-Extension-Name" value="${manifest.file.reference.jcontacts-business-lib.jar}"/>
+ <attribute name="jar-8-Extension-Name" value="${manifest.file.reference.jproduct-core.jar}"/>
+ <attribute name="jar-9-Extension-Name" value="${manifest.file.reference.jproduct-lib.jar}"/>
+ <attribute name="jar-10-Extension-Name" value="${manifest.file.reference.jcustomer-core.jar}"/>
+ <attribute name="jar-11-Extension-Name" value="${manifest.file.reference.jcustomer-lib.jar}"/>
+ <attribute name="jar-12-Extension-Name" value="${manifest.file.reference.juser-core.jar}"/>
+ <attribute name="jar-13-Extension-Name" value="${manifest.file.reference.juser-lib.jar}"/>
+ <attribute name="jar-14-Extension-Name" value="${manifest.file.reference.juser-login-core.jar}"/>
+ <attribute name="jar-15-Extension-Name" value="${manifest.file.reference.juser-login-lib.jar}"/>
+ <attribute name="jar-16-Extension-Name" value="${manifest.file.reference.juser-activity-core.jar}"/>
+ <attribute name="jar-17-Extension-Name" value="${manifest.file.reference.juser-activity-lib.jar}"/>
+ <attribute name="jar-18-Extension-Name" value="${manifest.file.reference.jcustomer-core.jar}"/>
+ <attribute name="jar-19-Extension-Name" value="${manifest.file.reference.jcustomer-lib.jar}"/>
+ <attribute name="jar-20-Extension-Name" value="${manifest.file.reference.jphone-core.jar}"/>
+ <attribute name="jar-21-Extension-Name" value="${manifest.file.reference.jphone-lib.jar}"/>
+ <attribute name="jar-22-Extension-Name" value="${manifest.file.reference.jproduct-core.jar}"/>
+ <attribute name="jar-23-Extension-Name" value="${manifest.file.reference.jproduct-lib.jar}"/>
+ <attribute name="jar-24-Extension-Name" value="${manifest.file.reference.jshop-core.jar}"/>
+ <attribute name="jar-25-Extension-Name" value="${manifest.file.reference.jshop-lib.jar}"/>
+ <attribute name="jar-26-Extension-Name" value="${manifest.file.reference.jshop-receipt-core.jar}"/>
+ <attribute name="jar-27-Extension-Name" value="${manifest.file.reference.jshop-receipt-lib.jar}"/>
+ <attribute name="jar-28-Extension-Name" value="${manifest.file.reference.jmailer-ee.jar}"/>
+ <attribute name="jar-29-Extension-Name" value="${manifest.libs.gnu-jpdf.classpath}"/>
+ <attribute name="jar-30-Extension-Name" value="${manifest.reference.pizzaservice-core.jar}"/>
+ <attribute name="jar-31-Extension-Name" value="${manifest.reference.pizzaservice-lib.jar}"/>
+ <attribute name="jar-32-Extension-Name" value="${manifest.reference.pizzaservice-mailer-lib.jar}"/>
+ <attribute name="jar-33-Extension-Name" value="${manifest.file.reference.cdi-api.jar}"/>
</manifest>
</target>
<target depends="compile" name="library-inclusion-in-manifest">
<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.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.jcontacts-business-core.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.juser-login-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.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.jproduct-core.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jproduct-lib.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jshop-core.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jshop-lib.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jshop-receipt-core.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jshop-receipt-lib.jar}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jmailer-ee.jar}" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${libs.gnu-jpdf.classpath}" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${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-lib.jar}" todir="${dist.ear.dir}/lib"/>
</target>
<target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
+ <target depends="debug-test-method" name="debug-single-method"/>
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
<ejbjarproject1:nbjpdareload dir="${build.test.classes.dir}"/>
</target>