aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/libsAndJarTest
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-04-23 15:04:28 -0700
committerXavier Ducrohet <xav@android.com>2012-04-23 16:19:32 -0700
commitb40c415cfa3e54e0d780b3da3915ff476a2ecfb4 (patch)
tree69ec5972ad7933e5e91ce4d22c0da2cd5ffba07c /testapps/libsAndJarTest
parent622512420652f1622a8d0ca9b64845e2a0288aa9 (diff)
downloadsdk-b40c415cfa3e54e0d780b3da3915ff476a2ecfb4.zip
sdk-b40c415cfa3e54e0d780b3da3915ff476a2ecfb4.tar.gz
sdk-b40c415cfa3e54e0d780b3da3915ff476a2ecfb4.tar.bz2
Allow src/doc attachement for 3rd party jars in libs/
Since those jars are added dynamically through a classpath container, the devs cannot set the source path and the javadoc through Eclipse UI (container don't allow editing those). To fix this, and to make sure that both paths are picked up not only by the current project, but also by other projects (if the current project is a library project), the value is set by a file sitting next to the jar file. The file is name after the jar file, adding .properties at the end. For instance foo.jar -> foo.jar.properties It can currently contain 2 properties: src: relative or absolute path to the source folder (or archive). doc: relative or absolute path to the javadoc. Change-Id: I4f716374ac99479caf65453973bcb1f35ba84590
Diffstat (limited to 'testapps/libsAndJarTest')
-rw-r--r--testapps/libsAndJarTest/app/libs/basicJar2.jar.properties1
-rw-r--r--testapps/libsAndJarTest/lib2/libs/basicJar.jar.properties1
2 files changed, 2 insertions, 0 deletions
diff --git a/testapps/libsAndJarTest/app/libs/basicJar2.jar.properties b/testapps/libsAndJarTest/app/libs/basicJar2.jar.properties
new file mode 100644
index 0000000..d8099d2
--- /dev/null
+++ b/testapps/libsAndJarTest/app/libs/basicJar2.jar.properties
@@ -0,0 +1 @@
+src=../../../basicJar2/src/ \ No newline at end of file
diff --git a/testapps/libsAndJarTest/lib2/libs/basicJar.jar.properties b/testapps/libsAndJarTest/lib2/libs/basicJar.jar.properties
new file mode 100644
index 0000000..c6b82fb
--- /dev/null
+++ b/testapps/libsAndJarTest/lib2/libs/basicJar.jar.properties
@@ -0,0 +1 @@
+src=../../../basicJar/src/ \ No newline at end of file