From 3526711858358253cb4a4cb34914493fdd4487b2 Mon Sep 17 00:00:00 2001 From: Nicole Deflaux Date: Thu, 3 Sep 2015 10:45:43 -0700 Subject: [PATCH 1/4] Add a note for Eclipse users and local builds. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d121ba..32bdcd8 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,17 @@ Use a recent version of [Apache Maven](http://maven.apache.org/download.cgi) (e. cd utils-java mvn package -If you wish to modify this code while also modifying a project that depends upon it (e.g., [dataflow-java](https://github.com/googlegenomics/dataflow-java), just +If you wish to modify this code while also modifying a project that depends upon it (e.g., [dataflow-java](https://github.com/googlegenomics/dataflow-java)), just 1. Build and install the jar to your local maven repository via `mvn install`. 2. Then update the pom.xml of the dependent project to temporarily depend upon the particular SNAPSHOT version of utils-java now installed in your local maven repository. +Eclipse users: + * First update the dependencies in your poms first to point to the SNAPSHOT versions as mentioned above. + * Then for each of utils-java, dataflow-java, etc... in Eclipse do: `File -> Import -> Maven -> Existing Maven Projects` + * If at any point in Eclipse becomes confused (lot of red X's) in Eclipse do: `Project -> Clean -> Clean All Projects` + + ##gRPC This project now includes code for calling the Genomics API using gRPC. Calling the API with gRPC should greatly improve performance but is still experimental (alpha). To use From 42c164bcdaa96fabb38da14133a3948fafee4414 Mon Sep 17 00:00:00 2001 From: Nicole Deflaux Date: Thu, 3 Sep 2015 10:48:05 -0700 Subject: [PATCH 2/4] Fix typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32bdcd8..fc49a10 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ If you wish to modify this code while also modifying a project that depends upon 2. Then update the pom.xml of the dependent project to temporarily depend upon the particular SNAPSHOT version of utils-java now installed in your local maven repository. Eclipse users: - * First update the dependencies in your poms first to point to the SNAPSHOT versions as mentioned above. + * First update the dependencies in your poms to point to the SNAPSHOT versions as mentioned above. * Then for each of utils-java, dataflow-java, etc... in Eclipse do: `File -> Import -> Maven -> Existing Maven Projects` * If at any point in Eclipse becomes confused (lot of red X's) in Eclipse do: `Project -> Clean -> Clean All Projects` From 9f5bbd0b393006e1556395fd5fd4dd9c74783b9d Mon Sep 17 00:00:00 2001 From: Nicole Deflaux Date: Thu, 3 Sep 2015 11:02:31 -0700 Subject: [PATCH 3/4] Nest eclipse instructions to clarify context. --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fc49a10..592ad39 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,11 @@ If you wish to modify this code while also modifying a project that depends upon 1. Build and install the jar to your local maven repository via `mvn install`. 2. Then update the pom.xml of the dependent project to temporarily depend upon the particular SNAPSHOT version of utils-java now installed in your local maven repository. - -Eclipse users: - * First update the dependencies in your poms to point to the SNAPSHOT versions as mentioned above. - * Then for each of utils-java, dataflow-java, etc... in Eclipse do: `File -> Import -> Maven -> Existing Maven Projects` - * If at any point in Eclipse becomes confused (lot of red X's) in Eclipse do: `Project -> Clean -> Clean All Projects` + 3. Eclipse users: + * First update the dependencies in your poms to point to the SNAPSHOT versions as mentioned above. + * Then for each of utils-java, dataflow-java, etc... in Eclipse do: `File -> Import -> Maven -> Existing Maven Projects` + * If at any point in Eclipse becomes confused (lot of red X's) in Eclipse do: `Project -> Clean -> Clean All Projects` - ##gRPC This project now includes code for calling the Genomics API using gRPC. Calling the API with gRPC should greatly improve performance but is still experimental (alpha). To use From 914b7e3e312d6a186cc08062c4ba0f332770eb55 Mon Sep 17 00:00:00 2001 From: Nicole Deflaux Date: Thu, 3 Sep 2015 11:15:13 -0700 Subject: [PATCH 4/4] Add an example pom change. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 592ad39..75883b6 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,9 @@ Use a recent version of [Apache Maven](http://maven.apache.org/download.cgi) (e. If you wish to modify this code while also modifying a project that depends upon it (e.g., [dataflow-java](https://github.com/googlegenomics/dataflow-java)), just 1. Build and install the jar to your local maven repository via `mvn install`. - 2. Then update the pom.xml of the dependent project to temporarily depend upon the particular SNAPSHOT version of utils-java now installed in your local maven repository. + 2. Then update the pom.xml of the dependent project to temporarily depend upon the particular SNAPSHOT version of utils-java now installed in your local maven repository. For example, make a change similar to [this](https://github.com/googlegenomics/dataflow-java/commit/17122798d579e593470c864868a46092f8795dfa) but only in your local copy of pom.xml open for editing. 3. Eclipse users: - * First update the dependencies in your poms to point to the SNAPSHOT versions as mentioned above. - * Then for each of utils-java, dataflow-java, etc... in Eclipse do: `File -> Import -> Maven -> Existing Maven Projects` + * For each of utils-java, dataflow-java, etc... in Eclipse do: `File -> Import -> Maven -> Existing Maven Projects` * If at any point in Eclipse becomes confused (lot of red X's) in Eclipse do: `Project -> Clean -> Clean All Projects` ##gRPC