[webbeans-commits] Webbeans SVN: r590 - ri/trunk.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Fri Dec 19 13:24:14 EST 2008


Author: pete.muir at jboss.org
Date: 2008-12-19 13:24:14 -0500 (Fri, 19 Dec 2008)
New Revision: 590

Modified:
   ri/trunk/build.xml
Log:
update target name

Modified: ri/trunk/build.xml
===================================================================
--- ri/trunk/build.xml	2008-12-19 18:12:26 UTC (rev 589)
+++ ri/trunk/build.xml	2008-12-19 18:24:14 UTC (rev 590)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<project name="JBoss5DeployerInstall" default="install-jboss5" basedir="." xmlns:artifact="urn:maven-artifact-ant">
+<project name="JBoss5DeployerInstall" default="update" basedir="." xmlns:artifact="urn:maven-artifact-ant">
 
 	<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks.jar" />
 	<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" />
@@ -8,10 +8,12 @@
 
 	<property file="build.properties" />
 
-	<target name="install-jboss5" depends="install-jboss-ejb3-update, install">
+	<target name="update" depends="install-jboss-ejb3-update">
 
 		<fail unless="jboss.home" message="Please pass in -Djboss.home=..."/>
 
+		<delete dir="${jboss.home}/server/default/deployers/webbeans.deployer" failonerror="false" />
+		
 		<mkdir dir="target/webbeans.deployer"/>
 
 		<artifact:dependencies filesetId="jboss5.deployer.fileset" versionsId="jboss5.deployer.versions">
@@ -73,10 +75,6 @@
 			<arg line="${jboss.home}" />
 		</java>
 	</target>
-	
-	<target name="install">
-		<maven target="install" basedir="${basedir}"/>
-	</target>
 
 	<macrodef name="maven">
 		<attribute name="target" />




More information about the weld-commits mailing list