You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by ma...@apache.org on 2011/08/03 10:19:30 UTC
svn commit: r1153386 - /incubator/ace/trunk/ace-ant-tasks/build.xml
Author: marrs
Date: Wed Aug 3 08:19:30 2011
New Revision: 1153386
URL: http://svn.apache.org/viewvc?rev=1153386&view=rev
Log:
ACE-163 Updated the sample build file to make it more independent of the environment. If you have a working ACE build, this should probably work as well.
Modified:
incubator/ace/trunk/ace-ant-tasks/build.xml
Modified: incubator/ace/trunk/ace-ant-tasks/build.xml
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-ant-tasks/build.xml?rev=1153386&r1=1153385&r2=1153386&view=diff
==============================================================================
--- incubator/ace/trunk/ace-ant-tasks/build.xml (original)
+++ incubator/ace/trunk/ace-ant-tasks/build.xml Wed Aug 3 08:19:30 2011
@@ -1,11 +1,33 @@
-<project name="test" default="build">
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+
+ 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.
+ -->
+
+<!-- be sure to run 'mvn install' to create the library before trying this -->
+<project name="sample-build" default="build">
+ <!-- defines the deployment package task as 'dp' -->
<taskdef name="dp" classname="org.apache.ace.ant.deploymentpackage.DeploymentPackageTask" classpath="target/org.apache.ace.ant.tasks-0.8.1-incubator-SNAPSHOT.jar" />
+
+ <!-- builds a deployment package based on some existing jar files -->
<target name="build">
- <echo message="Start..." />
- <dp name="marrs" version="1.0.0" dir="/Users/marcel/Desktop/demo" destination="cool-dp.jar">
- <include name="servicebased.host-1.0.0.jar" />
- <include name="servicebased.triangle-1.0.0.jar" />
+ <dp name="org.apache.ace.dp.sample" version="1.0.0" dir=".." destination="sample-dp.jar">
+ <!-- uses two completely arbitrary bundles -->
+ <include name="ace-log/target/org.apache.ace.log-0.8.1-incubator-SNAPSHOT.jar" />
+ <include name="ace-log-listener/target/org.apache.ace.log.listener-0.8.1-incubator-SNAPSHOT.jar" />
</dp>
- <echo message="Stop..." />
</target>
</project>