• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

development


Commit MetaInfo

Révisionbc4b026621340d4f817c7553cc947fda819c9a5b (tree)
l'heure2008-11-11 14:29:24
AuteurMuthu Ramadoss <muthu.ramadoss@gmai...>
CommiterMuthu Ramadoss

Message de Log

Changed srcdir="." to srcdir="${srcdir}" in scripts/build.template

This change makes sure the srcdir is pointing to only the java source folder and not recursively compile all source folders under the current folder. This is useful in having multiple java source folders for main, tests etc., Only the compile target is being affected by this change.

NOTE: Now you can have project/tests and work with tests as a separate android project, only for testing. In any case pointing to source explicitly makes sure no side affects arise by recursive compiling.

Change Summary

Modification

--- a/tools/scripts/build.template
+++ b/tools/scripts/build.template
@@ -155,7 +155,7 @@
155155 <!-- Compile this project's .java files into .class files. -->
156156 <target name="compile" depends="dirs, resource-src, aidl">
157157 <javac encoding="ascii" target="1.5" debug="true" extdirs=""
158- srcdir="."
158+ srcdir="${srcdir}"
159159 destdir="${outdir-classes}"
160160 bootclasspath="${android-jar}">
161161 <classpath>