Merge r1001054 Decouple run target from compile target
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027285 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df5b3fc1cc
commit
0552c957d0
3 changed files with 11 additions and 9 deletions
|
@ -16,11 +16,10 @@
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
-->
|
-->
|
||||||
<project name="bigbank-calculator" default="run">
|
<project name="bigbank-calculator" default="compile">
|
||||||
<property name="test.class" value="calculator.demo.CalculatorServer" />
|
<property name="test.class" value="calculator.demo.CalculatorServer" />
|
||||||
|
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<!-- pathelement location="../../modules/tuscany-binding-rmi-1.7-SNAPSHOT.jar"/-->
|
|
||||||
<pathelement path="target/demo-bigbank-calculator.jar"/>
|
<pathelement path="target/demo-bigbank-calculator.jar"/>
|
||||||
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
|
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
|
||||||
</path>
|
</path>
|
||||||
|
@ -49,7 +48,7 @@
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="run" depends="compile">
|
<target name="run">
|
||||||
<java classname="${test.class}"
|
<java classname="${test.class}"
|
||||||
fork="true">
|
fork="true">
|
||||||
<classpath>
|
<classpath>
|
||||||
|
@ -63,4 +62,3 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
-->
|
-->
|
||||||
<project name="bigbank-stockquote" default="run">
|
<project name="bigbank-stockquote" default="compile">
|
||||||
<property name="test.class" value="stockquote.demo.StockQuoteServer" />
|
<property name="test.class" value="stockquote.demo.StockQuoteServer" />
|
||||||
|
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="run" depends="compile">
|
<target name="run">
|
||||||
<java classname="${test.class}"
|
<java classname="${test.class}"
|
||||||
fork="true">
|
fork="true">
|
||||||
<classpath>
|
<classpath>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
-->
|
-->
|
||||||
<project name="bigbank" default="run">
|
<project name="bigbank" default="compile">
|
||||||
<property name="settings.localRepository" value="./target/repo" />
|
<property name="settings.localRepository" value="./target/repo" />
|
||||||
<property name="artifactId" value="demo-bigbank" />
|
<property name="artifactId" value="demo-bigbank" />
|
||||||
<property name="test.class" value="bigbank.demo.BigBankServer" />
|
<property name="test.class" value="bigbank.demo.BigBankServer" />
|
||||||
|
@ -45,7 +45,6 @@
|
||||||
</ant>
|
</ant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="compile" depends="dojo">
|
<target name="compile" depends="dojo">
|
||||||
<javac srcdir="src/main/java"
|
<javac srcdir="src/main/java"
|
||||||
destdir="target/classes"
|
destdir="target/classes"
|
||||||
|
@ -65,9 +64,14 @@
|
||||||
<attribute name="Main-Class" value="${test.class}" />
|
<attribute name="Main-Class" value="${test.class}" />
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
|
|
||||||
|
<ant antfile="./build-dojo.xml" target="clean-dojo-files">
|
||||||
|
<property name="localRepository" value="${settings.localRepository}"/>
|
||||||
|
<property name="artifactId" value="${artifactId}"/>
|
||||||
|
</ant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="run" depends="compile">
|
<target name="run">
|
||||||
<java classname="${test.class}"
|
<java classname="${test.class}"
|
||||||
fork="true">
|
fork="true">
|
||||||
<classpath>
|
<classpath>
|
||||||
|
|
Loading…
Reference in a new issue