summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/build.xml37
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/pom.xml2
2 files changed, 11 insertions, 28 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/build.xml b/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/build.xml
index 318c662767..208878c7ae 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/build.xml
+++ b/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/build.xml
@@ -16,20 +16,24 @@
* specific language governing permissions and limitations
* under the License.
-->
+<!DOCTYPE project [
+<!ENTITY buildDependency SYSTEM "build-dependency.xml">
+]>
<project name="tutorial-warehouse-spring" default="compile">
-
+ &buildDependency;
<target name="compile">
<mkdir dir="target/classes"/>
<javac destdir="target/classes" debug="on" source="1.5" target="1.5">
<src path="."/>
<classpath>
+ <fileset refid="tutorial-assets-jar"/>
<fileset refid="tuscany.jars"/>
<fileset refid="3rdparty.jars"/>
</classpath>
</javac>
<copy todir="target/classes">
- <fileset dir="." excludes="**/*.java, pom.xml, build.xml, target"/>
+ <fileset dir="." excludes="**/*.java, pom.xml, build.xml, build-dependency.xml, target/**"/>
</copy>
<jar destfile="target/tutorial-warehouse-spring.jar" basedir="target/classes">
<manifest>
@@ -41,35 +45,12 @@
<target name="clean">
<delete includeemptydirs="true">
- <fileset dir="target"/>
+ <fileset dir="." includes="target/**"/>
</delete>
</target>
- <fileset id="tuscany.jars" dir="../../../modules">
- <include name="tuscany-assembly-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-assembly-xml-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-binding-jms-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-contribution-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-contribution-java-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-contribution-namespace-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-core-spi-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-data-api-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-definitions-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-extensibility-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-implementation-java-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-interface-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-interface-java-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-monitor-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-policy-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-sca-api-1.6.1-SNAPSHOT.jar"/>
- <include name="tuscany-sca-api-extension-1.6.1-SNAPSHOT.jar"/>
- <include name="tutorial-assets-1.6.1-SNAPSHOT.jar"/>
- </fileset>
- <fileset id="3rdparty.jars" dir="../../../lib">
- <include name="derby-10.3.1.4.jar"/>
- <include name="jsr181-api-1.0-MR1.jar"/>
- <include name="stax-api-1.0-2.jar"/>
- <include name="wstx-asl-3.2.4.jar"/>
+ <fileset id="tutorial-assets-jar" dir="../assets/target">
+ <include name="tutorial-assets.jar"/>
</fileset>
</project>
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/pom.xml b/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/pom.xml
index 2753f300f7..ac3bb5a96d 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/pom.xml
+++ b/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/warehouse-spring/pom.xml
@@ -72,6 +72,7 @@
<exclude>**/.*/**</exclude>
<exclude>pom.xml</exclude>
<exclude>build.xml</exclude>
+ <exclude>build-dependency.xml</exclude>
<exclude>target/**</exclude>
</excludes>
</resource>
@@ -85,6 +86,7 @@
<execution>
<configuration>
<pathToRootDir>../../..</pathToRootDir>
+ <buildDependencyFileOnly>true</buildDependencyFileOnly>
</configuration>
<goals>
<goal>generate</goal>