2005-12-30 17:37:11 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright 2005-2006 The Apache Software Foundation
|
|
|
|
|
|
|
|
Licensed 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.
|
|
|
|
-->
|
2005-12-12 12:53:59 -05:00
|
|
|
<project default="default" xmlns:j="jelly:core">
|
|
|
|
|
2006-02-16 02:01:11 -05:00
|
|
|
<goal name="default" prereqs="jar:install"/>
|
2005-12-12 12:53:59 -05:00
|
|
|
|
|
|
|
<goal name="dc">
|
|
|
|
<attain>
|
|
|
|
<attainGoal name="clean"/>
|
|
|
|
<attainGoal name="site:deploy"/>
|
|
|
|
<j:set var="maven.test.skip" value="true"/>
|
|
|
|
<attainGoal name="jar:deploy"/>
|
|
|
|
<attainGoal name="dist:deploy"/>
|
|
|
|
</attain>
|
|
|
|
</goal>
|
|
|
|
|
|
|
|
<preGoal name="site:deploy">
|
|
|
|
<attainGoal name="javadoc"/>
|
|
|
|
<attainGoal name="java:compile"/>
|
|
|
|
<attainGoal name="clover"/>
|
|
|
|
</preGoal>
|
|
|
|
|
|
|
|
<goal name="setclasspath" prereqs="java:compile, test:compile">
|
|
|
|
<path id="test.classpath">
|
|
|
|
<pathelement path="${maven.build.dest}"/>
|
|
|
|
<pathelement path="target/classes"/>
|
|
|
|
<pathelement path="target/test-classes"/>
|
|
|
|
<path refid="maven.dependency.classpath"/>
|
|
|
|
</path>
|
|
|
|
</goal>
|
|
|
|
|
|
|
|
<!-- Sample programs -->
|
|
|
|
<goal name="demo:A" prereqs="setclasspath"
|
|
|
|
description="Runs the simple ActiveCluster Demo">
|
|
|
|
<echo>Running the ActiveCluster demo...</echo>
|
2005-12-28 15:29:09 -05:00
|
|
|
<java classname="org.apache.activecluster.ClusterDemo" fork="true">
|
2005-12-12 12:53:59 -05:00
|
|
|
<classpath refid="test.classpath"/>
|
|
|
|
<sysproperty key="org.apache.commons.logging.simplelog.defaultlog" value="debug"/>
|
|
|
|
<arg value="A"/>
|
|
|
|
</java>
|
|
|
|
</goal>
|
|
|
|
|
|
|
|
<goal name="demo:B" prereqs="setclasspath"
|
|
|
|
description="Runs the simple ActiveCluster Demo">
|
|
|
|
<echo>Running the ActiveCluster demo...</echo>
|
2005-12-28 15:29:09 -05:00
|
|
|
<java classname="org.apache.activecluster.ClusterDemo" fork="true">
|
2005-12-12 12:53:59 -05:00
|
|
|
<classpath refid="test.classpath"/>
|
|
|
|
<arg value="B"/>
|
|
|
|
</java>
|
|
|
|
</goal>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Uses keyboard input so can't be run in Maven
|
|
|
|
|
|
|
|
<goal name="chat" prereqs="setclasspath"
|
|
|
|
description="Runs the ActiveCluster Chat Demo">
|
|
|
|
<echo>Running the ActiveCluster Chat demo...</echo>
|
2005-12-28 15:29:09 -05:00
|
|
|
<java classname="org.apache.activecluster.ChatDemo" fork="true">
|
2005-12-12 12:53:59 -05:00
|
|
|
<classpath refid="test.classpath"/>
|
|
|
|
</java>
|
|
|
|
</goal>
|
|
|
|
-->
|
|
|
|
|
|
|
|
</project>
|