Anonymous avatar Anonymous committed 7ffe9cf

build for webflow

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@564 573baa09-0c28-0410-bef9-dab3c582ae83

Comments (0)

Files changed (1)

 
     <property name="src" value="src"/>
     <property name="src.java" value="${src}/java"/>
+    <property name="src.webflow" value="${src}/webflow"/>
     <property name="src.test" value="${src}/test"/>
     <property name="src.example" value="${src}/example"/>
     <property name="src.webapp" value="${src}/webapp"/>
     <property name="build.test" value="${build}/test"/>
     <property name="build.java-test" value="${build}/java-test"/>
     <property name="build.java" value="${build}/java"/>
+    <property name="build.webflow" value="${build}/webflow"/>
     <property name="build.example" value="${build}/example"/>
     <property name="build.example.jars" value="${build}/example-jars"/>
     <property name="build.example-war" value="${build}/example-war"/>
         </junit>
     </target>
 
+    <target name="webflow" depends="java">
+        <mkdir dir="${build.webflow}"/>
+        <javac srcdir="${src.webflow}" destdir="${build.webflow}" classpath="${build.java}" classpathref="cp" debug="on"/>
+        <copy filtering="no" todir="${build.webflow}">
+            <fileset dir="${src.webflow}">
+                <exclude name="**/*.java"/>
+                <exclude name="**/package.html"/>
+            </fileset>
+        </copy>
+
+        <jar basedir="${build.webflow}" jarfile="${build}/webflow-${version}.jar"/>
+    </target>
+
     <target name="jar" depends="java">
         <mkdir dir="${build}"/>
 
         </copy>
     </target>
 
-    <target name="dist" depends="jar, migration, example-war, docs">
+    <target name="dist" depends="jar, migration, webflow, example-war, docs">
         <copy file="${build}/${name}-${version}.jar" todir="${build.dist}"/>
+        <copy file="${build}/webflow-${version}.jar" todir="${build.dist}"/>
         <copy file="${build.migration.jar}" todir="${build.dist}"/>
         <copy file="${build}/${name}-example.war" todir="${build.dist}"/>
         <copy todir="${build.dist}/src">
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.