You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2008/01/14 20:41:47 UTC
svn commit: r611907 - in /incubator/tuscany/java/sca/demos/xml-bigbank:
build.xml pom.xml
Author: rfeng
Date: Mon Jan 14 11:41:43 2008
New Revision: 611907
URL: http://svn.apache.org/viewvc?rev=611907&view=rev
Log:
Add the ant script generation for dependencies
Added:
incubator/tuscany/java/sca/demos/xml-bigbank/build.xml (with props)
Modified:
incubator/tuscany/java/sca/demos/xml-bigbank/pom.xml
Added: incubator/tuscany/java/sca/demos/xml-bigbank/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/xml-bigbank/build.xml?rev=611907&view=auto
==============================================================================
--- incubator/tuscany/java/sca/demos/xml-bigbank/build.xml (added)
+++ incubator/tuscany/java/sca/demos/xml-bigbank/build.xml Mon Jan 14 11:41:43 2008
@@ -0,0 +1,63 @@
+<!--
+ * 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="demo-xml-bigbank" default="compile">
+ &buildDependency;
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src\main\java"/>
+ <classpath>
+ <fileset refid="tuscany.jars"/>
+ <fileset refid="3rdparty.jars"/>
+ </classpath>
+ </javac>
+ <copy todir="target/classes">
+ <fileset dir="src\main\resources"/>
+ <fileset dir="src\main\resources"/>
+ </copy>
+ <jar destfile="target/demo-xml-bigbank.jar" basedir="target/classes">
+ <manifest>
+ <attribute name="Main-Class" value="bigbank.BigBankClient"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="package" depends="compile"/>
+
+ <target name="run">
+ <java classname="bigbank.BigBankClient" fork="true">
+ <classpath>
+ <pathelement location="target/demo-xml-bigbank.jar"/>
+ <fileset refid="tuscany.jars"/>
+ <fileset refid="3rdparty.jars"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
Propchange: incubator/tuscany/java/sca/demos/xml-bigbank/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/demos/xml-bigbank/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/tuscany/java/sca/demos/xml-bigbank/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/xml-bigbank/pom.xml?rev=611907&r1=611906&r2=611907&view=diff
==============================================================================
--- incubator/tuscany/java/sca/demos/xml-bigbank/pom.xml (original)
+++ incubator/tuscany/java/sca/demos/xml-bigbank/pom.xml Mon Jan 14 11:41:43 2008
@@ -81,7 +81,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-tomcat</artifactId>
+ <artifactId>tuscany-host-jetty</artifactId>
<version>1.2-incubating-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
@@ -106,14 +106,15 @@
<execution>
<configuration>
<mainClass>bigbank.BigBankClient</mainClass>
- </configuration>
+ <buildDependencyFileOnly>true</buildDependencyFileOnly>
+ </configuration>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
- </plugin>
- </plugins>
+ </plugin>
+ </plugins>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org