build fr.strasweb.browserquest with ant

This commit is contained in:
David Black 2013-03-18 16:23:51 +00:00
parent c169dbba09
commit 9922320fbb
2 changed files with 24 additions and 5 deletions

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<project name="Java-WebSocket" default="jar" basedir=".">
<target name="compile" description="Compile source">
<mkdir dir="bin" />
<javac srcdir="src" classpath="lib/cordova-1.9.0.jar;lib/android.jar" includes="**" destdir="bin" />
</target>
<target name="jar" description="Package into JAR" depends="compile">
<jar destfile="websocket-cordova-plugin-1.0-SNAPSHOT.jar" basedir="bin" compress="true" />
</target>
</project>

View file

@ -19,14 +19,21 @@ to speak to others. Content is licensed as CC-BY-SA.
Repo Type:git-svn Repo Type:git-svn
Repo:https://svn.strasweb.fr/rudloff/browserquest Repo:https://svn.strasweb.fr/rudloff/browserquest
Build Version:1.0.1,3,143,prebuild=\ #Build problems
#Build Version:1.0.1,3,143,prebuild=\
#git clone https://github.com/claudemamo/Java-WebSocket && \
#mvn package -f Java-WebSocket/pom.xml && \
#mv Java-WebSocket/target/websocket-cordova-plugin-1.0-SNAPSHOT.jar libs/
Build Version:1.0.1,3,143,extlibs=Java-WebSocket.build.xml,prebuild=\
git clone https://github.com/claudemamo/Java-WebSocket && \ git clone https://github.com/claudemamo/Java-WebSocket && \
mvn package -f Java-WebSocket/pom.xml && \ mv libs/Java-WebSocket.build.xml Java-WebSocket/build.xml && \
mv Java-WebSocket/target/websocket-cordova-plugin-1.0-SNAPSHOT.jar libs/ sed -i 's@lib\/android.jar@$$SDK$$\/platforms\/android-14\/android.jar@g' Java-WebSocket/build.xml && \
ant -f Java-WebSocket/build.xml && mv Java-WebSocket/*.jar libs/
Auto Update Mode:None Auto Update Mode:None
#No reviews yet on Market #No reviews yet on Market
Update Check Mode:None Update Check Mode:None
Current Version:1.0 Current Version:1.0.1
Current Version Code:2 Current Version Code:3