Skip to content

Commit

Permalink
'cloud-storage' -> 'storage'
Browse files Browse the repository at this point in the history
This is to be consistent with the api name used elsewhere.
  • Loading branch information
Jerjou Cheng committed Sep 1, 2015
1 parent da52291 commit e8401f4
Show file tree
Hide file tree
Showing 31 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
<module>taskqueue/deferred</module>
<module>unittests</module>
<module>bigquery</module>
<module>cloud-storage/xml-api/cmdline-sample</module>
<module>cloud-storage/xml-api/serviceaccount-appengine-sample</module>
<module>cloud-storage/storage-transfer</module>
<module>storage/xml-api/cmdline-sample</module>
<module>storage/xml-api/serviceaccount-appengine-sample</module>
<module>storage/storage-transfer</module>
<module>monitoring</module>
</modules>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
java-docs-samples/cloud-storage XML API Examples
java-docs-samples/storage XML API Examples
===================================

Samples used in Google Cloud Storage documentation (https://developers.google.com/storage/docs/xml-api-java-samples).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Using the Command Line Sample
Browse Online
--------------

The main file is [StorageSample.java](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/cloud-storage/xml-api/cmdline-sample/src/main/java/StorageSample.java).
The main file is [StorageSample.java](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/storage/xml-api/cmdline-sample/src/main/java/StorageSample.java).


Setup
Expand All @@ -31,7 +31,7 @@ Command-line Instructions
* You may need to set your `JAVA_HOME`.

```bash
cd java-docs-samples/cloud-storage/xml-api/cmdline-sample
cd java-docs-samples/storage/xml-api/cmdline-sample
# Compile and run
mvn compile install
mvn -q exec:java -Dexec.args="your-bucket-name"
Expand All @@ -55,7 +55,7 @@ Eclipse Instructions
* check on "Download Artifact Sources"
* check on "Download Artifact JavaDoc"

* Create a new project using `cloud-storage/xml-api/cmdline-sample`
* Create a new project using `storage/xml-api/cmdline-sample`

* Create a new Java Project.
* Choose the **Location** of the project to be the location of `cmdline-sample`
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Using the Service Account App Engine Sample
Browse Online
-------------

The main code file is [StorageSample.java](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/cloud-storage/xml-api/serviceaccount-appengine-sample/src/main/java/StorageServiceAccountSample.java).
The main code file is [StorageSample.java](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/storage/xml-api/serviceaccount-appengine-sample/src/main/java/StorageServiceAccountSample.java).

Add Your App Engine Service Account Name to the Project Team
------------------------------------------------------------
Expand All @@ -22,10 +22,10 @@ https://help.github.com/articles/set-up-git).

cd [someDirectory]
git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
cd java-docs-samples/cloud-storage/xml-api/serviceaccount-appengine-sample
cd java-docs-samples/storage/xml-api/serviceaccount-appengine-sample
mvn clean package

To enable logging of HTTP requests and responses (highly recommended when
To enable logging of HTTP requests and responses (highly recommended when
developing), please take a look at logging.properties.

Running and Deploying Your Application from the Command Line
Expand All @@ -45,7 +45,7 @@ If this is the first time you are deploying your application to appspot.com, you
If you've done the above, you can deploy at any time:

mvn appengine:update

If this is the first time you have run "update" on the project, a browser window will open prompting you to log in. Log in with the same Google account the app is registered with.

Set Up a Project in Eclipse
Expand Down

1 comment on commit e8401f4

@johnshunfan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Please sign in to comment.