brett 2004/03/10 05:58:57
Modified: . Tag: MAVEN-1_0-BRANCH maven.xml
Log:
nsis installer
Revision Changes Path
No revision
No revision
1.97.2.18 +10 -1 maven/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven/maven.xml,v
retrieving revision 1.97.2.17
retrieving revision 1.97.2.18
diff -u -r1.97.2.17 -r1.97.2.18
--- maven.xml 10 Mar 2004 11:06:50 -0000 1.97.2.17
+++ maven.xml 10 Mar 2004 13:58:57 -0000 1.97.2.18
@@ -245,7 +245,16 @@
<ant:zipfileset dir="${installerDir}"/>
</ant:zip>
- <!-- TODO: nsis installer -->
+ <j:choose>
+ <j:when test="${systemScope['os.name'].startsWith('Windows')}">
+ <j:set var="maven.dist.bin.assembly.dir" value="${installerDir}/${tag}" />
+ <attainGoal name="nsis" />
+ <ant:copy
tofile="${installerDir}/${pom.artifactId}-${pom.currentVersion}.exe"
file="${maven.build.dir}/${pom.artifactId}.exe" />
+ </j:when>
+ <j:otherwise>
+ <ant:echo>WARNING: nsis installer not generated. Run again on windows if
needed.</ant:echo>
+ </j:otherwise>
+ </j:choose>
</goal>
<goal name="maven:generate-install-scripts">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]