Add failonerror=true to ant run command

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@907395 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
nash 2010-02-07 08:14:37 +00:00
commit de9d9e39a9
38 changed files with 43 additions and 38 deletions

View file

@ -35,7 +35,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterCORBAClient" fork="true"> <java classname="scatours.CurrencyConverterCORBAClient" fork="true" failonerror="true">
<classpath location="target/${ant.project.name}.jar"/> <classpath location="target/${ant.project.name}.jar"/>
</java> </java>
</target> </target>

View file

@ -27,7 +27,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterJMSClient" fork="true"> <java classname="scatours.CurrencyConverterJMSClient" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<!-- The following is used to bring in the ActiveMQ runtime. --> <!-- The following is used to bring in the ActiveMQ runtime. -->

View file

@ -27,7 +27,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterRMIClient" fork="true"> <java classname="scatours.CurrencyConverterRMIClient" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
</classpath> </classpath>

View file

@ -35,7 +35,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterWSClient" fork="true"> <java classname="scatours.CurrencyConverterWSClient" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
</classpath> </classpath>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.BlogFeedLauncher" fork="true"> <java classname="scatours.BlogFeedLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.BuildingBlocksLauncher" fork="true"> <java classname="scatours.BuildingBlocksLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -31,7 +31,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterCORBALauncher" fork="true"> <java classname="scatours.CurrencyConverterCORBALauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -31,7 +31,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterJMSLauncher" fork="true"> <java classname="scatours.CurrencyConverterJMSLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -31,7 +31,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterRMILauncher" fork="true"> <java classname="scatours.CurrencyConverterRMILauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -31,7 +31,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterWSLauncher" fork="true"> <java classname="scatours.CurrencyConverterWSLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.CurrencyConverterLauncher" fork="true"> <java classname="scatours.CurrencyConverterLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.DatabindingLauncher" fork="true"> <java classname="scatours.DatabindingLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.FeedLoggerLauncher" fork="true"> <java classname="scatours.FeedLoggerLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -26,7 +26,7 @@
only works with Tuscany SCA Java version 1.6 and above. --> only works with Tuscany SCA Java version 1.6 and above. -->
<target name="run"> <target name="run">
<java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher" <java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher"
dir="." fork="true"> dir="." fork="true" failonerror="true">
<classpath> <classpath>
<fileset dir="${env.TUSCANY_HOME}/modules"> <fileset dir="${env.TUSCANY_HOME}/modules">
<include name="tuscany-node-launcher-*.jar"/> <include name="tuscany-node-launcher-*.jar"/>

View file

@ -27,7 +27,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.FullAppNodesLauncher" fork="true"> <java classname="scatours.FullAppNodesLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/> <pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.FullAppLauncher" fork="true"> <java classname="scatours.FullAppLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.HelpPagesLauncher" fork="true"> <java classname="scatours.HelpPagesLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.InteractionLauncher" fork="true"> <java classname="scatours.InteractionLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -34,7 +34,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.IntroducingClientLauncher" fork="true"> <java classname="scatours.IntroducingClientLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/> <pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>

View file

@ -26,7 +26,7 @@
only works with Tuscany SCA Java version 1.6 and above. --> only works with Tuscany SCA Java version 1.6 and above. -->
<target name="run"> <target name="run">
<java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher" <java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher"
dir="." fork="true"> dir="." fork="true" failonerror="true">
<classpath> <classpath>
<fileset dir="${env.TUSCANY_HOME}/modules"> <fileset dir="${env.TUSCANY_HOME}/modules">
<include name="tuscany-node-launcher-*.jar"/> <include name="tuscany-node-launcher-*.jar"/>

View file

@ -21,7 +21,8 @@
<import file="../../antdefs.xml"/> <import file="../../antdefs.xml"/>
<target name="run"> <target name="run">
<java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher" fork="true"> <java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher"
fork="true" failonerror="true">
<arg value="http://localhost:9990/node-config/ToursNode"/> <arg value="http://localhost:9990/node-config/ToursNode"/>
<classpath> <classpath>
<fileset dir="${env.TUSCANY_HOME}/modules"> <fileset dir="${env.TUSCANY_HOME}/modules">

