ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2274] New: - failonerror does not work
Date Thu, 21 Jun 2001 18:19:33 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2274

*** shadow/2274	Thu Jun 21 11:19:33 2001
--- shadow/2274.tmp.11095	Thu Jun 21 11:19:33 2001
***************
*** 0 ****
--- 1,52 ----
+ +============================================================================+
+ | failonerror does not work                                                  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2274                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Blocker                  OS/Version: Other                   |
+ |     Priority: Other                     Component: Build Process           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: schuller@kjunction.com                                       |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I have two test files Test1.java and Test2.java.
+ 
+ Test1.java has a compile error. I would like to continue the build process of 
+ Test2.java.
+ 
+ According to the documentation this was fixed in 1.3.
+ 
+ 
+ build.xml
+ 
+ 
+ <project name="Release36" default="compile" basedir=".">
+ 
+   <!-- set global properties for this build -->
+   <property name="src" value="."/>
+   <property name="build" value="build"/>
+   <property name="dist"  value="dist"/>
+ 
+   <target name="init">
+     <!-- Create the time stamp -->
+     <tstamp/>
+     <!-- Create the build directory structure used by compile -->
+     <mkdir dir="${build}"/>
+   </target>
+ 
+   <target name="compile" depends="init">
+     <!-- Compile the java code from ${src} into ${build} -->
+     <javac  srcdir="${src}" destdir="${build}" failonerror="false" />
+   </target>
+ 
+   <target name="clean">
+     <!-- Delete the ${build} and ${dist} directory trees -->
+     <delete dir="${build}"/>
+     <delete dir="${dist}"/>
+   </target>
+ </project>
\ No newline at end of file

Mime
View raw message