Commits

Anonymous committed 3488d63

Checking in current changes before trying out EasyAnt.

git-svn-id: http://svn.opensymphony.com/svn/propertyset/branches/ivy_build@202bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

  • Participants
  • Parent commits 8d3df21
  • Branches ivy_build, maven_build

Comments (0)

Files changed (4)

ant/jar-module.xml

 	<import file="compiler-plugin.xml" />
 	<import file="test-plugin.xml" />
 	<import file="package-plugin.xml" />
+	<import file="publish-plugin.xml" />
 
 <!-- ====================================================================== -->
 <!-- PROJECT PROPERTIES -->
 
 	<target name="package" depends="module.package, package:jar, package:test-jar, package:source-jar" />
 
+	<target name="publish" depends="module.publish, publish:publish" />
+	
 </project>

ant/publish-plugin.xml

-<project name="publish-plugin">
+<project name="publish-plugin" xmlns:ivy="antlib:org.apache.ivy.ant">
 <!-- **********************************************************************
 		INPUTS
 		
 
 
 	<target name="publish:publish">
+		<ivy:publish resolver="local" pubrevision="${project.version}" artifactspattern="${project.build.output.dir}/[artifact]-[revision].[ext]" />
 	</target>
 
 	<target name="publish:help">

ant/resources-plugin.xml

 	<!-- copies resources from main source to main output directory, optionally filtering on copy -->
 	<target name="resources:resources">
 		<mkdir dir="${project.build.output.dir}" />
+		
+		<copy todir="${project.build.output.dir}">
+			<fileset dir="${project.build.resource.dir}">
+				<include name="**/*.*" />
+			</fileset>
+		</copy>
 	</target>
 
 	<!-- copies resources from test source to test output directory, optionally filtering on copy -->
 	<target name="resources:test-resources">
 		<mkdir dir="${project.build.test.output.dir}" />
+
+		<copy todir="${project.build.test.output.dir}">
+			<fileset dir="${project.build.test.resource.dir}">
+				<include name="**/*.*" />
+			</fileset>
+		</copy>
 	</target>
 
 	<target name="resources:help">
     </configurations>
 
     <publications>
-    	<artifact name="master" />
+    	<artifact name="propertyset-api" type="jar" conf="master" />
     </publications>
 
     <dependencies>