You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/01/26 18:59:25 UTC

svn commit: r737770 - /incubator/etch/trunk/installers/etch-maven-install.bat

Author: sccomer
Date: Mon Jan 26 17:59:24 2009
New Revision: 737770

URL: http://svn.apache.org/viewvc?rev=737770&view=rev
Log:
fix for ETCH-29: Installing all Maven artifacts along with their sources.

Modified:
    incubator/etch/trunk/installers/etch-maven-install.bat

Modified: incubator/etch/trunk/installers/etch-maven-install.bat
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/installers/etch-maven-install.bat?rev=737770&r1=737769&r2=737770&view=diff
==============================================================================
--- incubator/etch/trunk/installers/etch-maven-install.bat (original)
+++ incubator/etch/trunk/installers/etch-maven-install.bat Mon Jan 26 17:59:24 2009
@@ -13,7 +13,7 @@
 
 set ETCH_HOME=%~dp0..
 set GROUP=etch.etch
-set ARTIFACT=etch-java-runtime
+set ARTIFACTS=etch-ant-plugin, etch-compiler, etch-csharp-compiler, etch-java-compiler, etch-java-runtime, etch-xml-compiler
 set VERSION=@EtchVersion@
 
 if "%M2_HOME%" == "" goto try_maven_home
@@ -31,4 +31,5 @@
 set MVN=mvn.bat
 
 :run_mvn
-"%MVN%" install:install-file "-Dfile=%ETCH_HOME%\lib\etch-java-runtime-%VERSION%.jar" -DgroupId=%GROUP% -DartifactId=%ARTIFACT% -Dversion=%VERSION% -Dpackaging=jar
+FOR %%A IN (%ARTIFACTS%) DO CALL "%MVN%" install:install-file "-Dfile=%ETCH_HOME%\lib\%%A-%VERSION%.jar" -DgroupId=%GROUP% -DartifactId=%%A -Dversion=%VERSION% -Dpackaging=jar
+FOR %%A IN (%ARTIFACTS%) DO CALL "%MVN%" install:install-file "-Dfile=%ETCH_HOME%\lib\%%A-%VERSION%-src.zip" -DgroupId=%GROUP% -DartifactId=%%A -Dversion=%VERSION% -Dpackaging=jar -Dclassifier=sources