|
From: <de...@us...> - 2013-07-11 20:26:29
|
Revision: 8435
http://sourceforge.net/p/fudaa/svn/8435
Author: deniger
Date: 2013-07-11 20:26:23 +0000 (Thu, 11 Jul 2013)
Log Message:
-----------
CRUE-554
Modified Paths:
--------------
trunk/soft/fudaa-crue/ui-application/pom.xml
Added Paths:
-----------
trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/
trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/ReplaceVistaIcon.exe
trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/icon.ico
Modified: trunk/soft/fudaa-crue/ui-application/pom.xml
===================================================================
--- trunk/soft/fudaa-crue/ui-application/pom.xml 2013-07-10 21:30:18 UTC (rev 8434)
+++ trunk/soft/fudaa-crue/ui-application/pom.xml 2013-07-11 20:26:23 UTC (rev 8435)
@@ -165,5 +165,99 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>replace-icon-unix</id>
+ <activation>
+ <os>
+ <family>Unix</family>
+ </os>
+ <file>
+ <exists>${wine.bottle}\drive_c\${resourcehacker.installdir}\ResHacker.exe</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+
+ <echo message ="Replacing icon of Windows launcher executable" />
+ <!-- replace executable with ResHacker.exe path on windows -->
+ <exec executable="wine" resolveexecutable="true" logerror="true">
+ <!-- replace value with location of installation bottle, or remove on windows -->
+ <env key="WINEPREFIX" value="${wine.bottle}" />
+ <!-- remove this argument when running on windows -->
+ <arg value="${resourcehacker.installdir}\ResHacker.exe"/>
+ <arg value="-addoverwrite"/>
+ <arg value="${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe,"/>
+ <arg value="${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe,"/>
+ <arg value="${application.ico},"/>
+ <arg value="ICONGROUP,"/>
+ <arg value="MAINICON,"/>
+ <arg value="0"/>
+ </exec>
+
+ <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}.zip" update="true">
+ <zipfileset dir="${project.build.directory}/${brandingToken}/bin" includes="*.exe" prefix="${brandingToken}/bin" />
+ </zip>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>release</id>
+ <activation>
+ <file>
+ <exists>${basedir}/src/main/resources/installer/ReplaceVistaIcon.exe</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>icon</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <echo message ="Replacing icon of Windows launcher executable" />
+ <exec
+ executable="${basedir}/src/main/resources/installer/ReplaceVistaIcon.exe"
+ resolveexecutable="true">
+ <arg
+ line="${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe ${basedir}/src/main/resources/installer/icon.ico"/>
+ </exec>
+ <zip
+ destfile="${project.build.directory}/Fudaa-Crue-${project.version}.zip"
+ update="true" >
+ <zipfileset dir="target/${brandingToken}/bin"
+ includes="${brandingToken}.exe" prefix="${brandingToken}/bin" />
+ </zip>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
Added: trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/ReplaceVistaIcon.exe
===================================================================
(Binary files differ)
Index: trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/ReplaceVistaIcon.exe
===================================================================
--- trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/ReplaceVistaIcon.exe 2013-07-10 21:30:18 UTC (rev 8434)
+++ trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/ReplaceVistaIcon.exe 2013-07-11 20:26:23 UTC (rev 8435)
Property changes on: trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/ReplaceVistaIcon.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/icon.ico
===================================================================
(Binary files differ)
Index: trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/icon.ico
===================================================================
--- trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/icon.ico 2013-07-10 21:30:18 UTC (rev 8434)
+++ trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/icon.ico 2013-07-11 20:26:23 UTC (rev 8435)
Property changes on: trunk/soft/fudaa-crue/ui-application/src/main/resources/installer/icon.ico
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|