r2703 - in trunk/lima-main/src: main/assembly site site/devel
Author: echatellier Date: 2009-09-11 16:20:11 +0200 (Fri, 11 Sep 2009) New Revision: 2703 Added: trunk/lima-main/src/main/assembly/lima.exe trunk/lima-main/src/site/devel/ trunk/lima-main/src/site/devel/packaging.rst Removed: trunk/lima-main/src/main/assembly/go.bat Modified: trunk/lima-main/src/main/assembly/bin.xml trunk/lima-main/src/main/assembly/go.sh Log: Ajout du launcher Windows (non inclut au build maven pour le moment). Modified: trunk/lima-main/src/main/assembly/bin.xml =================================================================== --- trunk/lima-main/src/main/assembly/bin.xml 2009-09-11 13:53:06 UTC (rev 2702) +++ trunk/lima-main/src/main/assembly/bin.xml 2009-09-11 14:20:11 UTC (rev 2703) @@ -1,18 +1,11 @@ -<assembly> - <id>bin</id> +<?xml version="1.0" encoding="UTF-8"?> +<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.1.xsd"> +<!--<id>bin</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> - <!--dependencySets> - <dependencySet> - <outputDirectory>lima/lib</outputDirectory> - <includes> - <include>*:jar:*</include> - </includes> - <scope>runtime</scope> - </dependencySet> - </dependencySets--> <fileSets> <fileSet> @@ -61,5 +54,41 @@ </includes> </fileSet> - </fileSets> + </fileSets>--> + + <id>bin</id> + <formats> + <format>zip</format> + </formats> + <dependencySets> + <dependencySet> + <outputDirectory>lib</outputDirectory> + <excludes> + <exclude>junit:junit</exclude> + <exclude>${artifact.groupId}:${artifact.artifactId}</exclude> + </excludes> + <scope>runtime</scope> + </dependencySet> + </dependencySets> + <files> + <file> + <source>target/${project.build.finalName}.${project.packaging}</source> + <destName>lima.${project.packaging}</destName> + </file> + <file> + <source>src/main/assembly/lima.exe</source> + </file> + <file> + <source>src/main/assembly/go.sh</source> + <fileMode>0755</fileMode> + </file> + </files> + <fileSets> + <fileSet> + <includes> + <include>README*</include> + <include>LICENSE*</include> + </includes> + </fileSet> + </fileSets> </assembly> \ No newline at end of file Deleted: trunk/lima-main/src/main/assembly/go.bat =================================================================== --- trunk/lima-main/src/main/assembly/go.bat 2009-09-11 13:53:06 UTC (rev 2702) +++ trunk/lima-main/src/main/assembly/go.bat 2009-09-11 14:20:11 UTC (rev 2703) @@ -1 +0,0 @@ -java -Xmx512M -Xms512M -jar ${project.build.finalName}.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Modified: trunk/lima-main/src/main/assembly/go.sh =================================================================== --- trunk/lima-main/src/main/assembly/go.sh 2009-09-11 13:53:06 UTC (rev 2702) +++ trunk/lima-main/src/main/assembly/go.sh 2009-09-11 14:20:11 UTC (rev 2703) @@ -1,4 +1,4 @@ #!/bin/sh MX=512M -java -Xmx$MX -Xms$MX -jar ${project.build.finalName}.jar "$@" \ No newline at end of file +java -Xmx$MX -Xms$MX -jar lima.jar "$@" \ No newline at end of file Added: trunk/lima-main/src/main/assembly/lima.exe =================================================================== (Binary files differ) Property changes on: trunk/lima-main/src/main/assembly/lima.exe ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/lima-main/src/site/devel/packaging.rst =================================================================== --- trunk/lima-main/src/site/devel/packaging.rst (rev 0) +++ trunk/lima-main/src/site/devel/packaging.rst 2009-09-11 14:20:11 UTC (rev 2703) @@ -0,0 +1,31 @@ +Packaging windows +----------------- + +Le packaging Windows a été effectué avec cette configuration. +Il n'est pas inclut dans le pom en attendant la résoluation de 2 bugs. +Seul le resultat exe est dans l'assembly. + +<plugin> + <groupId>org.bluestemsoftware.open.maven.plugin</groupId> + <artifactId>launch4j-plugin</artifactId> + <version>1.0.0.3-SNAPSHOT</version> + <executions> + <execution> + <id>launch4j</id> + <phase>package</phase> + <goals> + <goal>launch4j</goal> + </goals> + <configuration> + <dontWrapJar>true</dontWrapJar> + <headerType>gui</headerType> + <outfile>target/lima.exe</outfile> + <jar>lima.jar</jar> + <errTitle>${project.name}</errTitle> + <jre> + <minVersion>1.6.0</minVersion> + </jre> + </configuration> + </execution> + </executions> + </plugin> \ No newline at end of file
participants (1)
-
echatellier@users.chorem.org