• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修訂70af177cf323a6ed7e0fa98a07e53b908ed3fcce (tree)
時間2008-12-06 05:36:27
作者ralf <ralf@andr...>
Commiterralf

Log Message

Fix create_ddms_symlinks to create libs/ correctly.

Add git ignore files to avoid all build files from being submitted to git.

Change Summary

差異

--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.adt/.gitignore
@@ -0,0 +1 @@
1+*.jar
--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.common/.gitignore
@@ -0,0 +1 @@
1+*.jar
--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.ddms/icons/.gitignore
@@ -0,0 +1,31 @@
1+add.png
2+backward.png
3+clear.png
4+d.png
5+debug-attach.png
6+debug-error.png
7+debug-wait.png
8+delete.png
9+device.png
10+down.png
11+e.png
12+edit.png
13+empty.png
14+emulator.png
15+forward.png
16+gc.png
17+halt.png
18+heap.png
19+i.png
20+importBug.png
21+load.png
22+pause.png
23+play.png
24+pull.png
25+push.png
26+save.png
27+thread.png
28+up.png
29+v.png
30+w.png
31+warning.png
--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.ddms/libs/.gitignore
@@ -0,0 +1 @@
1+*.jar
--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/.gitignore
@@ -0,0 +1,2 @@
1+ddmlib
2+ddmuilib
--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.editors/.gitignore
@@ -0,0 +1 @@
1+*.jar
--- /dev/null
+++ b/tools/eclipse/plugins/com.android.ide.eclipse.tests/.gitignore
@@ -0,0 +1 @@
1+*.jar
--- a/tools/eclipse/scripts/create_ddms_symlinks.sh
+++ b/tools/eclipse/scripts/create_ddms_symlinks.sh
@@ -24,7 +24,7 @@ function back() {
2424 BASE="development/tools/eclipse/plugins/com.android.ide.eclipse.ddms"
2525
2626 DEST=$BASE/libs
27-mkdir -p $D
27+mkdir -p $DEST
2828 BACK=`back $DEST`
2929 for i in prebuilt/common/jfreechart/*.jar; do
3030 $CMD $BACK/$i $DEST/
--- a/tools/eclipse/scripts/create_test_symlinks.sh
+++ b/tools/eclipse/scripts/create_test_symlinks.sh
@@ -1,24 +1,32 @@
11 #!/bin/bash
2-cd ../plugins/com.android.ide.eclipse.tests
2+
3+# CD to the top android directory
4+D=`dirname "$0"`
5+cd "$D/../../../../"
6+
7+DEST="development/tools/eclipse/plugins/com.android.ide.eclipse.tests"
8+# computes "../.." from DEST to here (in /android)
9+BACK=`echo $DEST | sed 's@[^/]*@..@g'`
10+
311 HOST=`uname`
412 if [ "$HOST" == "Linux" ]; then
5- ln -svf ../../../../out/host/linux-x86/framework/kxml2-2.3.0.jar .
13+ ln -svf $BACK/out/host/linux-x86/framework/kxml2-2.3.0.jar "$DEST/"
14+
615 elif [ "$HOST" == "Darwin" ]; then
7- ln -svf ../../../../out/host/darwin-x86/framework/kxml2-2.3.0.jar .
16+ ln -svf $BACK/out/host/darwin-x86/framework/kxml2-2.3.0.jar "$DEST/"
17+
818 elif [ "${HOST:0:6}" == "CYGWIN" ]; then
9- if [ "x$1" == "x" ]; then
10- echo "Usage: $0 <path to jars>"
11- echo "Argument 1 should be the path to the jars you want to copy. "
12- echo " e.g. android_sdk_windows_NNN/tools/lib/ "
13- echo "(since you can't rebuild them under Windows, you need prebuilt ones "
14- echo " from an SDK drop or a Linux/Mac)"
15- exit 1
16- fi
17- if [ ! -f "kxml2-2.3.0.jar" ]; then
18- wget -O "kxml2-2.3.0.jar" "http://internap.dl.sourceforge.net/sourceforge/kxml/kxml2-2.3.0.jar"
19- chmod a+rx *.jar
20- fi
19+ JAR="kxml2-2.3.0.jar"
20+ if [ ! -f "$DEST/$JAR" ]; then
21+ # Get the jar from ADT if we can, otherwise download it.
22+ if [ -f "$DEST/../com.android.ide.eclipse.adt/$JAR" ]; then
23+ cp "$DEST/../com.android.ide.eclipse.adt/$JAR" "$JAR"
24+ else
25+ wget -O "$DEST/$JAR" "http://internap.dl.sourceforge.net/sourceforge/kxml/$JAR"
26+ fi
27+ chmod a+rx "$DEST/$JAR"
28+ fi
2129 else
22- echo "Unsupported platform ($HOST). Nothing done."
30+ echo "Unsupported platform ($HOST). Nothing done."
2331 fi
2432