Commit dd16e3cc authored by Matija Obreza's avatar Matija Obreza

Added 'anno-gui-package' module for windows and linux zips

parent e40502ec
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>anno-gui-package</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
main.class=org.genesys2.anno.gui.AppWindow
classpath.1=lib\*.jar
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>linux-gtk-x86</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>${project.build.finalName}-x86</baseDirectory>
<files>
<file>
<source>bin/genesysmagic.sh</source>
<destName>genesysmagic.sh</destName>
<fileMode>0755</fileMode>
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<scope>runtime</scope>
<excludes>
<exclude>org.eclipse.swt.org.eclipse.swt.win32.win32.x86.4.3.swt:org.eclipse.swt.win32.win32.x86:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.win32.win32.x86_64.4.3.swt:org.eclipse.swt.win32.win32.x86_64:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.gtk.linux.x86_64.4.3.swt:org.eclipse.swt.gtk.linux.x86_64:jar:4.3</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>
\ No newline at end of file
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>linux-gtk-x86_64</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>${project.build.finalName}-x86_64</baseDirectory>
<files>
<file>
<source>bin/genesysmagic.sh</source>
<destName>genesysmagic.sh</destName>
<fileMode>0755</fileMode>
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<scope>runtime</scope>
<excludes>
<exclude>org.eclipse.swt.org.eclipse.swt.win32.win32.x86.4.3.swt:org.eclipse.swt.win32.win32.x86:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.win32.win32.x86_64.4.3.swt:org.eclipse.swt.win32.win32.x86_64:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.gtk.linux.x86.4.3.swt:org.eclipse.swt.gtk.linux.x86:jar:4.3</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>
\ No newline at end of file
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>win-x86</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>${project.build.finalName}-x86</baseDirectory>
<files>
<file>
<source>bin/Genesys Magic 32.exe</source>
<destName>Genesys Magic.exe</destName>
<fileMode>0777</fileMode>
</file>
<file>
<source>bin/Genesys Magic.ini</source>
<fileMode>0444</fileMode>
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<scope>runtime</scope>
<excludes>
<exclude>org.eclipse.swt.org.eclipse.swt.win32.win32.x86_64.4.3.swt:org.eclipse.swt.win32.win32.x86_64:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.gtk.linux.x86.4.3.swt:org.eclipse.swt.gtk.linux.x86:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.gtk.linux.x86_64.4.3.swt:org.eclipse.swt.gtk.linux.x86_64:jar:4.3</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>
\ No newline at end of file
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>win-x64_64</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>${project.build.finalName}-x64_64</baseDirectory>
<files>
<file>
<source>bin/Genesys Magic 64.exe</source>
<destName>Genesys Magic.exe</destName>
<fileMode>0777</fileMode>
</file>
<file>
<source>bin/Genesys Magic.ini</source>
<fileMode>0444</fileMode>
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<scope>runtime</scope>
<excludes>
<exclude>org.eclipse.swt.org.eclipse.swt.win32.win32.x86.4.3.swt:org.eclipse.swt.win32.win32.x86:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.gtk.linux.x86.4.3.swt:org.eclipse.swt.gtk.linux.x86:jar:4.3</exclude>
<exclude>org.eclipse.swt.org.eclipse.swt.gtk.linux.x86_64.4.3.swt:org.eclipse.swt.gtk.linux.x86_64:jar:4.3</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>
\ No newline at end of file
#!/bin/sh
JAVA_BIN=java
BASEDIR=`dirname $0`
echo "BASEDIR: ${BASEDIR}"
CLASSPATH=`find $BASEDIR/lib -type f -iname *jar | xargs | tr ' ' ':'`
echo "Classpath: ${CLASSPATH}"
exec $JAVA_BIN -cp "$CLASSPATH" org.genesys2.anno.gui.AppWindow
<project 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/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.genesys2</groupId>
<artifactId>anno</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>anno-gui-package</artifactId>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<descriptors>
<descriptor>bin/assembly-win32.xml</descriptor>
<descriptor>bin/assembly-win64.xml</descriptor>
<descriptor>bin/assembly-linux-gtk32.xml</descriptor>
<descriptor>bin/assembly-linux-gtk64.xml</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.genesys2</groupId>
<artifactId>anno-gui</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>
org.eclipse.swt.org.eclipse.swt.win32.win32.x86.4.3.swt
</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
<version>4.3</version>
</dependency>
<dependency>
<groupId>
org.eclipse.swt.org.eclipse.swt.win32.win32.x86_64.4.3.swt
</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
<version>4.3</version>
</dependency>
<dependency>
<groupId>
org.eclipse.swt.org.eclipse.swt.gtk.linux.x86_64.4.3.swt
</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
<version>4.3</version>
</dependency>
<dependency>
<groupId>
org.eclipse.swt.org.eclipse.swt.gtk.linux.x86.4.3.swt
</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86</artifactId>
<version>4.3</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -8,6 +8,7 @@
<name>Data annotator</name>
<modules>
<module>anno-gui</module>
<module>anno-gui-package</module>
<module>anno-gui-macosx</module>
</modules>
</project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment