------------------------------------------------------------
revno: 1444
committer: Lars Helge Oeverland <[email protected]>
branch nick: trunk
timestamp: Wed 2010-02-17 16:30:19 +0100
message:
Applied patch from Jason. Configured Launch4J maven plugin in Dhis Live
project. mvn package will now produce the exe file readily available in the
target folder. Thanks to Jason for nice work.
modified:
dhis-live/pom.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-live/pom.xml'
--- dhis-live/pom.xml 2009-09-11 17:26:52 +0000
+++ dhis-live/pom.xml 2010-02-17 15:30:19 +0000
@@ -15,6 +15,7 @@
<finalName>dhis2-live</finalName>
<defaultGoal>install</defaultGoal>
<plugins>
+ <!-- Maven Assembly -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
@@ -28,7 +29,8 @@
</manifest>
</archive>
</configuration>
- </plugin>
+ </plugin>
+ <!-- Maven Compiler -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
@@ -36,6 +38,48 @@
<debug>true</debug>
</configuration>
</plugin>
+ <!-- Launch4J -->
+ <plugin>
+ <groupId>org.bluestemsoftware.open.maven.plugin</groupId>
+ <artifactId>launch4j-plugin</artifactId>
+ <version>1.5.0.0</version>
+ <executions>
+ <execution>
+ <id>launch4j</id>
+ <phase>package</phase>
+ <goals>
+ <goal>launch4j</goal>
+ </goals>
+ <configuration>
+ <dontWrapJar>true</dontWrapJar>
+ <headerType>gui</headerType>
+ <outfile>${project.build.directory}/dhis2-live.exe</outfile>
+ <jar>dhis2-live.jar</jar>
+ <errTitle>dhis2</errTitle>
+ <priority>normal</priority>
+ <downloadUrl>http://java.com/download</downloadUrl>
+ <supportUrl>http://dhis2.org</supportUrl>
+ <customProcName>false</customProcName>
+ <stayAlive>false</stayAlive>
+ <manifest></manifest>
+ <icon>${basedir}/util/launch4j/favicon.ico</icon>
+ <singleInstance>
+ <mutexName>dhis-live.mutex</mutexName>
+ <windowTitle></windowTitle>
+ </singleInstance>
+ <jre>
+ <minVersion>1.6.0_14</minVersion>
+ </jre>
+ <splash>
+ <file>${basedir}/util/launch4j/dhis2-splash.bmp</file>
+ <waitForWindow>false</waitForWindow>
+ <timeout>12</timeout>
+ <timeoutErr>false</timeoutErr>
+ </splash>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp