aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-08-09 03:08:35 +0000
committerSteffen Sledz <sledz@dresearch-fe.de>2011-08-30 12:48:54 +0200
commit16a8a1e9175035b55d91a141d5302c38d63c16f1 (patch)
tree8535502dadf0d499f699cdd3d18cd8d252c22b21 /recipes
parent69d98e8604602f194ccd66bdf824a3038989093c (diff)
downloadopenembedded-16a8a1e9175035b55d91a141d5302c38d63c16f1.tar.gz
classpath in 2011.03-maintenance
On Fri, 2011-08-05 at 11:38 -0400, George C. Huntington, III wrote: > I posted a patch that makes the wrapper script return the error code > if it > fails after 5 retries. it is on patchwork. > http://patches.openembedded.org/patch/7249/ It seems like saving the javac script arguments into the ARGS variable is what broke the old behavior where -bootclasspath '' worked for building classpath. Putting that part of the script back to the way it used to be fixes it. Do you want to merge this in with your error code return patch? Otherwise, I can submit it as another patch, but it will depend on yours... Thanks, Jesse
Diffstat (limited to 'recipes')
-rwxr-xr-xrecipes/ecj/files/ecj.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/ecj/files/ecj.in b/recipes/ecj/files/ecj.in
index 0fd4a65cdc..f8d97ac124 100755
--- a/recipes/ecj/files/ecj.in
+++ b/recipes/ecj/files/ecj.in
@@ -1,13 +1,16 @@
-ARGS=${1+"$@"}
COUNT=5
END=0
+RETURNCODE=0
while test "${COUNT}" -gt "${END}"
do
- ${RUNTIME} -Xmx1024m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${ARGS}
+ ${RUNTIME} -Xmx1024m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}
+ RETURNCODE=${?}
if test "${?}" -eq "${END}"
then
break
fi
COUNT=$(($COUNT-1))
done
+
+exit ${RETURNCODE}