Browse files

Updated project name to Spring for Android

  • Loading branch information...
1 parent 3df40bd commit 4c38abafe920a40e71f57a3f697575b53abff047 @royclarkson royclarkson committed Mar 4, 2012
View
8 build.gradle
@@ -24,7 +24,7 @@ import org.springframework.build.Version
// -----------------------------------------------------------------------------
// Configuration for the root project
// -----------------------------------------------------------------------------
-description = 'Spring Android'
+description = 'Spring for Android'
abbreviation = 'ANDROID'
apply plugin: 'base'
@@ -133,7 +133,7 @@ configure(javaprojects) {
// @see configure(javaprojects) above for general config
// -----------------------------------------------------------------------------
project('spring-android-core') {
- description = "Spring Android Core"
+ description = "Spring for Android Core"
dependencies {
compile ("com.google.android:android:$androidVersion") {
@@ -143,7 +143,7 @@ project('spring-android-core') {
}
project('spring-android-auth') {
- description = 'Spring Android Auth'
+ description = 'Spring for Android Auth'
dependencies {
compile ("com.google.android:android:$androidVersion") {
@@ -162,7 +162,7 @@ project('spring-android-auth') {
}
project('spring-android-rest-template') {
- description = 'Spring Android Rest Template'
+ description = 'Spring for Android Rest Template'
repositories {
mavenRepo urls: 'https://android-rome-feed-reader.googlecode.com/svn/maven2/releases'
View
4 docs/src/api/overview.html
@@ -1,11 +1,11 @@
<html>
<body>
-This document is the API specification for Spring Android
+This document is the API specification for Spring for Android
<hr/>
<div id="overviewBody">
<p>
If you are interested in commercial training, consultancy, and
- support for Spring Android, please visit <a href="http://www.springsource.com/" target="_top">SpringSource.com</a>.
+ support for Spring for Android, please visit <a href="http://www.springsource.com/" target="_top">SpringSource.com</a>.
</p>
</div>
</body>
View
12 docs/src/info/changelog.txt
@@ -1,4 +1,4 @@
-Spring Android
+Spring for Android
================================
1.0.0.M4 (2011.07.21)
@@ -8,9 +8,9 @@ Minimum Requirements:
Previous Android versions are not officially supported.
New Features
-* Support for Spring Social 1.0.0.RC1 in Spring Android Auth. The known issues
+* Support for Spring Social 1.0.0.RC1 in Spring for Android Auth. The known issues
in Spring Social 1.0.0.M3 have been resolved in the 1.0.0.RC1 release.
-* Support for Spring Security 3.1.0.RC2 in Spring Android Auth
+* Support for Spring Security 3.1.0.RC2 in Spring for Android Auth
* Updated RestTemplate to be compatible with Spring Framework 3.1.0.M2
* Added gzip compression support in Rest Template.
* Added support for Google's Gson, JSON parsing library.
@@ -21,18 +21,18 @@ New Features
Deprecated:
* Deprecated CommonsClientHttpRequestFactory and supporting classes. Commons
Client support is now deprecated in Spring Framework 3.1.0.M2 as well as
- Spring Android.
+ Spring for Android.
1.0.0.M3 (2011.05.10)
New Features
-* Support for Spring Social 1.0.0.M3 through the new Spring Android Auth
+* Support for Spring Social 1.0.0.M3 through the new Spring for Android Auth
library, which includes a SQLite datastore, and Android compatible Spring
Security Encryptors. Spring Social is currently supported in Android
version 2.3.1 (API Level 9) and higher.
* Updated RestTemplate to be compatible with Spring Framework 3.1.0.M1.
-* Separated core functionality into a new Spring Android Core library.
+* Separated core functionality into a new Spring for Android Core library.
* Restored support for CommonsClientHttpRequestFactory.
Known Issues:
View
27 docs/src/info/notice.txt
@@ -1,21 +1,14 @@
- ========================================================================
- == NOTICE file corresponding to section 4 d of the Apache License, ==
- == Version 2.0, in this case for the Spring Android distribution. ==
- ========================================================================
+Spring for Android 1.0.0.BUILD-SNAPSHOT
+Copyright (c) 2010-2012 VMware, Inc. All Rights Reserved.
- This product includes software developed by
- the Apache Software Foundation (http://www.apache.org).
+This product is licensed to you under the Apache License, Version 2.0 (the "License").
+You may not use this product except in compliance with the License.
- The end-user documentation included with a redistribution, if any,
- must include the following acknowledgement:
+This product may include a number of subcomponents with separate copyright notices
+and license terms. Your use of these subcomponents is subject to the terms and
+conditions of the subcomponent's license, as noted in the LICENSE file.
- "This product includes software developed by the Spring Framework
- Project (http://www.springframework.org)."
+This software downloads additional open source software components upon install
+that are distributed under separate terms and conditions. Please see the license
+information provided in the individual software components for more information.
- Alternatively, this acknowledgement may appear in the software itself,
- if and wherever such third-party acknowledgements normally appear.
-
- The names "Spring", "Spring Framework", and "Spring Android" must
- not be used to endorse or promote products derived from this software
- without prior written permission. For written permission, please contact
- enquiries@springsource.com.
View
6 docs/src/info/readme.txt
@@ -1,11 +1,11 @@
-Spring Android 1.0.0.M4 (July 21, 2011)
+Spring for Android 1.0.0.M4 (July 21, 2011)
-----------------------------------------------------------
-The Spring Android project provides support for developing Android based applications.
+The Spring for Android project provides support for developing Android based applications.
To find out what has changed in this release, see 'changelog.txt'
Please consult the documentation located within the 'docs/reference' directory
-of this release and also visit the official Spring Android home at:
+of this release and also visit the official Spring for Android home at:
http://www.springsource.org/spring-android
There you will find links to the forum, issue tracker, and other resources.
View
10 docs/src/reference/docbook/auth.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="auth" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Spring Android Auth Module</title>
+ <title>Spring for Android Auth Module</title>
<section id="auth-introduction">
@@ -35,7 +35,7 @@
<title>Encryption</title>
- <para>The Spring Security Crypto library is not currently supported on Android. To take advantage of the encryption tools in Spring Security, the Android specific class, <link xlink:href="http://static.springsource.org/spring-android/docs/1.0.x/api/org/springframework/security/crypto/encrypt/AndroidEncryptors.html"><classname>AndroidEncryptors</classname></link> has been provided in Spring Android. This class uses an Android compatible <link xlink:href="http://developer.android.com/reference/java/security/SecureRandom.html"><classname>SecureRandom</classname></link> provider for generating byte array based keys using the SHA1PRNG algorithm.</para>
+ <para>The Spring Security Crypto library is not currently supported on Android. To take advantage of the encryption tools in Spring Security, the Android specific class, <link xlink:href="http://static.springsource.org/spring-android/docs/1.0.x/api/org/springframework/security/crypto/encrypt/AndroidEncryptors.html"><classname>AndroidEncryptors</classname></link> has been provided in Spring for Android. This class uses an Android compatible <link xlink:href="http://developer.android.com/reference/java/security/SecureRandom.html"><classname>SecureRandom</classname></link> provider for generating byte array based keys using the SHA1PRNG algorithm.</para>
</section>
@@ -71,7 +71,7 @@
<artifactId>spring-security-crypto</artifactId>
<version>3.1.0.RC2.crypto</version>
<exclusions>
- <!-- Exclude in favor of Spring Android Core -->
+ <!-- Exclude in favor of Spring for Android Core -->
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>org.springframework</groupId>
@@ -84,7 +84,7 @@
<artifactId>spring-social-core</artifactId>
<version>${spring-social-version}</version>
<exclusions>
- <!-- Exclude in favor of Spring Android RestTemplate -->
+ <!-- Exclude in favor of Spring for Android RestTemplate -->
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>org.springframework</groupId>
@@ -145,7 +145,7 @@
<title>Usage Examples</title>
- <para>Below are several usage examples that illustrate how to use Spring Android with Spring Social.</para>
+ <para>Below are several usage examples that illustrate how to use Spring for Android with Spring Social.</para>
<para>The following examples are based on a <link xlink:href="https://github.com/SpringSource/spring-android-samples">sample Android application</link>, which has Facebook and Twitter examples using Spring Social. You can retrieve the source code for the sample app with Git:</para>
View
4 docs/src/reference/docbook/core.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="core"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Spring Android Core Module</title>
+ <title>Spring for Android Core Module</title>
<section id="core-introduction">
<title>Introduction</title>
<para>
- The spring-android-core module provides common functionality to the other Spring Android modules. It includes
+ The spring-android-core module provides common functionality to the other Spring for Android modules. It includes
a subset of the functionality available in Spring Framework Core.
</para>
</section>
View
8 docs/src/reference/docbook/index.xml
@@ -3,9 +3,9 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink">
<bookinfo>
- <title>Spring Android Reference Manual</title>
- <titleabbrev>Spring Android ${version}</titleabbrev>
- <productname>Spring Android</productname>
+ <title>Spring for Android Reference Manual</title>
+ <titleabbrev>Spring for Android ${version}</titleabbrev>
+ <productname>Spring for Android</productname>
<releaseinfo>${version}</releaseinfo>
<!-- TODO: this isn't showing up. -->
@@ -27,7 +27,7 @@
</author>
</authorgroup>
- <legalnotice><para>© SpringSource Inc., 2011</para></legalnotice>
+ <legalnotice><para>© SpringSource Inc., 2012</para></legalnotice>
</bookinfo>
<toc></toc>
View
10 docs/src/reference/docbook/maven.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="spring-android-maven" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Spring Android and Maven</title>
+ <title>Spring for Android and Maven</title>
<section id="maven-example-introduction">
<title>Introduction</title>
@@ -19,9 +19,9 @@
<para>
The following
<link xlink:href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM file</link>
- from the Spring Android Showcase sample application, illustrates how to configure the
+ from the Spring for Android Showcase sample application, illustrates how to configure the
<link xlink:href="http://code.google.com/p/maven-android-plugin">Maven Android Plugin</link> and associated
- dependencies for use with Spring Android and Spring Social.
+ dependencies for use with Spring for Android and Spring Social.
</para>
<programlisting language="xml"><![CDATA[
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -77,7 +77,7 @@
<artifactId>spring-security-crypto</artifactId>
<version>3.1.0.RC2.crypto</version>
<exclusions>
- <!-- Exclude in favor of Spring Android Core -->
+ <!-- Exclude in favor of Spring for Android Core -->
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>org.springframework</groupId>
@@ -89,7 +89,7 @@
<artifactId>spring-social-core</artifactId>
<version>${spring-social-version}</version>
<exclusions>
- <!-- Exclude in favor of Spring Android RestTemplate -->
+ <!-- Exclude in favor of Spring for Android RestTemplate -->
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>org.springframework</groupId>
View
4 docs/src/reference/docbook/overview.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="overview" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Spring Android Overview</title>
+ <title>Spring for Android Overview</title>
<section id="spring-android-overview-introduction">
<title>Introduction</title>
- <para>The Spring Android project supports the usage of the Spring Framework in an Android environment. This includes the ability to use RestTemplate as the REST client for your Android applications. Spring Android also provides support for integrating Spring Social functionality into your Android application, which includes a robust OAuth based, authorization client and implementations for popular social web sites, such as Twitter and Facebook.</para>
+ <para>The Spring for Android project supports the usage of the Spring Framework in an Android environment. This includes the ability to use RestTemplate as the REST client for your Android applications. Spring for Android also provides support for integrating Spring Social functionality into your Android application, which includes a robust OAuth based, authorization client and implementations for popular social web sites, such as Twitter and Facebook.</para>
</section>
View
22 docs/src/reference/docbook/rest-template.xml
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="rest-template" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Spring Android RestTemplate Module</title>
+ <title>Spring for Android RestTemplate Module</title>
<section id="rest-template-introduction">
<title>Introduction</title>
- <para>Spring's RestTemplate is a robust, popular Java-based REST client. The Spring Android RestTemplate Module provides a version of RestTemplate that works in an Android environment.</para>
+ <para>Spring's RestTemplate is a robust, popular Java-based REST client. The Spring for Android RestTemplate Module provides a version of RestTemplate that works in an Android environment.</para>
</section>
<section id="rest-template-overview">
<title>Overview</title>
- <para>The <classname>RestTemplate</classname> class is the heart of the Spring Android RestTemplate library. It is conceptually similar to other template classes found in other Spring portfolio projects. RestTemplate's behavior is customized by providing callback methods and configuring the <interfacename>HttpMessageConverter</interfacename> used to marshal objects into the HTTP request body and to unmarshal any response back into an object. When you create a new <classname>RestTemplate</classname> instance, the constructor sets up several supporting objects that make up the RestTemplate functionality.</para>
+ <para>The <classname>RestTemplate</classname> class is the heart of the Spring for Android RestTemplate library. It is conceptually similar to other template classes found in other Spring portfolio projects. RestTemplate's behavior is customized by providing callback methods and configuring the <interfacename>HttpMessageConverter</interfacename> used to marshal objects into the HTTP request body and to unmarshal any response back into an object. When you create a new <classname>RestTemplate</classname> instance, the constructor sets up several supporting objects that make up the RestTemplate functionality.</para>
<para>Here is an overview of the functionality supported within <classname>RestTemplate</classname>.</para>
<section>
<title>HTTP Client</title>
- <para><classname>RestTemplate</classname> provides an abstraction for making RESTful http requests, and internally, <classname>RestTemplate</classname> utilizes a native Android HTTP client library for those requests. The <link xlink:href="http://hc.apache.org/httpcomponents-client-ga/index.html">HttpComponents HttpClient</link> is a native HTTP client available on the Android platform. Within Spring Android RestTemplate the HttpClient is made available through the <classname>HttpComponentsClientHttpRequestFactory</classname>. This class is set as the default <interfacename>ClientHttpRequestFactory</interfacename> when you create a new <classname>RestTemplate</classname> instance. The standard J2SE facilities are also available as a native Android library, and are made available through the <classname>SimpleClientHttpRequestFactory</classname>. To utilize the <classname>SimpleClientHttpRequestFactory</classname>, you must either pass a new instance into the <classname>RestTemplate</classname> constructor, or call <methodname>setRequestFactory(ClientHttpRequestFactory requestFactory)</methodname> on an existing <classname>RestTemplate</classname> instance.</para>
+ <para><classname>RestTemplate</classname> provides an abstraction for making RESTful http requests, and internally, <classname>RestTemplate</classname> utilizes a native Android HTTP client library for those requests. The <link xlink:href="http://hc.apache.org/httpcomponents-client-ga/index.html">HttpComponents HttpClient</link> is a native HTTP client available on the Android platform. Within Spring for Android RestTemplate the HttpClient is made available through the <classname>HttpComponentsClientHttpRequestFactory</classname>. This class is set as the default <interfacename>ClientHttpRequestFactory</interfacename> when you create a new <classname>RestTemplate</classname> instance. The standard J2SE facilities are also available as a native Android library, and are made available through the <classname>SimpleClientHttpRequestFactory</classname>. To utilize the <classname>SimpleClientHttpRequestFactory</classname>, you must either pass a new instance into the <classname>RestTemplate</classname> constructor, or call <methodname>setRequestFactory(ClientHttpRequestFactory requestFactory)</methodname> on an existing <classname>RestTemplate</classname> instance.</para>
</section>
@@ -38,23 +38,23 @@
<title>Object to JSON Marshaling</title>
- <para>Object to JSON marshaling in Spring Android RestTemplate requires the use of a third party JSON mapping library. There are two libraries supported in Spring Android, <link xlink:href="http://jackson.codehaus.org">Jackson JSON Processor</link>, and <link xlink:href="http://code.google.com/p/google-gson/">Google Gson</link>. While Jackson is a well known JSON parsing library, the Gson library is smaller, which would result in an smaller Android app when packaged.</para>
+ <para>Object to JSON marshaling in Spring for Android RestTemplate requires the use of a third party JSON mapping library. There are two libraries supported in Spring for Android, <link xlink:href="http://jackson.codehaus.org">Jackson JSON Processor</link>, and <link xlink:href="http://code.google.com/p/google-gson/">Google Gson</link>. While Jackson is a well known JSON parsing library, the Gson library is smaller, which would result in an smaller Android app when packaged.</para>
</section>
<section>
<title>Object to XML Marshaling</title>
- <para>Object to XML marshaling in Spring Android RestTemplate requires the use of a third party XML mapping library. The <link xlink:href="http://simple.sourceforge.net">Simple XML serializer</link> is used to provide this marshaling functionality.</para>
+ <para>Object to XML marshaling in Spring for Android RestTemplate requires the use of a third party XML mapping library. The <link xlink:href="http://simple.sourceforge.net">Simple XML serializer</link> is used to provide this marshaling functionality.</para>
</section>
<section>
<title>RSS and Atom Support</title>
- <para>RSS and Atom feed support in Spring Android RestTemplate requires the use of a third party feed reader library. The <link xlink:href="http://code.google.com/p/android-rome-feed-reader">Android ROME Feed Reader</link> is used to provide this functionality.</para>
+ <para>RSS and Atom feed support in Spring for Android RestTemplate requires the use of a third party feed reader library. The <link xlink:href="http://code.google.com/p/android-rome-feed-reader">Android ROME Feed Reader</link> is used to provide this functionality.</para>
</section>
@@ -212,7 +212,7 @@ public interface HttpMessageConverter<T> {
<para>Concrete implementations for the main media (mime) types are provided in the framework and are registered by default within <classname>RestTemplate</classname></para>
- <para>The following <interfacename>HttpMessageConverter</interfacename> implementations are available in Spring Android. For all converters a default media type is used but can be overridden by calling the <methodname>setSupportedMediaTypes()</methodname> method.</para>
+ <para>The following <interfacename>HttpMessageConverter</interfacename> implementations are available in Spring for Android. For all converters a default media type is used but can be overridden by calling the <methodname>setSupportedMediaTypes()</methodname> method.</para>
<section>
@@ -244,7 +244,7 @@ public interface HttpMessageConverter<T> {
<para>An <interfacename>HttpMessageConverter</interfacename> implementation that can read and write XML from the HTTP request and response using <link xlink:href="http://simple.sourceforge.net">Simple Framework</link>'s <interfacename>Serializer</interfacename>. XML mapping can be customized as needed through the use of Simple's provided annotations. When additional control is needed, a custom <interfacename>Serializer</interfacename> can be injected through the <interfacename>Serializer</interfacename> property. By default, this converter reads and writes the media types <literal>application/xml</literal>, <literal>text/xml</literal>, and <literal>application/*+xml</literal>.</para>
- <para>It is important to note that this is not a Spring OXM compatible message converter. It is a standalone implementation that enables XML serialization through Spring Android.</para>
+ <para>It is important to note that this is not a Spring OXM compatible message converter. It is a standalone implementation that enables XML serialization through Spring for Android.</para>
</section>
@@ -327,9 +327,9 @@ public interface HttpMessageConverter<T> {
</dependency>]]>
</programlisting>
- <para>Google's provided Android toolset does not include dependency management support. However, through the use of third party tools, you can use Maven to manage dependencies and build your Android app. See the <link linkend="spring-android-maven">Spring Android and Maven</link> section for more information.</para>
+ <para>Google's provided Android toolset does not include dependency management support. However, through the use of third party tools, you can use Maven to manage dependencies and build your Android app. See the <link linkend="spring-android-maven">Spring for Android and Maven</link> section for more information.</para>
- <para>Spring Android RestTemplate supports several optional libraries. These optional libraries are used by different <interfacename>HttpMessageConverter</interfacename> instances within <classname>RestTemplate</classname>. If you would like to make use of these message converters, then you need to include the corresponding libraries in your classpath.</para>
+ <para>Spring for Android RestTemplate supports several optional libraries. These optional libraries are used by different <interfacename>HttpMessageConverter</interfacename> instances within <classname>RestTemplate</classname>. If you would like to make use of these message converters, then you need to include the corresponding libraries in your classpath.</para>
<section id="rest-template-howtoget-jackson">

0 comments on commit 4c38aba

Please sign in to comment.