This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160645 - Trunk build is failing due to mistakes in XML
Summary: Trunk build is failing due to mistakes in XML
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Other All
: P1 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 13:54 UTC by Jaroslav Tulach
Modified: 2009-03-19 20:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-03-19 13:54:58 UTC
http://deadlock.netbeans.org/hudson/job/trunk/5322/

org.netbeans.nbbuild.SubAntJUnitReport.test-build.xml.kit
Failing for the past 1 build (Since Unstable#5322 ) 
Took 0 ms.
Error Message
/hudson/workdir/jobs/trunk/workspace/nbbuild/templates/common.xml:467: Compile failed; see the compiler error output 
for details.
Stacktrace
/hudson/workdir/jobs/trunk/workspace/nbbuild/templates/common.xml:467: Compile failed; see the compiler error output 
for details.
Trying to override old definition of task downloadbinaries
Warning: org.netbeans.modules.xml.kit lacks a qa-functional test dependency on org.netbeans.libs.junit4; using default 
dependencies for compatibility
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseBPEL2BPEL.java:132: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
        for (String strMethodName : m_aTestMethods) {
                                  ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseBPEL2EJB.java:150: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
        for (String strMethodName : m_aTestMethods) {
                                  ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseBPEL2JAVAAPP.java:117: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
        for (String strMethodName : m_aTestMethods) {
                                  ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseBPEL2MYSQL.java:154: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
        for (String strMethodName : m_aTestMethods) {
                                  ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseBPEL2WEBAPP.java:154: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
        for (String strMethodName : m_aTestMethods) {
                                  ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseBPEL2XSLT.java:152: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
        for (String strMethodName : m_aTestMethods) {
                                  ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/AcceptanceTestCaseXMLCPR.java:334: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
      for( String sImport : asRequiredLines )
                          ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/SyncImportTest.java:20: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
    for (String strMethodName : m_aTestMethods)
                              ^
/hudson/workdir/jobs/trunk/workspace/xml.kit/test/qa-functional/src/org/netbeans/test/xml/cpr/TypeMigrationTest.java:70: 
for-each loops are not supported in -source 1.4
(use -source 5 or higher to enable for-each loops)
    for (String strMethodName : m_aTestMethods)
                              ^
9 errors
Comment 1 Jesse Glick 2009-03-19 20:31:02 UTC
Looks to have already been fixed in main #5723968dd5ab.