You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by xa...@apache.org on 2007/04/10 09:36:27 UTC

svn commit: r527068 - in /incubator/ivy/core/trunk: build.xml ivysettings.xml

Author: xavier
Date: Tue Apr 10 02:36:25 2007
New Revision: 527068

URL: http://svn.apache.org/viewvc?view=rev&rev=527068
Log:
add publish local feature to help integration with other modules, and fix artifact names to support publish (jar names do not use apache- prefix)

Modified:
    incubator/ivy/core/trunk/build.xml
    incubator/ivy/core/trunk/ivysettings.xml

Modified: incubator/ivy/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/build.xml?view=diff&rev=527068&r1=527067&r2=527068
==============================================================================
--- incubator/ivy/core/trunk/build.xml (original)
+++ incubator/ivy/core/trunk/build.xml Tue Apr 10 02:36:25 2007
@@ -28,8 +28,8 @@
                internet and use it for ivy tasks of this build.
          ================================================================= -->
 	
-	<property name="final.name" value="apache-ivy.jar" />
-	<property name="final.core.name" value="apache-ivy-core.jar" />
+	<property name="final.name" value="ivy.jar" />
+	<property name="final.core.name" value="ivy-core.jar" />
 	
 	<target name="init-ivy-user-home" unless="ivy.use.local.home">
 		<condition property="ivy.home" value="${env.IVY_HOME}">
@@ -232,6 +232,15 @@
 	</target>
 	
 
+    <!-- =================================================================
+               PUBLISH LOCAL
+         ================================================================= -->
+	<target name="publish-local" depends="jar" description="--> publishes Ivy to Ivy local repository">
+		<ivy:publish resolver="local" pubrevision="${build.version}"
+			artifactsPattern="${artifacts.build.dir}/[artifact].[ext]" 
+			forcedeliver="true"/>
+	</target>
+	
     <!-- =================================================================
                TESTS
          ================================================================= -->

Modified: incubator/ivy/core/trunk/ivysettings.xml
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/ivysettings.xml?view=diff&rev=527068&r1=527067&r2=527068
==============================================================================
--- incubator/ivy/core/trunk/ivysettings.xml (original)
+++ incubator/ivy/core/trunk/ivysettings.xml Tue Apr 10 02:36:25 2007
@@ -17,6 +17,7 @@
    under the License.    
 -->
 <ivyconf>
+	<include url="${ivy.default.conf.dir}/ivyconf-local.xml"/>
 	<conf defaultResolver="public" />
 	<resolvers>
 		<!--