langtools ant 1.8.0 fix

Matthias Klose doko at ubuntu.com
Mon Mar 29 14:34:04 PDT 2010


On 29.03.2010 23:24, Joe Darcy wrote:
> Kelly O'Hair wrote:
>>
>> Should I apply this change to openjdk6?
>>
>> 6938326: Use of "ant -diagnostics" a problem with ant 1.8.0, exit code
>> 1 now
>> http://hg.openjdk.java.net/jdk7/tl/langtools/rev/de6375751eb7
>>
>> -kto
>
> Is there no good version of ant? Others might ask the same of the JDK ;-)
>
> The change seems okay to me, but I'd like to hear Andrew's opinion
> before it goes back.

A similiar patch is applied for the debian builds; I would appreciate the patch 
proposed by Kelly backported.

   Matthias

--- openjdk/langtools/make/Makefile~    2010-02-17 04:15:20.000000000 +0100
+++ openjdk/langtools/make/Makefile     2010-02-20 15:32:49.492335405 +0100
@@ -174,7 +174,7 @@
  # Create a make target for each
  $(ANT_TARGETS):
         @ mkdir -p $(OUTPUTDIR)/build $(ANT_TMPDIR)
-       $(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) -diagnostics > 
$(OUTPUTDIR)/build/ant-diagnostics.log
+       -$(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) -diagnostics > 
$(OUTPUTDIR)/build/ant-diagnostics.log
         $(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) $(ANT_OPTIONS) $@

  #-------------------------------------------------------------------


More information about the jdk6-dev mailing list