Skip to content

Commit

Permalink
Merge pull request #74 from DerGuteMoritz/master
Browse files Browse the repository at this point in the history
Maven build support for Java client
  • Loading branch information
stephenlb committed Mar 8, 2012
2 parents d310279 + 9deb5f6 commit 32e583e
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions java/.gitignore
@@ -0,0 +1 @@
target
4 changes: 2 additions & 2 deletions java/java-build
@@ -1,7 +1,7 @@
#!/bin/bash

echo -e "Building..."
javac -Xlint:deprecation PubnubTest.java
javac -cp src/:. -Xlint:deprecation PubnubTest.java

echo -e "Running:"
java PubnubTest
java -cp src/:. PubnubTest
1 change: 1 addition & 0 deletions java/org/json/.gitignore
@@ -0,0 +1 @@
*.class
Binary file removed java/org/json/JSONArray.class
Binary file not shown.
Binary file removed java/org/json/JSONException.class
Binary file not shown.
Binary file removed java/org/json/JSONObject$1.class
Binary file not shown.
Binary file removed java/org/json/JSONObject$Null.class
Binary file not shown.
Binary file removed java/org/json/JSONObject.class
Binary file not shown.
Binary file removed java/org/json/JSONString.class
Binary file not shown.
Binary file removed java/org/json/JSONTokener.class
Binary file not shown.
20 changes: 20 additions & 0 deletions java/pom.xml
@@ -0,0 +1,20 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>pubnub</groupId>
<artifactId>pubnub</artifactId>
<packaging>jar</packaging>
<version>3.0</version>
<name>pubnub</name>
<url>https://github.com/pubnub/pubnub-api/</url>
<build>
<sourceDirectory>${basedir}/src/</sourceDirectory>
</build>
<dependencies>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20090211</version>
</dependency>
</dependencies>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 32e583e

Please sign in to comment.