You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ludmila Shikhvarg <Lu...@oracle.com> on 2011/05/09 19:47:14 UTC

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



RE: ant fails on gump

Posted by Martin Gainty <mg...@hotmail.com>.
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
> 
> 
 		 	   		  

Re: ant fails on gump

Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-05-09, Ludmila Shikhvarg wrote:

> 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

This means you have some version of Xalan around but not the correct
one.

If Gump successully builds Xalan it should be on the bootclasspath and
thus be pulled in prior to any other version that may be there.

Does Gump build Xalan in your environment (I can't check myself since
jsqaloab doesn't seem to be a public server).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org