brett 2004/03/11 22:42:13 Modified: . Tag: MAVEN-1_0-BRANCH maven.xml Log: distro fix Revision Changes Path No revision No revision 1.97.2.22 +14 -1 maven/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven/maven.xml,v retrieving revision 1.97.2.21 retrieving revision 1.97.2.22 diff -u -r1.97.2.21 -r1.97.2.22 --- maven.xml 11 Mar 2004 23:55:32 -0000 1.97.2.21 +++ maven.xml 12 Mar 2004 06:42:13 -0000 1.97.2.22 @@ -158,9 +158,17 @@ <j:forEach var="lib" items="${pom.artifacts}"> <j:set var="dep" value="${lib.dependency}" /> <j:if test="${dep.type=='jar'}"> - <ant:copy todir="${installerDir}/lib" file="${lib.path}" /> + <j:choose> + <j:when test="${dep.getProperty('endorsed')}"> + <ant:copy todir="${installerDir}/lib/endorsed" file="${lib.path}" /> + </j:when> + <j:otherwise> + <ant:copy todir="${installerDir}/lib" file="${lib.path}" /> + </j:otherwise> + </j:choose> </j:if> </j:forEach> + <ant:copy todir="${installerDir}/lib" file="${maven.build.dir}/${maven.final.name}.jar" /> <attainGoal name="maven:generate-install-scripts" /> <ant:copy todir="${installerDir}/bin" file="${maven.build.dir}/install_repo.bat" /> @@ -224,6 +232,7 @@ <j:set var="installerDir" value="${maven.build.dir}/installer/${tag}" /> <ant:tar longfile="gnu" tarfile="${maven.build.dir}/installer/${tag}.tar"> <ant:tarfileset dir="${maven.build.dir}/installer"> + <ant:include name="${tag}/**" /> <ant:exclude name="**/maven"/> <ant:exclude name="**/install_repo.sh"/> </ant:tarfileset> @@ -244,6 +253,10 @@ /> <ant:delete file="${maven.build.dir}/installer/${tag}.tar"/> + + <ant:zip zipfile="${maven.build.dir}/installer/${tag}.zip"> + <ant:zipfileset dir="${maven.build.dir}/installer" includes="${tag}/**" /> + </ant:zip> <!-- <u:tokenize var="pluginList" delim=",">${maven.lite.plugins}</u:tokenize>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]