summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2014-01-28 00:20:37 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2014-01-28 00:20:37 +0000
commitb39e0c0634e2e55a42905797bd5826940c649fe0 (patch)
tree778668848c47fe73e5bce9a8144e6abeb82d3a60 /pdf-over-gui
parent3d74d6ccbf46c0dd5ce2358d880f25d88f3f13bc (diff)
downloadmocca-b39e0c0634e2e55a42905797bd5826940c649fe0.tar.gz
mocca-b39e0c0634e2e55a42905797bd5826940c649fe0.tar.bz2
mocca-b39e0c0634e2e55a42905797bd5826940c649fe0.zip
Don't store swt libs in resources
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@484 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/pom.xml66
-rw-r--r--pdf-over-gui/src/main/resources/lib-swt/swt-linux-32.jarbin1727233 -> 0 bytes
-rw-r--r--pdf-over-gui/src/main/resources/lib-swt/swt-linux-64.jarbin1878198 -> 0 bytes
-rw-r--r--pdf-over-gui/src/main/resources/lib-swt/swt-mac-32.jarbin2017452 -> 0 bytes
-rw-r--r--pdf-over-gui/src/main/resources/lib-swt/swt-mac-64.jarbin1919744 -> 0 bytes
-rw-r--r--pdf-over-gui/src/main/resources/lib-swt/swt-windows-32.jarbin1922621 -> 0 bytes
-rw-r--r--pdf-over-gui/src/main/resources/lib-swt/swt-windows-64.jarbin1935825 -> 0 bytes
7 files changed, 55 insertions, 11 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index ef18d8fe..8eb82cd1 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -13,7 +13,7 @@
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>${swt.artifactId}</artifactId>
- <version>4.3</version>
+ <version>${swt.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.izpack</groupId>
@@ -126,6 +126,35 @@
<excludeGroupIds>org.codehaus.izpack,org.eclipse.swt</excludeGroupIds>
</configuration>
</execution>
+ <execution>
+ <id>copy</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.eclipse.swt</groupId>
+ <artifactId>${swt.artifactId.32}</artifactId>
+ <version>${swt.version}</version>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>${staging.dir}/lib-swt</outputDirectory>
+ <destFileName>swt-${target.name}-32.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.eclipse.swt</groupId>
+ <artifactId>${swt.artifactId.64}</artifactId>
+ <version>${swt.version}</version>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>${staging.dir}/lib-swt</outputDirectory>
+ <destFileName>swt-${target.name}-64.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -167,7 +196,6 @@
<directory>src/main/resources</directory>
<includes>
<include>icons/*</include>
- <include>lib-swt/swt-${target.name}-*</include>
<include>scripts/*</include>
<include>ReadMe.txt</include>
</includes>
@@ -343,7 +371,6 @@
<directory>src/main/resources</directory>
<excludes>
<exclude>izpack/*</exclude>
- <exclude>lib-swt/*</exclude>
<exclude>scripts/*</exclude>
<exclude>ReadMe.txt</exclude>
<exclude>keystore.jks</exclude>
@@ -357,6 +384,7 @@
<project.maindir>${project.basedir}/..</project.maindir>
<target.name>linux</target.name>
<staging.dir>${project.build.directory}/staging/${target.name}</staging.dir>
+ <swt.version>4.3</swt.version>
</properties>
<profiles>
@@ -373,7 +401,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.gtk.linux.x86</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.64}</swt.artifactId>
<target.name>linux</target.name>
</properties>
</profile>
@@ -386,7 +416,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.gtk.linux.x86</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.32}</swt.artifactId>
<target.name>linux</target.name>
</properties>
</profile>
@@ -400,7 +432,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.win32.win32.x86</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.win32.win32.x86</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.win32.win32.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.32}</swt.artifactId>
<target.name>windows</target.name>
</properties>
</profile>
@@ -413,7 +447,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.win32.win32.x86_64</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.win32.win32.x86</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.win32.win32.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.64}</swt.artifactId>
<target.name>windows</target.name>
</properties>
</profile>
@@ -427,7 +463,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.cocoa.macosx</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.cocoa.macosx</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.32}</swt.artifactId>
<target.name>mac</target.name>
</properties>
</profile>
@@ -440,7 +478,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.cocoa.macosx</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.cocoa.macosx</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.32}</swt.artifactId>
<target.name>mac</target.name>
</properties>
</profile>
@@ -453,7 +493,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.cocoa.macosx</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.64}</swt.artifactId>
<target.name>mac</target.name>
</properties>
</profile>
@@ -466,7 +508,9 @@
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId>
+ <swt.artifactId.32>org.eclipse.swt.cocoa.macosx</swt.artifactId.32>
+ <swt.artifactId.64>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId.64>
+ <swt.artifactId>${swt.artifactId.64}</swt.artifactId>
<target.name>mac</target.name>
</properties>
</profile>
diff --git a/pdf-over-gui/src/main/resources/lib-swt/swt-linux-32.jar b/pdf-over-gui/src/main/resources/lib-swt/swt-linux-32.jar
deleted file mode 100644
index 6fc5ea40..00000000
--- a/pdf-over-gui/src/main/resources/lib-swt/swt-linux-32.jar
+++ /dev/null
Binary files differ
diff --git a/pdf-over-gui/src/main/resources/lib-swt/swt-linux-64.jar b/pdf-over-gui/src/main/resources/lib-swt/swt-linux-64.jar
deleted file mode 100644
index fa03f666..00000000
--- a/pdf-over-gui/src/main/resources/lib-swt/swt-linux-64.jar
+++ /dev/null
Binary files differ
diff --git a/pdf-over-gui/src/main/resources/lib-swt/swt-mac-32.jar b/pdf-over-gui/src/main/resources/lib-swt/swt-mac-32.jar
deleted file mode 100644
index 0aa88319..00000000
--- a/pdf-over-gui/src/main/resources/lib-swt/swt-mac-32.jar
+++ /dev/null
Binary files differ
diff --git a/pdf-over-gui/src/main/resources/lib-swt/swt-mac-64.jar b/pdf-over-gui/src/main/resources/lib-swt/swt-mac-64.jar
deleted file mode 100644
index a931dd3f..00000000
--- a/pdf-over-gui/src/main/resources/lib-swt/swt-mac-64.jar
+++ /dev/null
Binary files differ
diff --git a/pdf-over-gui/src/main/resources/lib-swt/swt-windows-32.jar b/pdf-over-gui/src/main/resources/lib-swt/swt-windows-32.jar
deleted file mode 100644
index bccb67d8..00000000
--- a/pdf-over-gui/src/main/resources/lib-swt/swt-windows-32.jar
+++ /dev/null
Binary files differ
diff --git a/pdf-over-gui/src/main/resources/lib-swt/swt-windows-64.jar b/pdf-over-gui/src/main/resources/lib-swt/swt-windows-64.jar
deleted file mode 100644
index 916306b0..00000000
--- a/pdf-over-gui/src/main/resources/lib-swt/swt-windows-64.jar
+++ /dev/null
Binary files differ