dion 2004/07/05 05:39:38
Modified: nsis/xdocs customizing.xml changes.xml
nsis/src/plugin-resources/templates project.jelly
Log:
MPNSIS-6. Add project url to constants
Revision Changes Path
1.6 +4 -3 maven-plugins/nsis/xdocs/customizing.xml
Index: customizing.xml
===================================================================
RCS file: /home/cvs/maven-plugins/nsis/xdocs/customizing.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- customizing.xml 5 Jul 2004 05:33:15 -0000 1.5
+++ customizing.xml 5 Jul 2004 12:39:38 -0000 1.6
@@ -84,17 +84,18 @@
<tr><th>Constant</th> <th>Value</th></tr>
<tr><td>ORGANIZATION</td> <td>${pom.organization}</td></tr>
<tr><td>PROJECT_BUILD_DIR</td> <td>${maven.build.dir}</td></tr>
+ <tr><td>PROJECT_DIST_BIN_DIR</td>
<td>${maven.dist.bin.assembly.dir}</td></tr>
+ <tr><td>PROJECT_DIST_DIR</td> <td>${maven.dist.dir}</td></tr>
<tr><td>PROJECT_FINAL_NAME</td> <td>${maven.final.name}</td></tr>
<tr><td>PROJECT_LICENSE_FILE</td>
<td>${maven.license.licenseFile}</td></tr>
<tr><td>PROJECT_LICENSE_TEXT</td>
<td>${maven.nsis.license.text}</td></tr>
+ <tr><td>PROJECT_LOGO</td> <td>${maven.nsis.logo}</td></tr>
<tr><td>PROJECT_NAME</td> <td>${pom.name}</td></tr>
<tr><td>PROJECT_REG_KEY</td>
<td>SOFTWARE\${pom.organization}\${pom.name}\${pom.currentVersion}</td></tr>
<tr><td>PROJECT_REG_UNINSTALL_KEY</td>
<td>Software\Microsoft\Windows\CurrentVersion\Uninstall\${pom.name}
${pom.currentVersion}</td></tr>
<tr><td>PROJECT_STARTMENU_FOLDER</td>
<td>$$SMPROGRAMS\${pom.organization}\${pom.name} ${pom.currentVersion}</td></tr>
+ <tr><td>PROJECT_URL</td> <td>${pom.url}</td></tr>
<tr><td>PROJECT_VERSION</td> <td>${pom.currentVersion}</td></tr>
- <tr><td>PROJECT_DIST_BIN_DIR</td>
<td>${maven.dist.bin.assembly.dir}</td></tr>
- <tr><td>PROJECT_DIST_DIR</td> <td>${maven.dist.dir}</td></tr>
- <tr><td>PROJECT_LOGO</td> <td>${maven.nsis.logo}</td></tr>
</table>
</subsection>
<subsection name="setup.jelly">
1.6 +3 -0 maven-plugins/nsis/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/nsis/xdocs/changes.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- changes.xml 5 Jul 2004 03:38:33 -0000 1.5
+++ changes.xml 5 Jul 2004 12:39:38 -0000 1.6
@@ -25,6 +25,9 @@
</properties>
<body>
<release version="1.1-SNAPSHOT" date="in CVS">
+ <action dev="dion" type="update" issue="MPNSIS-6" due-to="Geoffrey">
+ Add PROJECT_URL to constants.
+ </action>
<action dev="dion" type="fix">Fix typo in registry uninstall key.</action>
<action dev="dion" type="fix" issue="MPNSIS-2" due-to="Geoffrey">
Generate exe in distributions directory.
1.8 +3 -2 maven-plugins/nsis/src/plugin-resources/templates/project.jelly
Index: project.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/nsis/src/plugin-resources/templates/project.jelly,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- project.jelly 5 Jul 2004 03:38:10 -0000 1.7
+++ project.jelly 5 Jul 2004 12:39:38 -0000 1.8
@@ -33,6 +33,8 @@
!define ORGANIZATION "${pom.organization}"
!define PROJECT_BUILD_DIR "${build}"
+!define PROJECT_DIST_BIN_DIR "${maven.dist.bin.assembly.dir}"
+!define PROJECT_DIST_DIR "${maven.dist.dir}"
!define PROJECT_FINAL_NAME "${maven.final.name}"
<util:available file="${license}">
!define PROJECT_LICENSE_FILE "${license}"
@@ -42,9 +44,8 @@
!define PROJECT_REG_KEY
"SOFTWARE\${pom.organization}\${pom.name}\${pom.currentVersion}"
!define PROJECT_REG_UNINSTALL_KEY
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${pom.name} ${pom.currentVersion}"
!define PROJECT_STARTMENU_FOLDER "$$SMPROGRAMS\${pom.organization}\${pom.name}
${pom.currentVersion}"
+!define PROJECT_URL "${pom.url}"
!define PROJECT_VERSION "${pom.currentVersion}"
-!define PROJECT_DIST_BIN_DIR "${maven.dist.bin.assembly.dir}"
-!define PROJECT_DIST_DIR "${maven.dist.dir}"
<j:set var="logo" value="${maven.nsis.logo}"/>
<j:if test="${!empty(logo)}">
<maven:makeAbsolutePath var="logo" basedir="${basedir}"
path="${maven.nsis.logo}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]