Skip to content

Commit

Permalink
Build script and os specific poms
Browse files Browse the repository at this point in the history
  • Loading branch information
wuntee committed Feb 9, 2012
1 parent 914204a commit eb73547
Show file tree
Hide file tree
Showing 16 changed files with 441 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Otertool

If you are simply looking to download the tool, please view the releases directory, or follow one of the following links.

Linux x86:
https://github.com/wuntee/otertool/raw/master/release/current/otertool-linux-x86.tar.gz

Linux x86_64:
https://github.com/wuntee/otertool/raw/master/release/current/otertool-linux-x86_64.tar.gz

OSX:
https://github.com/wuntee/otertool/raw/master/release/current/otertool-osx.tar.gz


Each package will have a 'run-(linux|osx).sh' script in it that will pass the necessisary arguments to the JVM.

Any issues should be posted to the github issue page here: https://github.com/wuntee/otertool/issues

If anyone would like to aid in development, drop me an email or twitter message.

mathew.rowley@gmail.com
@wuntee

16 changes: 16 additions & 0 deletions build-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Clear old build
rm -rf release/current && mkdir release/current

# OSX
mkdir release/current/oter-osx && mvn -f pom-osx.xml clean package && mv target/otertool*jar-with-dependencies.jar release/current/oter-osx/otertool.jar && cp resources/run-osx.sh release/current/oter-osx && pushd release/current && tar czvf oter-osx.tar.gz oter-osx && popd

# Linux x86
mkdir release/current/oter-linux-x86 && mvn -f pom-linux-x86.xml clean package && mv target/otertool*jar-with-dependencies.jar release/current/oter-linux-x86/otertool.jar && cp resources/run-linux.sh release/current/oter-linux-x86 && pushd release/current && tar czvf oter-linux-x86.tar.gz oter-linux-x86 && popd

# Linux x86_64
mkdir release/current/oter-linux-x86_64 && mvn -f pom-linux-x86_64.xml clean package && mv target/otertool*jar-with-dependencies.jar release/current/oter-linux-x86_64/otertool.jar && cp resources/run-linux.sh release/current/oter-linux-x86_64 && pushd release/current && tar czvf oter-linux-x86_64.tar.gz oter-linux-x86_64 && popd

# Clean
mvn clean
129 changes: 129 additions & 0 deletions pom-linux-x86.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<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>

<groupId>com.wuntee</groupId>
<artifactId>otertool</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>otertool</name>
<url>http://maven.apache.org</url>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.wuntee.oter.view.Gui</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<version>1.46</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>





<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
<dependency>
<groupId>org.eclipse.core.databinding</groupId>
<artifactId>beans</artifactId>
<version>1.0.0-I20070606-0010</version>
</dependency>
<dependency>
<groupId>org.eclipse.jface</groupId>
<artifactId>databinding</artifactId>
<version>1.1.0-I20070606-0010</version>
</dependency>
<dependency>
<groupId>com.android.prefs</groupId>
<artifactId>androidprefs</artifactId>
<version>r16</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>smali</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>baksmali</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>com.android.sdklib</groupId>
<artifactId>sdklib</artifactId>
<version>1.0</version>
</dependency>
<!-- Uncomment to build for OSX
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
<version>3.7-cocoa-macosx</version>
</dependency>
-->
<!-- Uncomment this to build for Linux -->
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
<version>3.7-gtk-linux</version>
</dependency>
<!-- Uncomment this to build for Linux 64bit
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
<version>3.7-gtk-linux-64</version>
</dependency>
-->

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
</dependencies>
</project>
129 changes: 129 additions & 0 deletions pom-linux-x86_64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<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>

<groupId>com.wuntee</groupId>
<artifactId>otertool</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>otertool</name>
<url>http://maven.apache.org</url>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.wuntee.oter.view.Gui</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<version>1.46</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>





<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
<dependency>
<groupId>org.eclipse.core.databinding</groupId>
<artifactId>beans</artifactId>
<version>1.0.0-I20070606-0010</version>
</dependency>
<dependency>
<groupId>org.eclipse.jface</groupId>
<artifactId>databinding</artifactId>
<version>1.1.0-I20070606-0010</version>
</dependency>
<dependency>
<groupId>com.android.prefs</groupId>
<artifactId>androidprefs</artifactId>
<version>r16</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>smali</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>baksmali</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>com.android.sdklib</groupId>
<artifactId>sdklib</artifactId>
<version>1.0</version>
</dependency>
<!-- Uncomment to build for OSX
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
<version>3.7-cocoa-macosx</version>
</dependency>
-->
<!-- Uncomment this to build for Linux
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
<version>3.7-gtk-linux</version>
</dependency>
-->
<!-- Uncomment this to build for Linux 64bit -->
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>swt</artifactId>
<version>3.7-gtk-linux-64</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit eb73547

Please sign in to comment.