[ARVADOS] updated: 0f7fa46c1311ddd2aa6e7f0c280b98a6d69d4ec8
git at public.curoverse.com
git at public.curoverse.com
Sat May 3 17:38:38 EDT 2014
Summary of changes:
sdk/java/README | 43 ++++---------------------------------------
sdk/java/pom.xml | 4 +++-
2 files changed, 7 insertions(+), 40 deletions(-)
via 0f7fa46c1311ddd2aa6e7f0c280b98a6d69d4ec8 (commit)
from 2e04dd8e9f872506922744dd449cccb99b55a847 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 0f7fa46c1311ddd2aa6e7f0c280b98a6d69d4ec8
Author: radhika <radhika at curoverse.com>
Date: Sat May 3 17:37:32 2014 -0400
2525: override the default name for the generated package
diff --git a/sdk/java/README b/sdk/java/README
index 1cdc052..e6794ec 100644
--- a/sdk/java/README
+++ b/sdk/java/README
@@ -44,42 +44,7 @@
- mvn clean package
- This will generate arvados sdk jar file the target directory
-
-
-== Using Arvados SDK at command line
-
- - This section helps understand how to use the SDK from command line
-
- - cd <ARVADOS_HOME/sdk/java
-
- - Getting help
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados help
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados help call
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados help discover
-
-
- - Getting the discovery document
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados discover arvados v1
-
-
- - Making a "call" to the API server
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados call arvados v1 users.list
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados call arvados v1 users.get <uuid>
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados call arvados v1 users.create <filename>
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados call arvados v1 pipeline_templates.list
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados call arvados v1 pipeline_templates.get <uuid>
-
- java -cp target/java-1.0-SNAPSHOT-jar-with-dependencies.jar org.arvados.sdk.java.Arvados call arvados v1 pipeline_templates.create <filename>
+ This will generate arvados sdk jar file in the target directory
== Implementing your code to use SDK
@@ -94,14 +59,14 @@
- To compile ArvadosSDKJavaExample.java
- javac -cp <ARVADOS_HOME>/sdk/java/target/java-1.0-SNAPSHOT-jar-with-dependencies.jar ArvadosSDKJavaExample.java
+ javac -cp <ARVADOS_HOME>/sdk/java/target/arvados-sdk-1.0-jar-with-dependencies.jar ArvadosSDKJavaExample.java
This results in the generation of the ArvadosSDKJavaExample.class file
- in the same dir as the java file
+ in the same directory as the java file
- To run the class file
- java -cp .:<ARVADOS_HOME>/sdk/java/target/java-1.0-SNAPSHOT-jar-with-dependencies.jar ArvadosSDKJavaExample
+ java -cp .:<ARVADOS_HOME>/sdk/java/target/arvados-sdk-1.0-jar-with-dependencies.jar ArvadosSDKJavaExample
== Viewing and managing SDK logging
diff --git a/sdk/java/pom.xml b/sdk/java/pom.xml
index ed0e483..33ba1e5 100644
--- a/sdk/java/pom.xml
+++ b/sdk/java/pom.xml
@@ -7,7 +7,7 @@
<version>1.0-SNAPSHOT</version>
<name>java</name>
<url>http://maven.apache.org</url>
-
+
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
@@ -48,6 +48,8 @@
</dependencies>
<build>
+ <finalName>arvados-sdk-1.0</finalName>
+
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list