riftsaw SVN: r197 - branches/ODE/ODE-1.x-fixes/scripts.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2009-10-21 04:00:54 -0400 (Wed, 21 Oct 2009)
New Revision: 197
Modified:
branches/ODE/ODE-1.x-fixes/scripts/build.properties
branches/ODE/ODE-1.x-fixes/scripts/build.xml
Log:
* update the snapshot build.
Modified: branches/ODE/ODE-1.x-fixes/scripts/build.properties
===================================================================
--- branches/ODE/ODE-1.x-fixes/scripts/build.properties 2009-10-20 15:33:22 UTC (rev 196)
+++ branches/ODE/ODE-1.x-fixes/scripts/build.properties 2009-10-21 08:00:54 UTC (rev 197)
@@ -1,3 +1,3 @@
-local.repo=/opt/m2/riftsaw-repo
+local.repo=/opt/m2/riftsaw-repo/m2-snapshot-repository
username=
password=
Modified: branches/ODE/ODE-1.x-fixes/scripts/build.xml
===================================================================
--- branches/ODE/ODE-1.x-fixes/scripts/build.xml 2009-10-20 15:33:22 UTC (rev 196)
+++ branches/ODE/ODE-1.x-fixes/scripts/build.xml 2009-10-21 08:00:54 UTC (rev 197)
@@ -16,36 +16,34 @@
<attribute name="filename" default = "" />
<attribute name="filetype" default = "jar" />
<sequential>
- <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="apache.maven.ant.tasks.classpath" />
- <artifact:install-provider artifactId="wagon-webdav" version="1.0-beta-2"/>
- <condition property="pom.file" value="${artifact.dir}/@{filename}/${version}/(a){filename}-${version}.pom">
+ <condition property="@{filename}.file" value="${artifact.dir}/@{filename}/${version}/(a){filename}-${version}.pom">
<equals arg1="@{filetype}" arg2="jar" />
</condition>
- <condition property="pom.file" value="pom/(a){filename}.pom">
+ <condition property="@{filename}.file" value="pom/(a){filename}.pom">
<available file="pom/(a){filename}.pom"/>
</condition>
- <artifact:pom id="pom-file" file = "${pom.file}" />
-
- <echo>${pom.file}</echo>
+ <artifact:pom id="@{filename}-file" file = "${(a){filename}.file}" />
+
+ <echo> Publishing ${artifact.dir}/@{filename}/${version}/@{filename}-${version}.(a){filetype} ...</echo>
+ <echo> Its pom file is: ${(a){filename}.file}</echo>
<artifact:deploy file="${artifact.dir}/@{filename}/${version}/@{filename}-${version}.(a){filetype}">
<remoteRepository url="${jboss.snapshot.repo}">
<authentication username="${username}" password="${password}"/>
</remoteRepository>
- <pom refid="pom-file"/>
+ <pom refid="@{filename}-file"/>
</artifact:deploy>
</sequential>
</macrodef>
<target name="deploy">
- <publish filename="jboss-riftsaw-docs" filetype="zip"/>
- <publish filename="jboss-riftsaw-jbi" filetype="zip"/>
- <publish filename="jboss-riftsaw-sources" filetype="zip" />
- <publish filename="jboss-riftsaw-war" filetype="zip"/>
+ <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="apache.maven.ant.tasks.classpath" />
+ <artifact:install-provider artifactId="wagon-webdav" version="1.0-beta-2" />
+
<publish filename="riftsaw-agents" />
<publish filename="riftsaw-axis2" />
- <publish filename="riftsaw-axis-war" filetype="war"/>
+ <publish filename="riftsaw-axis2-war" filetype="war"/>
<publish filename="riftsaw-bpel-api" />
<publish filename="riftsaw-bpel-api-jca" />
<publish filename="riftsaw-bpel-compiler" />
@@ -71,6 +69,10 @@
<publish filename="riftsaw-scheduler-simple" />
<publish filename="riftsaw-tools" />
<publish filename="riftsaw-utils" />
+ <publish filename="jboss-riftsaw-docs" filetype="zip"/>
+ <publish filename="jboss-riftsaw-jbi" filetype="zip"/>
+ <publish filename="jboss-riftsaw-sources" filetype="zip" />
+ <publish filename="jboss-riftsaw-war" filetype="zip"/>
</target>
</project>