ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: ant fails on gump
Date Tue, 10 May 2011 00:52:16 GMT

the Unknown Template placeholder declaration has changed so
the original 2 array of type unknown declaration 

parent.kids = new ArrayList<>(2);

produces:
[ERROR] \Java\jdk1.7.0\fastdebug\src\main\java\java\util\logging\Logger.java:[14
00,44] illegal start of type

this is the fix:
parent.kids = new ArrayList<?>(2);

[INFO] Compiling 7464 source files to $JDK&_HOME\fastdebug\target\classes
1 week later..(and I'm still compiling)

is this the error you are seeing?

Martin  
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.






> Date: Mon, 9 May 2011 10:47:14 -0700
> From: Ludmila.Shikhvarg@oracle.com
> To: general-help@gump.apache.org; dev@ant.apache.org
> Subject: ant fails on gump
> 
> Hi, 
> 
> ant fails to build with jdk7 from http://download.java.net/jdk7/ with the error below.
> Any ideas? 
> 
> Output
> 
> Buildfile: /export/home/dtftest/gump/results/ant/build.xml
> 
> prepare:
> 
> check_for_optional_packages:
> 
> build:
>     [mkdir] Created dir: /export/home/dtftest/gump/results/ant/build/classes
>     [javac] Compiling 764 source files to /export/home/dtftest/gump/results/ant/build/classes
>     [javac] /export/home/dtftest/gump/results/ant/src/main/org/apache/tools/ant/taskdefs/optional/Xalan2TraceSupport.java:46:
error: cannot access SerializerTrace
>     [javac]                 ((TransformerImpl) t).getTraceManager().addTraceListener(tl);
>     [javac]                                      ^
>     [javac]   class file for org.apache.xml.serializer.SerializerTrace not found
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 error
> 
> BUILD FAILED
> /export/home/dtftest/gump/results/ant/build.xml:549: Compile failed; see the compiler
error output for details. <http://jsqalab.us.oracle.com/results/JDKCompatibility/Gump/oel5.5_x64/jdk7/proxy/b141/ant/ant/index.html>
> 
> I've filed JDK bug but it's has been closed after the evaluation:
> "This doesn't appear to be a JDK issue, rather it's related to the combination of XML
APIs used in the build. The submitter should follow up with the Apache Gump project to get
this resolved." 
> 
> Please help to resolve the problem.
> The effect of this failure:
> 706 depended projects failed to run due to: Project: ant <http://jsqalab.us.oracle.com/results/JDKCompatibility/Gump/oel5.5_x64/jdk7/proxy/b141/ant/ant/index.html>
> 
> Best regards,
> Ludmila
> 
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message