openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r473947 - /incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml
Date Sun, 12 Nov 2006 12:05:41 GMT
Author: mprudhom
Date: Sun Nov 12 04:05:40 2006
New Revision: 473947

URL: http://svn.apache.org/viewvc?view=rev&rev=473947
Log:
Set failonerror in the build file so it fails when there is a problem running the example.

Modified:
    incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml

Modified: incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml?view=diff&rev=473947&r1=473946&r2=473947
==============================================================================
--- incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml (original)
+++ incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml Sun Nov 12 04:05:40 2006
@@ -59,7 +59,8 @@
     <target name="run" depends="compile"
         description="Run the example Main program">
 
-        <java classname="${example}.Main" classpathref="classpath" fork="yes">
+        <java classname="${example}.Main" classpathref="classpath" fork="yes"
+            failonerror="yes">
             <!--
                 Specifying the openjpa jar as the javaagent argument is
                 necessary in order for automatic class-enhancement to work.



Mime
View raw message