View file

@ -21,7 +21,8 @@
<import file="../../antdefs.xml"/> <import file="../../antdefs.xml"/>
<target name="run"> <target name="run">
<java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher" fork="true"> <java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher"
fork="true" failonerror="true">
<arg value="http://localhost:9990/node-config/TripsNode"/> <arg value="http://localhost:9990/node-config/TripsNode"/>
<classpath> <classpath>
<fileset dir="${env.TUSCANY_HOME}/modules"> <fileset dir="${env.TUSCANY_HOME}/modules">

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.IntroducingLauncher" fork="true"> <java classname="scatours.IntroducingLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.JumpstartLauncher" fork="true"> <java classname="scatours.JumpstartLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -30,7 +30,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.NotificationCORBALauncher" fork="true"> <java classname="scatours.NotificationCORBALauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -30,7 +30,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.NotificationEJBLauncher" fork="true"> <java classname="scatours.NotificationEJBLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -30,7 +30,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.NotificationJMSLauncher" fork="true"> <java classname="scatours.NotificationJMSLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -30,7 +30,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.NotificationRMILauncher" fork="true"> <java classname="scatours.NotificationRMILauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -30,7 +30,7 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.NotificationWSLauncher" fork="true"> <java classname="scatours.NotificationWSLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.payment.PaymentLauncher" fork="true"> <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.payment.PaymentLauncher" fork="true"> <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.payment.PaymentLauncher" fork="true"> <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.payment.PaymentLauncher" fork="true"> <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.payment.PaymentLauncher" fork="true"> <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -24,7 +24,7 @@
</path> </path>
<target name="run"> <target name="run">
<java classname="scatours.payment.PaymentLauncher" fork="true"> <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<path refid="compile-path"/> <path refid="compile-path"/>

View file

@ -29,7 +29,8 @@
</target> </target>
<target name="run"> <target name="run">
<java classname="scatours.smsgateway.SMSGatewayCORBAServiceBootstrap" fork="true"> <java classname="scatours.smsgateway.SMSGatewayCORBAServiceBootstrap"
fork="true" failonerror="true">
<classpath location="target/${ant.project.name}.jar"/> <classpath location="target/${ant.project.name}.jar"/>
</java> </java>
</target> </target>

View file

@ -24,7 +24,8 @@
SMS gateway service. This endpoint is used by the "run" target SMS gateway service. This endpoint is used by the "run" target
of the notification-ejb launcher. --> of the notification-ejb launcher. -->
<target name="run"> <target name="run">
<java classname="com.tuscanyscatours.smsgateway.SMSGatewayEJBServiceBootstrap" fork="true"> <java classname="com.tuscanyscatours.smsgateway.SMSGatewayEJBServiceBootstrap"
fork="true" failonerror="true">
<classpath> <classpath>
<pathelement location="target/${ant.project.name}.jar"/> <pathelement location="target/${ant.project.name}.jar"/>
<fileset dir="${env.OPENEJB_HOME}/lib"/> <fileset dir="${env.OPENEJB_HOME}/lib"/>

View file

@ -23,7 +23,8 @@
<!-- The "run" target starts an RMI server for the SMS gateway service. <!-- The "run" target starts an RMI server for the SMS gateway service.
This server is used by the "run" target of the notification-rmi launcher. --> This server is used by the "run" target of the notification-rmi launcher. -->
<target name="run"> <target name="run">
<java classname="com.tuscanyscatours.smsgateway.SMSGatewayRMIServiceBootstrap" fork="true"> <java classname="com.tuscanyscatours.smsgateway.SMSGatewayRMIServiceBootstrap"
fork="true" failonerror="true">
<classpath location="target/${ant.project.name}.jar"/> <classpath location="target/${ant.project.name}.jar"/>
</java> </java>
</target> </target>