/[debian]/libjempbox-java/trunk/build.xml
ViewVC logotype

Diff of /libjempbox-java/trunk/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 429 by gregoa, Fri Nov 17 21:04:22 2006 UTC revision 1255 by gregoa, Mon Apr 7 19:00:03 2008 UTC
# Line 18  Line 18 
18      <property name="checkstyle.config" value="jempbox-checkstyle.xml" />      <property name="checkstyle.config" value="jempbox-checkstyle.xml" />
19    
20      <property name="project.name" value="JempBox"/>      <property name="project.name" value="JempBox"/>
21      <property name="project.version" value="0.1.0-dev" />      <property name="project.version" value="0.2.0" />
22    
23      <property name="checkstyle.jar.dir" value="lib" />      <property name="checkstyle.jar.dir" value="lib" />
24      <property name="checkstyle.jar" value="${checkstyle.jar.dir}/checkstyle-all-*.jar" />      <property name="checkstyle.jar" value="${checkstyle.jar.dir}/checkstyle-all-*.jar" />
# Line 61  Line 61 
61    
62      <target name="compile" depends="jempbox.init" description="Compile Java source files">      <target name="compile" depends="jempbox.init" description="Compile Java source files">
63          <!-- required encoding flag to be able to build using ibm-jdk on redhat ES-->          <!-- required encoding flag to be able to build using ibm-jdk on redhat ES-->
64          <javac srcdir="${src.dir}" destdir="${dest.dir}" debug="on" classpathref="build.classpath" deprecation="on" encoding="ISO-8859-1"/>          <javac srcdir="${src.dir}" destdir="${dest.dir}" debug="on" target="1.4" classpathref="build.classpath" deprecation="on" encoding="ISO-8859-1"/>
65      </target>      </target>
66    
67      <target name="junit" depends="clean,compile" description="run junit tests">      <target name="junit" depends="clean,compile" description="run junit tests">
68          <junit printsummary="off" fork="on" dir=".">          <junit printsummary="off" fork="on" dir=".">
69              <classpath>              <classpath>
70                    <pathelement path="lib/junit.jar"/>
71                  <pathelement path="${dest.dir}"/>                  <pathelement path="${dest.dir}"/>
72                  <pathelement path="." />                  <pathelement path="." />
73              </classpath>              </classpath>
74              <formatter usefile="false" type="plain" />              <formatter usefile="false" type="plain" />
75              <test name="test.jempbox.TestAll" />              <test name="test.jempbox.xmp.AllTests" />
76          </junit>          </junit>
77      </target>      </target>
78    
# Line 128  Line 129 
129          <antcall target="dist" />          <antcall target="dist" />
130      </target>      </target>
131    
132      <target name="dist" depends="clean,package,javadoc,website,build.NET,checkstyle" description="Create zip distribution file">      <target name="dist" depends="clean,package,checkstyle,junit,javadoc,website,build.NET" description="Create zip distribution file">
133                    
134          <zip zipfile="${dist.dir}/${release.name}.zip">          <zip zipfile="${dist.dir}/${release.name}.zip">
135              <zipfileset dir="." prefix="${release.name}">              <zipfileset dir="." prefix="${release.name}">
# Line 197  Line 198 
198    
199      <!-- FORREST_HOME must be set as an environment variable -->      <!-- FORREST_HOME must be set as an environment variable -->
200      <property name="project.home" value="${basedir}/website" />      <property name="project.home" value="${basedir}/website" />
201            <property name="forrest.jvmargs" value="-Djava.awt.headless=true" />
202      <import file="${env.FORREST_HOME}/main/forrest.build.xml" optional="true"/>      <import file="${env.FORREST_HOME}/main/forrest.build.xml" optional="true"/>
203      <target name="website" if="env.FORREST_HOME">      <target name="website" if="env.FORREST_HOME">
204         <antcall target="site"/>         <antcall target="site"/>

Legend:
Removed from v.429  
changed lines
  Added in v.1255

  ViewVC Help
Powered by ViewVC 1.1.26