Source

xwork / build.xml

cameronbraid 5c724bc 
plightbo 1d02701 

cameronbraid 5c724bc 
plightbo 3eba09b 
plightbo f6cc2c2 
rainerh b22dd5c 
rainerh 1ca77e1 






rainerh b22dd5c 



rainerh 1ca77e1 



rainerh fccda6f 
plightbo 3e7dede 





plightbo f6cc2c2 


plightbo 83a06d2 
plightbo b4a9f2b 
plightbo 83a06d2 


plightbo 55eac41 
rainerh 1ca77e1 



plightbo a838a5d 
plightbo 5b8c25c 

rainerh 78c2615 
plightbo 3e7dede 


tmjee b80cb60 
plightbo 9707ab6 
plightbo 5b8c25c 

plightbo a838a5d 

plightbo 758283d 
plightbo 9707ab6 
plightbo 758283d 


plightbo 40076ad 
plightbo db5b681 
plightbo 55eac41 

plightbo 758283d 
rainerh 1ca77e1 
















rgielen 945e1f4 
rainerh 1ca77e1 








plightbo 4f7c553 





rainerh b22dd5c 















rainerh 78c2615 
rainerh b22dd5c 



plightbo 758283d 
plightbo 0500bb3 
plightbo 758283d 
plightbo b4a9f2b 
plightbo 758283d 

rainerh 1ca77e1 
plightbo 9fd8d22 

plightbo f80fcae 
plightbo 9fd8d22 


rainerh 9ff1836 



plightbo 9fd8d22 
plightbo e570985 
plightbo 9fd8d22 

rainerh 9ff1836 




plightbo 9fd8d22 

rainerh 1ca77e1 





















