dion 2003/10/13 23:47:53
Modified: nsis/src/plugin-resources/templates project.jelly
Log:
Conditionally define the logo
Revision Changes Path
1.2 +5 -0 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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- project.jelly 14 Oct 2003 06:33:09 -0000 1.1
+++ project.jelly 14 Oct 2003 06:47:53 -0000 1.2
@@ -25,6 +25,11 @@
!define PROJECT_STARTMENU_FOLDER "$$SMPROGRAMS\${pom.organization}\${pom.name}
${pom.currentVersion}"
!define PROJECT_VERSION "${pom.currentVersion}"
!define PROJECT_DIST_DIR "${maven.dist.bin.assembly.dir}"
+<j:set var="logo" value="${maven.nsis.logo}"/>
+<j:if test="${!empty(logo)}">
+ <maven:makeAbsolutePath var="logo" basedir="${basedir}"
path="${maven.nsis.logo}"/>
+ !define PROJECT_LOGO "${maven.nsis.logo}"
+</j:if>
</j:jelly>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]