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 115733 - Broken test compilation
Summary: Broken test compilation
Status: RESOLVED DUPLICATE of bug 115461
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jindrich Sedek
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks: 103552
  Show dependency tree
 
Reported: 2007-09-17 17:15 UTC by Jesse Glick
Modified: 2007-09-18 01:11 UTC (History)
0 users

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 Jesse Glick 2007-09-17 17:15:20 UTC
do-test-build-qa-functional:
    [mkdir] Created dir: /hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/build/test/qa-functional/classes
    [javac] Compiling 11 source files to
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/build/test/qa-functional/classes
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:27:
package org.netbeans.test.lib does not exist
[subant-junit] import org.netbeans.test.lib.DumpTokens;
[subant-junit]                              ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:28:
package org.netbeans.test.lib does not exist
[subant-junit] import org.netbeans.test.lib.BasicTokensTest;
[subant-junit]                              ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:33:
cannot find symbol
[subant-junit] symbol: class BasicTokensTest
[subant-junit] public class TokensTest extends BasicTokensTest {
[subant-junit]                                 ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/CompletionTest.java:490:
warning: [unchecked] unchecked call to isAssignableFrom(java.lang.Class<?>) as a member of the raw type java.lang.Class
[subant-junit]         if (!expectedType.isAssignableFrom(actual.getClass())) {
[subant-junit]                                           ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:44:
cannot find symbol
[subant-junit] symbol  : method testRun(java.lang.String)
[subant-junit] location: class org.netbeans.test.web.core.syntax.TokensTest
[subant-junit]         testRun("tokensHTML.html");
[subant-junit]         ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:48:
cannot find symbol
[subant-junit] symbol  : method testRun(java.lang.String)
[subant-junit] location: class org.netbeans.test.web.core.syntax.TokensTest
[subant-junit]         testRun("tokensTest.jsp");
[subant-junit]         ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:52:
cannot find symbol
[subant-junit] symbol  : method testRun(java.lang.String)
[subant-junit] location: class org.netbeans.test.web.core.syntax.TokensTest
[subant-junit]         testRun("tokensTag.tag");
[subant-junit]         ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:56:
cannot find symbol
[subant-junit] symbol  : method testRun(java.lang.String)
[subant-junit] location: class org.netbeans.test.web.core.syntax.TokensTest
[subant-junit]         testRun("tokensTagX.tagx");
[subant-junit]         ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:60:
cannot find symbol
[subant-junit] symbol  : method testRun(java.lang.String)
[subant-junit] location: class org.netbeans.test.web.core.syntax.TokensTest
[subant-junit]         testRun("tokensJSPX.jspx");
[subant-junit]         ^
[subant-junit]
/hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax/test/qa-functional/src/org/netbeans/test/web/core/syntax/TokensTest.java:64:
cannot find symbol
[subant-junit] symbol  : method testRun(java.lang.String)
[subant-junit] location: class org.netbeans.test.web.core.syntax.TokensTest
[subant-junit]         testRun("tokensJSPF.jspf");
[subant-junit]         ^
[subant-junit] 9 errors
[subant-junit] 1 warning
[subant-junit] Failed to build /hudson/workdir/jobs/test-compilation/workspace/web/jspsyntax:
/hudson/workdir/jobs/test-compilation/workspace/nbbuild/templates/projectized.xml:488: Compile failed; see the compiler
error output for details.
Comment 1 Jindrich Sedek 2007-09-17 17:41:16 UTC
what ant task are you running? I've fixed #115461 in the morning and it works to me well.
Comment 2 Jesse Glick 2007-09-18 01:11:21 UTC
Indeed, passing now on Hudson. Not sure why it did not work me for on my computer but perhaps I was missing a dependency
to build.

*** This issue has been marked as a duplicate of 115461 ***