rainerh fccda6f 
<project name="xwork" default="jar" basedir=".">
    <!-- overridden properties (must be before the import!) -->
    <property name="src.test" value="src/test"/>

    <import file="osbuild.xml"/>

    <path id="tiger.cp">
        <fileset dir="lib">
            <include name="**/*.jar"/>
            <include name="**/*.zip"/>
            <exclude name="**/jalopy/**"/>
        </fileset>
        <pathelement location="${build.java}"/>
        <pathelement location="tiger/build/java"/>
    </path>

    <path id="junit-tiger.cp">
        <path refid="tiger.cp"/>
        <pathelement location="tiger/build/test"/>
        <pathelement location="tiger/build/java-test"/>
    </path>

    <target name="init" depends="common.init" unless="skip.ivy">
        <taskdef name="ivy-configure" classname="fr.jayasoft.ivy.ant.IvyConfigure" classpathref="cp"/>
        <taskdef name="ivy-resolve" classname="fr.jayasoft.ivy.ant.IvyResolve" classpathref="cp"/>
        <taskdef name="ivy-retrieve" classname="fr.jayasoft.ivy.ant.IvyRetrieve" classpathref="cp"/>
        <taskdef name="ivy-publish" classname="fr.jayasoft.ivy.ant.IvyPublish" classpathref="cp"/>
        <taskdef name="ivy-report" classname="fr.jayasoft.ivy.ant.IvyReport" classpathref="cp"/>
        <taskdef name="ivy-deliver" classname="fr.jayasoft.ivy.ant.IvyDeliver" classpathref="cp"/>

        <ivy-retrieve/>
    </target>

    <target name="ivyrep.copy-ivy" depends="init" unless="noivyxml">
        <ivy-deliver deliverpattern="${ivyrep.path}/opensymphony/${name}/[artifact]-[revision].[ext]"
                     pubrevision="${version}-${TIME}" pubdate="${TIME}"/>
    </target>

    <target name="clean" depends="common.clean">
        <delete dir="tiger/build"/>
    </target>

    <target name="compile" depends="common.compile">
    </target>

    <target name="predist" depends="tiger, tiger-javadocs">
        <!-- grab the README.txt file -->
        <copy file="${src}/etc/README.txt" todir="${dist}"/>

        <copy file="${build}/${name}-tiger-${version}.jar" todir="${dist}"/>
    </target>

    <target name="tiger">
        <compile srcdir="tiger/src/java" destdir="tiger/build/java" classpath="${build.java}" source="1.5"
                 target="1.5"/>

        <jar destfile="${build}/${name}-tiger-${version}.jar">
            <fileset dir="tiger/build/java"/>
        </jar>

        <jar destfile="${build}/${name}-tiger-src-${version}.jar">
            <fileset dir="tiger/src/java"/>
        </jar>
    </target>

    <target name="tiger-test-compile" unless="skip.tests">
        <compile srcdir="tiger/src/test" destdir="tiger/build/test" classpathref="junit-tiger.cp" source="1.5"
                 target="1.5"/>

        <taskdef resource="clovertasks"/>
        <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>

        <mkdir dir="tiger/build/clover"/>
        <clover-setup initString="tiger/build/clover/coverage.db">
            <files>
                <exclude name="tiger/src/test/**/*.java"/>
            </files>
        </clover-setup>

        <compile srcdir="tiger/src/java" destdir="tiger/build/java-test" classpathref="junit-tiger.cp" source="1.5" target="1.5"/>
    </target>

    <target name="test" depends="junit-check, clover-check, compile, test-compile" description="run tests"
            unless="skip.tests">
        <run-junit />
    </target>

    <target name="tiger-test" depends="junit-check, clover-check, compile, tiger, tiger-test-compile" description="run tests"
            unless="skip.tests">
        <run-tiger-junit />
    </target>

    <target name="docs.impl" depends="common.docs.impl">
        <copy todir="${dist.docs}">
            <fileset dir="${src.java}" includes="*.dtd"/>
        </copy>
    </target>

    <target name="tiger-javadocs" description="generate tiger javadocs" depends="common.init">
        <mkdir dir="${dist.docs}/tiger-api"/>
        <javadoc sourcepath="tiger/src/java"
                 destdir="${dist.docs}/tiger-api"
                 packagenames="${docs.packages}"
                 classpathref="tiger.cp"
                 author="true"
                 version="true"
                 overview="${src.java}/overview.html"
                 windowTitle="${fullname} Tiger API - ${version}"
                 doctitle="${fullname} Tiger API (${version})"
                 footer="&lt;a href=&quot;http://www.opensymphony.com/${name}/&quot; target=&quot;_top&quot;&gt;${fullname} Project Page&lt;/a&gt;"
                 use="true"
                 verbose="false"
                source="1.5">
            <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
            <link href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api"/>
        </javadoc>
        <!-- <copy overwrite="yes" file="${docs}/main.css" tofile="${docs}/api/stylesheet.css"/> -->
    </target>

    <target name="ivyrep" depends="common.ivyrep">
        <antcall target="ivyrep.impl" inheritrefs="no" inheritall="no">
            <param name="name" value="${name}-tiger"/>
            <param name="noivyxml" value="yes"/>
        </antcall>
    </target>

    <target name="mavenrep" depends="jar">
        <!-- xwork -->
        <copy file="pom.xml" tofile="/opt/repository/ibiblio.org/opensymphony/poms/${name}-${version}-SNAPSHOT.pom"/>
        <copy file="${build}/${name}-${version}.jar" tofile="/opt/repository/ibiblio.org/opensymphony/jars/${name}-${version}-SNAPSHOT.jar"/>
        <copy file="${build}/${name}-src-${version}.jar" tofile="/opt/repository/ibiblio.org/opensymphony/jars/${name}-src-${version}-SNAPSHOT.jar"/>

        <copy file="pom.xml" tofile="/var/www/domains/opensymphony.com/maven1/htdocs/opensymphony/poms/${name}-${version}-SNAPSHOT.pom" overwrite="true"/>
        <copy file="${build}/${name}-${version}.jar" tofile="/var/www/domains/opensymphony.com/maven1/htdocs/opensymphony/jars/${name}-${version}-SNAPSHOT.jar" overwrite="true"/>
        <copy file="${build}/${name}-src-${version}.jar" tofile="/var/www/domains/opensymphony.com/maven1/htdocs/opensymphony/jars/${name}-src-${version}-SNAPSHOT.jar" overwrite="true"/>

        <!-- xwork-tiger -->
        <copy file="tiger/pom.xml" tofile="/opt/repository/ibiblio.org/opensymphony/poms/${name}-tiger-${version}-SNAPSHOT.pom"/>
        <copy file="${build}/${name}-tiger-${version}.jar" tofile="/opt/repository/ibiblio.org/opensymphony/jars/${name}-tiger-${version}-SNAPSHOT.jar"/>
        <copy file="${build}/${name}-tiger-src-${version}.jar" tofile="/opt/repository/ibiblio.org/opensymphony/jars/${name}-tiger-src-${version}-SNAPSHOT.jar"/>


        <copy file="pom.xml" tofile="/var/www/domains/opensymphony.com/maven1/htdocs/opensymphony/poms/${name}-tiger-${version}-SNAPSHOT.pom" overwrite="true"/>
        <copy file="${build}/${name}-tiger-${version}.jar" tofile="/var/www/domains/opensymphony.com/maven1/htdocs/opensymphony/jars/${name}-tiger-${version}-SNAPSHOT.jar" overwrite="true"/>
        <copy file="${build}/${name}-tiger-src-${version}.jar" tofile="/var/www/domains/opensymphony.com/maven1/htdocs/opensymphony/jars/${name}-tiger-src-${version}-SNAPSHOT.jar" overwrite="true"/>
    </target>

    <macrodef name="run-tiger-junit">
        <attribute name="classpathref" default="junit-tiger.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="tiger/src/test">
                      <patternset refid="src.test.pattern"/>
                  </fileset>
              </batchtest>
          </junit>
        </sequential>
    </macrodef>
</project>
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.