Permalink
Browse files

Move springtravel sample to cloudfoundry-samples org

  • Loading branch information...
1 parent c96c46a commit 7d5da2d214770c1620cfc79faa5f36e9b1d15c77 Jennifer Hickey committed Oct 12, 2011
Showing 1,083 changed files with 1 addition and 40,507 deletions.
@@ -1,15 +1,4 @@
Spring Travel Reference Application
- demonstrates Spring Framework 3 with Web Flow 2.1
-NOTE:
-At this time this sample is fully functional and upgraded.
-However, some work is still in progress as listed below.
-
-Known issues:
-- The sample currently uses an extension for resource handling until mvc:resources support is integrated into Spring Framework 3.1 trunk. This built-in resource handling support in Spring Framework will supercede the ResourceServlet in the Spring JavaScript module (see SPR-7116).
-- JSR303 support is not yet integrated
-
-
-TODO:
- - support user registration using Facebook + Spring Social
- - support RESTful authentication from clients in a secure way (SSL + some sort of shared secret? )
+This sample application has moved to https://github.com/cloudfoundry-samples/spring-travel
@@ -1,71 +0,0 @@
-**********************************
-* Spring Android Showcase
-**********************************
-
-Introduction
-------------
-This project requires set up of the Android SDK, command line tools, Maven, the Maven Android Plugin, and Android Maven artifacts such as Spring dependencies. This document walks step by step through that setup.
-
-
-Development Environment
------------------------
-The Android SDK is required for developing Android applications. Google provides command line tools, and an Eclipse plugin for building Android applications, however you are not restricted to only those options.
-The Maven Android Plugin makes use of the Android SDK command line tools to compile and deploy the app to the emulator, so there is no need for a separate IDE setup or configuration.
-
-
-Install the Android SDK
------------------------
-Download the correct version of the Android SDK for your operating system from the Android web site:
-http://developer.android.com/sdk/index.html
-
-Unzip the archive and place it in a location of your choosing. For example on a Mac, you may want to place it in the root of your user directory. See the download web site for additional installation details.
-
-Add Android to your Path
-Example: a .bash_profile on a Mac:
-$ export ANDROID_HOME=~/android-sdk-mac_x86
-$ export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
-
-
-Install Android SDK Platform
-----------------------------
-The Android SDK download does not include any specific Android platform SDKs. In order to run the sample code you need to download and install the Android 2.3.1 SDK Platform (API Level 9). You accomplish this by using the Android SDK and AVD Manager that was installed from the previous step.
-
-Open the Android SDK and AVD Manager window:
-$ android
-Note: if this command does not open the Android SDK and AVD Manager, then your path is not configured correctly.
-Select Available packages from the left hand column
-Select the checkbox for Android Repository in the main window
-Select SDK Platform Android 2.3.1, API 9, revision 2
-Click the Install Selected button to complete the download and installation.
-Note: you may want to simply install all the available updates, but be aware it will take longer, as each SDK level is a sizable download.
-
-
-Configure an Android Virtual Device
------------------------------------
-http://developer.android.com/guide/developing/tools/avd.html
-Open the Android SDK and AVD Manager window:
-$ android
-Select Virtual devices in the left hand column and click the New button
-Enter 9 in the Name field
-Select Android 2.3.1 API Level 9 in the Target selector
-Click Create AVD to finish
-Note: The sample application is configured to look for an AVD with the name "9". Otherwise, you can name the AVD whatever you like. Using "9" for the name simply is a visual indicator of which API level it uses.
-
-
-Build and Run the Server app
-----------------------------
-$ cd /spring-android-showcase/server
-$ mvn clean install
-Deploy the .war to a Servlet 2.5 or > ServletContainer, such as Tomcat 6.
-Start the server
-
-
-Build and Run the Android Client
---------------------------------
-$ cd /spring-android-showcase/client
-$ mvn clean install
-$ mvn android:emulator-start
-Ensure the emulator is fully initialized and ready or the deploy will fail.
-$ mvn android:deploy
-View Logging
-$ adb logcat
@@ -1,7 +0,0 @@
-*.DS_Store
-bin
-gen
-target
-.project
-.classpath
-.settings
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.springframework.samples.travel.client.android"
- android:versionCode="1"
- android:versionName="1.0" >
-
- <uses-sdk android:minSdkVersion="3"></uses-sdk>
- <uses-permission android:name="android.permission.INTERNET"></uses-permission>
-
- <application
-
- android:label="@string/app_name"
- android:allowClearUserData="true"
- android:theme="@android:style/Theme.Black"
- android:debuggable="true">
-
-
- <activity android:name=".view.HotelSearch" android:configChanges="keyboardHidden|orientation">
- <intent-filter>
-
- <category android:name="android.intent.category.DEFAULT"/>
-
-
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
-
-
- </intent-filter>
- </activity>
-
-
- <activity android:name=".view.SignIn" android:configChanges="keyboardHidden|orientation">
- <intent-filter>
- <category android:name="android.intent.category.DEFAULT"/>
- <action android:name="SIGN_IN"/>
- </intent-filter>
- </activity>
-
- <!--
- todo see http://stackoverflow.com/questions/1512045/how-to-disable-orientation-change-in-android for info on how to properly handle screen rotation and the corresponding state resets
- todo see http://www.androidpeople.com/android-rotate-emulator for information on howt to test it
- -->
-
- <activity android:name=".view.booking.BookHotel" android:configChanges="keyboardHidden|orientation">
- <intent-filter>
-
- <category android:name="android.intent.category.DEFAULT"/>
- <action android:name="BOOK_HOTEL"/>
-
-
-<!--
-
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
--->
-
- </intent-filter>
- </activity>
- <activity android:name=".view.UserHome" android:configChanges="keyboardHidden|orientation">
- <intent-filter>
- <category android:name="android.intent.category.DEFAULT"/>
- <!--<action android:name="SHOW_USER_HOME"/>-->
- </intent-filter>
-
- </activity>
-
- <activity android:name=".view.HotelSearchResults" android:configChanges="keyboardHidden|orientation">
- <intent-filter>
- <category android:name="android.intent.category.DEFAULT"/>
- <action android:name="SHOW_HOTEL_LIST"/>
- </intent-filter>
-
- </activity>
-
-
- </application>
-
-</manifest>
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "build.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=android-3
@@ -1,172 +0,0 @@
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.springframework.samples</groupId>
- <artifactId>travel-android-client</artifactId>
- <name>travel-android-client</name>
- <version>1.0.0-BUILD-SNAPSHOT</version>
-
- <packaging>apk</packaging>
-
- <organization>
- <name>SpringSource</name>
- <url>http://www.springsource.org</url>
- </organization>
-
- <properties>
- <android-platform>10</android-platform>
- <android-emulator>10</android-emulator>
- <maven-android-plugin-version>2.8.4</maven-android-plugin-version>
- <maven-compiler-plugin-version>2.3.2</maven-compiler-plugin-version>
- <!--<android-version>1.5_r4</android-version>-->
- <android-version>2.3.1</android-version>
- <spring-android-version>1.0.0.BUILD-SNAPSHOT</spring-android-version>
- <spring-social-version>1.0.0.M2</spring-social-version>
- <jackson-version>1.7.3</jackson-version>
- <simple-version>2.4.1</simple-version>
- <android-rome-version>1.0.0-r2</android-rome-version>
- </properties>
-
- <build>
- <sourceDirectory>src</sourceDirectory>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>com.jayway.maven.plugins.android.generation2</groupId>
- <artifactId>maven-android-plugin</artifactId>
- <version>${maven-android-plugin-version}</version>
- <configuration>
- <sdk>
- <platform>${android-platform}</platform>
- </sdk>
- <emulator>
- <avd>${android-emulator}</avd>
- </emulator>
- <deleteConflictingFiles>true</deleteConflictingFiles>
- <undeployBeforeDeploy>true</undeployBeforeDeploy>
- </configuration>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin-version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>com.google.android</groupId>
- <artifactId>android</artifactId>
- <version>${android-version}</version>
- <scope>provided</scope>
- </dependency> <!--
- <dependency>
- <groupId>com.google.android</groupId>
- <artifactId>android-widgets</artifactId>
- <version>${android-version}</version>
- <scope>provided</scope>
- </dependency> -->
- <dependency>
- <groupId>org.springframework.android</groupId>
- <artifactId>spring-android-rest-template</artifactId>
- <version>${spring-android-version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.android</groupId>
- <artifactId>spring-android-auth</artifactId>
- <version>${spring-android-version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.social</groupId>
- <artifactId>spring-social-twitter</artifactId>
- <version>${spring-social-version}</version>
- <exclusions>
- <exclusion>
- <artifactId>spring-social-web</artifactId>
- <groupId>org.springframework.social</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <!-- Using Jackson for JSON marshaling -->
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>${jackson-version}</version>
- </dependency>
- <dependency>
- <!-- Using Simple for XML marshaling -->
- <groupId>org.simpleframework</groupId>
- <artifactId>simple-xml</artifactId>
- <version>${simple-version}</version>
- <exclusions>
- <exclusion>
- <artifactId>stax</artifactId>
- <groupId>stax</groupId>
- </exclusion>
- <exclusion>
- <artifactId>stax-api</artifactId>
- <groupId>stax</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <!-- Using ROME for RSS and ATOM feeds -->
- <groupId>com.google.code.android-rome-feed-reader</groupId>
- <artifactId>android-rome-feed-reader</artifactId>
- <version>${android-rome-version}</version>
- </dependency>
- </dependencies>
-
- <repositories>
- <!-- For developing with Android ROME Feed Reader -->
- <repository>
- <id>android-rome-feed-reader-repository</id>
- <name>Android ROME Feed Reader Repository</name>
- <url>https://android-rome-feed-reader.googlecode.com/svn/maven2/releases</url>
- </repository>
- <!-- For testing against latest Spring snapshots -->
- <repository>
- <id>org.springframework.maven.snapshot</id>
- <name>Spring Maven Snapshot Repository</name>
- <url>http://maven.springframework.org/snapshot</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <!-- For developing against latest Spring milestones -->
- <repository>
- <id>org.springframework.maven.milestone</id>
- <name>Spring Maven Milestone Repository</name>
- <url>http://maven.springframework.org/milestone</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
Oops, something went wrong.

0 comments on commit 7d5da2d

Please sign in to comment.