aboutsummaryrefslogtreecommitdiffstats
path: root/testapps
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-03-01 18:40:20 -0800
committerXavier Ducrohet <xav@android.com>2012-03-01 18:40:58 -0800
commit59efe32b418e494e681e9e6c741bfded4710e947 (patch)
tree93a1382bed38d1ff8e1a3dc8858ee5f38284ab47 /testapps
parent314a75226677df8933fd38824e9510acde90fe87 (diff)
downloadsdk-59efe32b418e494e681e9e6c741bfded4710e947.zip
sdk-59efe32b418e494e681e9e6c741bfded4710e947.tar.gz
sdk-59efe32b418e494e681e9e6c741bfded4710e947.tar.bz2
Fix test projects
Add Eclipse project files and basic ant files too. Change-Id: I23abf9ec396414e2d36da792a182118a11a70a5a
Diffstat (limited to 'testapps')
-rw-r--r--testapps/libWithLibTest/basicLib/.classpath2
-rw-r--r--testapps/libWithLibTest/basicLib/.project2
-rw-r--r--testapps/libWithLibTest/basicLib/ant.properties (renamed from testapps/libWithLibTest/basicLib/build.properties)2
-rw-r--r--testapps/libWithLibTest/basicLib/build.xml83
-rw-r--r--testapps/libWithLibTest/basicLib/proguard-project.txt20
-rw-r--r--testapps/libWithLibTest/basicLibWithJar/.classpath2
-rw-r--r--testapps/libWithLibTest/basicLibWithJar/.project2
-rw-r--r--testapps/libWithLibTest/basicLibWithJar/ant.properties (renamed from testapps/libWithLibTest/basicLibWithJar/build.properties)2
-rw-r--r--testapps/libWithLibTest/basicLibWithJar/build.xml83
-rw-r--r--testapps/libWithLibTest/basicLibWithJar/proguard-project.txt20
-rw-r--r--testapps/libWithLibTest/basicProjectWithLib/.classpath4
-rw-r--r--testapps/libWithLibTest/basicProjectWithLib/.project2
-rw-r--r--testapps/libWithLibTest/basicProjectWithLib/ant.properties (renamed from testapps/libWithLibTest/basicProjectWithLib/build.properties)2
-rw-r--r--testapps/libWithLibTest/basicProjectWithLib/build.xml83
-rw-r--r--testapps/libWithLibTest/basicProjectWithLib/proguard-project.txt20
15 files changed, 319 insertions, 10 deletions
diff --git a/testapps/libWithLibTest/basicLib/.classpath b/testapps/libWithLibTest/basicLib/.classpath
index 765e549..a4763d1 100644
--- a/testapps/libWithLibTest/basicLib/.classpath
+++ b/testapps/libWithLibTest/basicLib/.classpath
@@ -4,5 +4,5 @@
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
- <classpathentry kind="output" path="bin"/>
+ <classpathentry kind="output" path="bin/classes"/>
</classpath>
diff --git a/testapps/libWithLibTest/basicLib/.project b/testapps/libWithLibTest/basicLib/.project
index 5c71aaf..dbf57b4 100644
--- a/testapps/libWithLibTest/basicLib/.project
+++ b/testapps/libWithLibTest/basicLib/.project
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>basicLib</name>
+ <name>libWithLibTest-basicLib</name>
<comment></comment>
<projects>
</projects>
diff --git a/testapps/libWithLibTest/basicLib/build.properties b/testapps/libWithLibTest/basicLib/ant.properties
index ee52d86..b0971e8 100644
--- a/testapps/libWithLibTest/basicLib/build.properties
+++ b/testapps/libWithLibTest/basicLib/ant.properties
@@ -1,6 +1,6 @@
# This file is used to override default values used by the Ant build system.
#
-# This file must be checked in Version Control Systems, as it is
+# This file must be checked into Version Control Systems, as it is
# integral to the build system of your project.
# This file is only used by the Ant script.
diff --git a/testapps/libWithLibTest/basicLib/build.xml b/testapps/libWithLibTest/basicLib/build.xml
new file mode 100644
index 0000000..bc17734
--- /dev/null
+++ b/testapps/libWithLibTest/basicLib/build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Main" default="help">
+
+ <!-- The local.properties file is created and updated by the 'android' tool.
+ It contains the path to the SDK. It should *NOT* be checked into
+ Version Control Systems. -->
+ <property file="local.properties" />
+
+ <!-- The ant.properties file can be created by you. It is only edited by the
+ 'android' tool to add properties to it.
+ This is the place to change some Ant specific build properties.
+ Here are some properties you may want to change/update:
+
+ source.dir
+ The name of the source directory. Default is 'src'.
+ out.dir
+ The name of the output directory. Default is 'bin'.
+
+ For other overridable properties, look at the beginning of the rules
+ files in the SDK, at tools/ant/build.xml
+
+ Properties related to the SDK location or the project target should
+ be updated using the 'android' tool with the 'update' action.
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems.
+
+ -->
+ <property file="ant.properties" />
+
+ <!-- The project.properties file is created and updated by the 'android'
+ tool, as well as ADT.
+
+ This contains project specific properties such as project target, and library
+ dependencies. Lower level build properties are stored in ant.properties
+ (or in .classpath for Eclipse projects).
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems. -->
+ <loadproperties srcFile="project.properties" />
+
+ <!-- quick check on sdk.dir -->
+ <fail
+ message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
+ unless="sdk.dir"
+ />
+
+ <!--
+ Import per project custom build rules if present at the root of the project.
+ This is the place to put custom intermediary targets such as:
+ -pre-build
+ -pre-compile
+ -post-compile (This is typically used for code obfuscation.
+ Compiled code location: ${out.classes.absolute.dir}
+ If this is not done in place, override ${out.dex.input.absolute.dir})
+ -post-package
+ -post-build
+ -pre-clean
+ -->
+ <import file="custom_rules.xml" optional="true" />
+
+ <!-- Import the actual build file.
+
+ To customize existing targets, there are two options:
+ - Customize only one target:
+ - copy/paste the target into this file, *before* the
+ <import> task.
+ - customize it to your needs.
+ - Customize the whole content of build.xml
+ - copy/paste the content of the rules files (minus the top node)
+ into this file, replacing the <import> task.
+ - customize to your needs.
+
+ ***********************
+ ****** IMPORTANT ******
+ ***********************
+ In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
+ in order to avoid having your file be overridden by tools such as "android update project"
+ -->
+ <!-- version-tag: 1 -->
+ <import file="${sdk.dir}/tools/ant/build.xml" />
+
+</project>
diff --git a/testapps/libWithLibTest/basicLib/proguard-project.txt b/testapps/libWithLibTest/basicLib/proguard-project.txt
new file mode 100644
index 0000000..f2fe155
--- /dev/null
+++ b/testapps/libWithLibTest/basicLib/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
diff --git a/testapps/libWithLibTest/basicLibWithJar/.classpath b/testapps/libWithLibTest/basicLibWithJar/.classpath
index 08a60d4..1f92faf 100644
--- a/testapps/libWithLibTest/basicLibWithJar/.classpath
+++ b/testapps/libWithLibTest/basicLibWithJar/.classpath
@@ -5,5 +5,5 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="lib" path="libs/basicJar.jar"/>
- <classpathentry kind="output" path="bin"/>
+ <classpathentry kind="output" path="bin/classes"/>
</classpath>
diff --git a/testapps/libWithLibTest/basicLibWithJar/.project b/testapps/libWithLibTest/basicLibWithJar/.project
index 5bbb0f6..ef8773c 100644
--- a/testapps/libWithLibTest/basicLibWithJar/.project
+++ b/testapps/libWithLibTest/basicLibWithJar/.project
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>basicLibWithJar</name>
+ <name>libWithLibTest-basicLibWithJar</name>
<comment></comment>
<projects>
</projects>
diff --git a/testapps/libWithLibTest/basicLibWithJar/build.properties b/testapps/libWithLibTest/basicLibWithJar/ant.properties
index ee52d86..b0971e8 100644
--- a/testapps/libWithLibTest/basicLibWithJar/build.properties
+++ b/testapps/libWithLibTest/basicLibWithJar/ant.properties
@@ -1,6 +1,6 @@
# This file is used to override default values used by the Ant build system.
#
-# This file must be checked in Version Control Systems, as it is
+# This file must be checked into Version Control Systems, as it is
# integral to the build system of your project.
# This file is only used by the Ant script.
diff --git a/testapps/libWithLibTest/basicLibWithJar/build.xml b/testapps/libWithLibTest/basicLibWithJar/build.xml
new file mode 100644
index 0000000..bc17734
--- /dev/null
+++ b/testapps/libWithLibTest/basicLibWithJar/build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Main" default="help">
+
+ <!-- The local.properties file is created and updated by the 'android' tool.
+ It contains the path to the SDK. It should *NOT* be checked into
+ Version Control Systems. -->
+ <property file="local.properties" />
+
+ <!-- The ant.properties file can be created by you. It is only edited by the
+ 'android' tool to add properties to it.
+ This is the place to change some Ant specific build properties.
+ Here are some properties you may want to change/update:
+
+ source.dir
+ The name of the source directory. Default is 'src'.
+ out.dir
+ The name of the output directory. Default is 'bin'.
+
+ For other overridable properties, look at the beginning of the rules
+ files in the SDK, at tools/ant/build.xml
+
+ Properties related to the SDK location or the project target should
+ be updated using the 'android' tool with the 'update' action.
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems.
+
+ -->
+ <property file="ant.properties" />
+
+ <!-- The project.properties file is created and updated by the 'android'
+ tool, as well as ADT.
+
+ This contains project specific properties such as project target, and library
+ dependencies. Lower level build properties are stored in ant.properties
+ (or in .classpath for Eclipse projects).
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems. -->
+ <loadproperties srcFile="project.properties" />
+
+ <!-- quick check on sdk.dir -->
+ <fail
+ message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
+ unless="sdk.dir"
+ />
+
+ <!--
+ Import per project custom build rules if present at the root of the project.
+ This is the place to put custom intermediary targets such as:
+ -pre-build
+ -pre-compile
+ -post-compile (This is typically used for code obfuscation.
+ Compiled code location: ${out.classes.absolute.dir}
+ If this is not done in place, override ${out.dex.input.absolute.dir})
+ -post-package
+ -post-build
+ -pre-clean
+ -->
+ <import file="custom_rules.xml" optional="true" />
+
+ <!-- Import the actual build file.
+
+ To customize existing targets, there are two options:
+ - Customize only one target:
+ - copy/paste the target into this file, *before* the
+ <import> task.
+ - customize it to your needs.
+ - Customize the whole content of build.xml
+ - copy/paste the content of the rules files (minus the top node)
+ into this file, replacing the <import> task.
+ - customize to your needs.
+
+ ***********************
+ ****** IMPORTANT ******
+ ***********************
+ In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
+ in order to avoid having your file be overridden by tools such as "android update project"
+ -->
+ <!-- version-tag: 1 -->
+ <import file="${sdk.dir}/tools/ant/build.xml" />
+
+</project>
diff --git a/testapps/libWithLibTest/basicLibWithJar/proguard-project.txt b/testapps/libWithLibTest/basicLibWithJar/proguard-project.txt
new file mode 100644
index 0000000..f2fe155
--- /dev/null
+++ b/testapps/libWithLibTest/basicLibWithJar/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
diff --git a/testapps/libWithLibTest/basicProjectWithLib/.classpath b/testapps/libWithLibTest/basicProjectWithLib/.classpath
index 29e2115..abb4b65 100644
--- a/testapps/libWithLibTest/basicProjectWithLib/.classpath
+++ b/testapps/libWithLibTest/basicProjectWithLib/.classpath
@@ -4,6 +4,6 @@
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
- <classpathentry kind="lib" path="/basicLibWithJar/libs/basicJar.jar"/>
- <classpathentry kind="output" path="bin"/>
+ <classpathentry kind="lib" path="/libWithLibTest-basicLibWithJar/libs/basicJar.jar"/>
+ <classpathentry kind="output" path="bin/classes"/>
</classpath>
diff --git a/testapps/libWithLibTest/basicProjectWithLib/.project b/testapps/libWithLibTest/basicProjectWithLib/.project
index 4b74bbd..39feaec 100644
--- a/testapps/libWithLibTest/basicProjectWithLib/.project
+++ b/testapps/libWithLibTest/basicProjectWithLib/.project
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>basicProjectWithLib</name>
+ <name>libWithLibTest-app</name>
<comment></comment>
<projects>
</projects>
diff --git a/testapps/libWithLibTest/basicProjectWithLib/build.properties b/testapps/libWithLibTest/basicProjectWithLib/ant.properties
index ee52d86..b0971e8 100644
--- a/testapps/libWithLibTest/basicProjectWithLib/build.properties
+++ b/testapps/libWithLibTest/basicProjectWithLib/ant.properties
@@ -1,6 +1,6 @@
# This file is used to override default values used by the Ant build system.
#
-# This file must be checked in Version Control Systems, as it is
+# This file must be checked into Version Control Systems, as it is
# integral to the build system of your project.
# This file is only used by the Ant script.
diff --git a/testapps/libWithLibTest/basicProjectWithLib/build.xml b/testapps/libWithLibTest/basicProjectWithLib/build.xml
new file mode 100644
index 0000000..bc17734
--- /dev/null
+++ b/testapps/libWithLibTest/basicProjectWithLib/build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Main" default="help">
+
+ <!-- The local.properties file is created and updated by the 'android' tool.
+ It contains the path to the SDK. It should *NOT* be checked into
+ Version Control Systems. -->
+ <property file="local.properties" />
+
+ <!-- The ant.properties file can be created by you. It is only edited by the
+ 'android' tool to add properties to it.
+ This is the place to change some Ant specific build properties.
+ Here are some properties you may want to change/update:
+
+ source.dir
+ The name of the source directory. Default is 'src'.
+ out.dir
+ The name of the output directory. Default is 'bin'.
+
+ For other overridable properties, look at the beginning of the rules
+ files in the SDK, at tools/ant/build.xml
+
+ Properties related to the SDK location or the project target should
+ be updated using the 'android' tool with the 'update' action.
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems.
+
+ -->
+ <property file="ant.properties" />
+
+ <!-- The project.properties file is created and updated by the 'android'
+ tool, as well as ADT.
+
+ This contains project specific properties such as project target, and library
+ dependencies. Lower level build properties are stored in ant.properties
+ (or in .classpath for Eclipse projects).
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems. -->
+ <loadproperties srcFile="project.properties" />
+
+ <!-- quick check on sdk.dir -->
+ <fail
+ message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
+ unless="sdk.dir"
+ />
+
+ <!--
+ Import per project custom build rules if present at the root of the project.
+ This is the place to put custom intermediary targets such as:
+ -pre-build
+ -pre-compile
+ -post-compile (This is typically used for code obfuscation.
+ Compiled code location: ${out.classes.absolute.dir}
+ If this is not done in place, override ${out.dex.input.absolute.dir})
+ -post-package
+ -post-build
+ -pre-clean
+ -->
+ <import file="custom_rules.xml" optional="true" />
+
+ <!-- Import the actual build file.
+
+ To customize existing targets, there are two options:
+ - Customize only one target:
+ - copy/paste the target into this file, *before* the
+ <import> task.
+ - customize it to your needs.
+ - Customize the whole content of build.xml
+ - copy/paste the content of the rules files (minus the top node)
+ into this file, replacing the <import> task.
+ - customize to your needs.
+
+ ***********************
+ ****** IMPORTANT ******
+ ***********************
+ In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
+ in order to avoid having your file be overridden by tools such as "android update project"
+ -->
+ <!-- version-tag: 1 -->
+ <import file="${sdk.dir}/tools/ant/build.xml" />
+
+</project>
diff --git a/testapps/libWithLibTest/basicProjectWithLib/proguard-project.txt b/testapps/libWithLibTest/basicProjectWithLib/proguard-project.txt
new file mode 100644
index 0000000..f2fe155
--- /dev/null
+++ b/testapps/libWithLibTest/basicProjectWithLib/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}