All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Gilles <jgilles@multitech.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: classpath in 2011.03-maintenance
Date: Mon, 08 Aug 2011 14:08:35 -0500	[thread overview]
Message-ID: <1312830515.683.29.camel@jjg-linux> (raw)
In-Reply-To: <CAFu+nvEwGYd-t6n04yn41wd50+5zPoEu=5WVYxOmaWLDdyKdEQ@mail.gmail.com>

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?

--- 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}

Otherwise, I can submit it as another patch, but it will depend on yours...

Thanks,
Jesse




  parent reply	other threads:[~2011-08-08 19:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 13:39 classpath in 2011.03-maintenance George C. Huntington, III
2011-07-07 18:11 ` Tom Rini
2011-08-05 14:16   ` Jesse Gilles
2011-08-05 14:43     ` George C. Huntington, III
2011-08-05 15:17       ` Henning Heinold
2011-08-05 15:38         ` George C. Huntington, III
2011-08-05 15:43           ` Henning Heinold
2011-08-05 16:13             ` George C. Huntington, III
2011-08-05 20:44           ` Jesse Gilles
2011-08-05 21:24             ` George C. Huntington, III
2011-08-05 21:44               ` Jesse Gilles
2011-08-05 21:47           ` Stefan Schmidt
2011-08-08 19:08           ` Jesse Gilles [this message]
2011-08-08 19:21             ` George C. Huntington, III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1312830515.683.29.camel@jjg-linux \
    --to=jgilles@multitech.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.