[jboss-cvs] JBossAS SVN: r59260 - projects/vfs/trunk

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 1 23:42:33 EST 2007


Author: scott.stark at jboss.org
Date: 2007-01-01 23:42:31 -0500 (Mon, 01 Jan 2007)
New Revision: 59260

Added:
   projects/vfs/trunk/build.xml
Modified:
   projects/vfs/trunk/
Log:
Add an ant build.xml to populate the jboss repository


Property changes on: projects/vfs/trunk
___________________________________________________________________
Name: svn:ignore
   - target

   + target
local.properties


Added: projects/vfs/trunk/build.xml
===================================================================
--- projects/vfs/trunk/build.xml	2007-01-02 02:56:06 UTC (rev 59259)
+++ projects/vfs/trunk/build.xml	2007-01-02 04:42:31 UTC (rev 59260)
@@ -0,0 +1,45 @@
+<!--
+An ant build script that copies the mvn generated targets to a 
+jbossbuild repository without the version info embedded in the
+jar name.
+$Id:$
+-->
+<project name="jbossbuild helper" default="copy-targets">
+	<!-- Allow local overrides of properties -->
+	<property file="local.properties" />
+	<property name="jboss.repository" value="/cvs/Repository/repository.jboss.com" />
+	<property name="vfs.version" value="2.0.0.snapshot" />
+
+	<target name="copy-targets">
+		<mkdir dir="${jboss.repository}/jboss/jboss-vfs/${vfs.version}/lib"/>
+		<echo file="${jboss.repository}/jboss/jboss-vfs/${vfs.version}/component-info.xml"><![CDATA[<project name="jboss-vfs-component-info">
+   <component id="jboss/jboss-vfs"
+              version="${vfs.version}"
+              licenseType="lgpl"
+              description="A VFS library"
+   >
+      <artifact id="jboss-vfs.jar"/>
+      <artifact id="jboss-vfs-sources.jar"/>
+      <export>
+         <include input="jboss-vfs.jar"/>
+      </export>
+   </component>
+</project>
+]]>
+		</echo>
+		<copy overwrite="true" file="target/jboss-vfs.jar"
+			tofile="${jboss.repository}/jboss/jboss-vfs/${vfs.version}/lib/jboss-vfs.jar"/>
+		<copy overwrite="true" file="target/jboss-vfs-sources.jar"
+			tofile="${jboss.repository}/jboss/jboss-vfs/${vfs.version}/lib/jboss-vfs-sources.jar"/>
+	</target>
+
+	<target name="tag-release">
+		<exec executable="svn">
+			<arg value="copy"/>
+			<arg value="-m" />
+			<arg value="Tag the ${common.version} release" />
+			<arg value="https://svn.jboss.org/repos/common/build/trunk/"/>
+			<arg value="https://svn.jboss.org/repos/common/build/tags/${common.version}"/>			
+		</exec>
+	</target>
+</project>


Property changes on: projects/vfs/trunk/build.xml
___________________________________________________________________
Name: svn:keywords
   + Id, Revision
Name: svn:eol-style
   + native




More information about the jboss-cvs-commits mailing list