File: build.xml

package info (click to toggle)
libjboss-vfs-java 2.0.1.GA-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,392 kB
  • ctags: 2,651
  • sloc: java: 20,091; xml: 273; sh: 12; makefile: 11
file content (45 lines) | stat: -rw-r--r-- 1,658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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>