diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-19 19:35:55 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-19 19:35:55 +0000 |
commit | c5273aa5040c092903b5df862126fcae1d1d7962 (patch) | |
tree | f6f07245dfa4344b8a75c30fdf43a5df4ada74e4 /sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp | |
parent | 6c7c59219ccfccb587c32d86b5723df48b5d07fb (diff) |
Add package-setup target to domainconfig modules to make ant build of binaries module work
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@946349 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp')
-rw-r--r-- | sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp/build.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp/build.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp/build.xml index 3fd52446fc..12229733f0 100644 --- a/sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp/build.xml +++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/domainconfig/fullapp/build.xml @@ -19,4 +19,20 @@ <project name="scatours-domainconfig-fullapp" default="compile">
<import file="../../antdefs.xml"/>
+
+ <property name="run-package-setup" value="true"/>
+ <target name="package-setup">
+ <mkdir dir="target/jar-classes/fullapp"/>
+ <copy todir="target/jar-classes/fullapp">
+ <fileset dir="src/main/resources">
+ <exclude name="workspace*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="target/jar-classes/fullapp">
+ <fileset dir="src/main/resources">
+ <include name="workspace-distribution.xml"/>
+ </fileset>
+ <globmapper from="workspace-distribution.xml" to="workspace.xml"/>
+ </copy>
+ </target>
</project>
|