[jboss-cvs] jboss-seam/build ...

Peter Muir peter at bleepbleep.org.uk
Wed Dec 5 11:33:42 EST 2007


  User: pmuir   
  Date: 07/12/05 11:33:42

  Modified:    build    utilities.build.xml
  Log:
  More utilities for build and deploy
  
  Revision  Changes    Path
  1.14      +21 -2     jboss-seam/build/utilities.build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: utilities.build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/build/utilities.build.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- utilities.build.xml	18 Nov 2007 20:00:55 -0000	1.13
  +++ utilities.build.xml	5 Dec 2007 16:33:42 -0000	1.14
  @@ -63,10 +63,11 @@
   	<macrodef name="deploy">
   		<attribute name="pom" default="" />
   		<attribute name="jar" default="" />
  +		<attribute name="unique" default="true" />
   		<attribute name="repositoryId" default="" />
   		<element name="credentials" implicit="true" optional="true" />
   		<sequential>
  -			<artifact:deploy file="@{jar}">
  +			<artifact:deploy file="@{jar}" uniqueVersion="@{unique}">
   				<pom file="@{pom}" />
   				<remoteRepository refId="@{repositoryId}">
   					<credentials />
  @@ -92,6 +93,24 @@
   		</sequential>
   	</macrodef>
   
  +	<macrodef name="deployWithAttachment">
  +		<attribute name="pom" default="" />
  +		<attribute name="jar" default="" />
  +		<attribute name="unique" default="true" />
  +		<attribute name="attachment" />
  +		<attribute name="repositoryId" default="" />
  +		<element name="credentials" implicit="true" optional="true" />
  +		<sequential>
  +			<artifact:deploy file="@{jar}" uniqueVersion="@{unique}">
  +				<pom file="@{pom}" />
  +				<remoteRepository refId="@{repositoryId}">
  +					<credentials />
  +				</remoteRepository>
  +				<attach file="@{attachment}" classifier="bin" type="zip"/>
  +			</artifact:deploy>
  +		</sequential>
  +	</macrodef>
  +
   	<macrodef name="deployLocal">
   		<attribute name="pom" default="" />
   		<attribute name="jar" default="" />
  @@ -136,7 +155,7 @@
   				<sysproperty key="classworlds.conf" value="${maven.dir}/bin/m2.conf" />
   				<sysproperty key="maven.home" value="${maven.dir}" />
   				<arg line="-Dseam.version=${complete.version}" />
  -                <arg line="-q" />
  +                <!--<arg line="-q" />-->
   				<args />
   				<arg line="@{target}" />
   			</java>
  
  
  



More information about the jboss-cvs-commits mailing list