Source

xwork / osbuild.xml

Diff from to

osbuild.xml

     <!-- NOTE: this property is purely here to make a clear distinction in IDEA where the common build is -->
     <property name="------common-properties-below------" value="Common properties below:"/>
 
-    <property name="compile.version" value="1.3"/>
-    <property name="test.compile.version" value="1.3"/>
+    <property name="compile.version" value="1.5"/>
+    <property name="test.compile.version" value="1.5"/>
 
     <dirname property="common.dir" file="${ant.file.common}"/>
     <property file="build.properties"/>
 
         <mkdir dir="${build.clover}"/>
         <clover-setup initString="${build.clover}/coverage.db">
-            <statementContext name="logIsDebugEnabled" regexp="[\s]*if[\s]*\([\s]*(log|_log|LOG|_LOG)\.isDebugEnabled.*"/>
+            <statementContext name="logIsDebugEnabled"
+                              regexp="[\s]*if[\s]*\([\s]*(log|_log|LOG|_LOG)\.isDebugEnabled.*"/>
             <statementContext name="logDebug" regexp="[\s]*(log|_log|LOG|_LOG)\.debug[\s]*\(.*"/>
             <files>
                 <exclude name="${src.test}/**/*.java"/>
 
     <target name="test" depends="junit-check, clover-check, compile, test-compile" description="run tests"
             unless="skip.tests">
-        <run-junit />
+        <run-junit/>
     </target>
 
     <macrodef name="run-junit">
-        <attribute name="classpathref" default="junit.cp" />
+        <attribute name="classpathref" default="junit.cp"/>
         <sequential>
-          <mkdir dir="${dist.docs}/junit"/>
-          <junit haltonfailure="no" haltonerror="yes" fork="yes" forkmode="once" failureproperty="test.failure">
-              <jvmarg value="-Djava.awt.headless=true"/>
-              <jvmarg value="-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl"/>
-              <classpath>
-                  <path refid="@{classpathref}"/>
-              </classpath>
-
-              <formatter type="plain" useFile="false"/>
-              <formatter type="xml"/>
-
-              <batchtest todir="${dist.docs}/junit">
-                  <fileset dir="${src.test}">
-                      <patternset refid="src.test.pattern"/>
-                  </fileset>
-              </batchtest>
-          </junit>          
+            <mkdir dir="${dist.docs}/junit"/>
+            <junit haltonfailure="no" haltonerror="yes" fork="yes" forkmode="once" failureproperty="test.failure">
+                <jvmarg value="-Djava.awt.headless=true"/>
+                <jvmarg value="-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl"/>
+                <classpath>
+                    <path refid="@{classpathref}"/>
+                </classpath>
+
+                <formatter type="plain" useFile="false"/>
+                <formatter type="xml"/>
+
+                <batchtest todir="${dist.docs}/junit">
+                    <fileset dir="${src.test}">
+                        <patternset refid="src.test.pattern"/>
+                    </fileset>
+                </batchtest>
+            </junit>
         </sequential>
     </macrodef>
-  
+
     <target name="javadocs" description="generate javadocs" depends="init">
         <mkdir dir="${dist.docs}/api"/>
         <javadoc sourcepath="${src.java}"
         <copy todir="${dist}/tiger">
             <fileset dir="tiger">
                 <exclude name="build/"/>
-                <exclude name="*.i*"/>                
+                <exclude name="*.i*"/>
             </fileset>
         </copy>
 
                 <exclude name="docs/junit/**/*"/>
             </zipfileset>
         </zip>
-        
-        <move file="${build}/${name}-${version}.zip" todir="${dist}" />
+
+        <move file="${build}/${name}-${version}.zip" todir="${dist}"/>
     </target>
 
     <target name="website" depends="javadocs, docs.impl"/>
                       **/*.dtd,
                       **/*.xsl,
                       **/*.xslt,
-                      **/*.html" />
-        
+                      **/*.html"/>
+
         <fixcrlf eol="lf" srcdir="${basedir}/tiger/src"
                  includes="**/*.sh,
                       **/*.properties,
                       **/*.dtd,
                       **/*.xsl,
                       **/*.xslt,
-                      **/*.html" />
+                      **/*.html"/>
     </target>
 
 
-
     <target name="ivyrep" depends="jar, ivyrep.impl"/>
 
     <target name="ivyrep.impl">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.