You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/09/17 13:00:49 UTC
svn commit: r998069 - in
/tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp:
./ build.xml pom.xml
Author: nash
Date: Fri Sep 17 11:00:48 2010
New Revision: 998069
URL: http://svn.apache.org/viewvc?rev=998069&view=rev
Log:
Add build.xml file with generated dependencies
Added:
tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/build.xml
Modified:
tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/ (props changed)
tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/pom.xml
Propchange: tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Sep 17 11:00:48 2010
@@ -4,15 +4,16 @@ dojo
*.iws
*.ipr
*.iml
-.project
-.classpath
derby.log
maven.log
+maven-eclipse.xml
+build-dependency.xml
velocity.log*
junit*.properties
surefire*.properties
+.project
+.classpath
.settings
.deployables
.wtpmodules
.externalToolBuilders
-build.xml
Added: tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/build.xml?rev=998069&view=auto
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/build.xml (added)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/build.xml Fri Sep 17 11:00:48 2010
@@ -0,0 +1,51 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<!DOCTYPE project [
+<!ENTITY buildDependency SYSTEM "build-dependency.xml">
+]>
+
+<project name="tutorial-catalog-webapp" default="compile">
+ &buildDependency;
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <copy todir="target/classes">
+ <fileset dir="." excludes="pom.xml, build.xml, build-dependency.xml, webapp/**, target/**"/>
+ </copy>
+ <war destfile="target/tutorial-catalog-webapp.war" webxml="webapp/WEB-INF/web.xml">
+ <fileset dir="webapp"/>
+ <lib refid="tutorial-assets-jar"/>
+ <lib refid="tuscany.jars"/>
+ <lib refid="3rdparty.jars"/>
+ <classes dir="target/classes"/>
+ </war>
+ </target>
+
+ <target name="package" depends="compile"/>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="." includes="target/**"/>
+ </delete>
+ </target>
+
+ <fileset id="tutorial-assets-jar" dir="../assets/target">
+ <include name="tutorial-assets.jar"/>
+ </fileset>
+
+</project>
Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/pom.xml?rev=998069&r1=998068&r2=998069&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/pom.xml (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/tutorials/store/catalog-webapp/pom.xml Fri Sep 17 11:00:48 2010
@@ -77,7 +77,7 @@
<exclude>**/.*/**</exclude>
<exclude>pom.xml</exclude>
<exclude>build.xml</exclude>
- <exclude>target/**</exclude>
+ <exclude>build-dependency.xml</exclude>
<exclude>webapp/**</exclude>
<exclude>target/**</exclude>
</excludes>
@@ -100,7 +100,8 @@
<execution>
<configuration>
<pathToRootDir>../../..</pathToRootDir>
- </configuration>
+ <buildDependencyFileOnly>true</buildDependencyFileOnly>
+ </configuration>
<goals>
<goal>generate</goal>
</goals>