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 8545 - Failed build with moduleconfig set to stable-with-apisupport
Summary: Failed build with moduleconfig set to stable-with-apisupport
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 minor (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-23 17:03 UTC by Theo Harper
Modified: 2002-07-19 15:23 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 Theo Harper 2000-11-23 17:03:49 UTC
The build fails (not everytime) when including the apisupport module.  For
example, with a fresh extraction of NetBeans-release31-13-src.zip and NetBeans-
release31-13-extbin.zip and on executing the command:
    ant -Dmoduleconfig=stable-with-apisupport
the following error message is displayed:
[exec] compile:
     [exec]     [javac] Compiling 58 source files to F:\sunbeans\netbeans-
src\apisupport\src
     [exec]     [javac] F:\sunbeans\netbeans-
src\apisupport\src\org\netbeans\modules\apisupport\CompilerTypeTester.java:114:
cannot access org.openide.util.Task
     [exec]     [javac] file org\openide\util\Task.class not found
     [exec]     [javac]                 if (job.start ().isSuccessful ())
     [exec]     [javac]                               ^
     [exec]     [javac] F:\sunbeans\netbeans-
src\apisupport\src\org\netbeans\modules\apisupport\ExecutorTester.java:106:
inconvertible types
     [exec]     [javac] found   : java.lang.Object
     [exec]     [javac] required: org.openide.execution.ExecutorTask
     [exec]     [javac]                 int result = ((ExecutorTask) m.invoke
(exec, new Object[] { testInfo })).result ();
     [exec]     [javac]                                                       ^
     [exec]     [javac] Note: Some input files use or override a deprecated API.
     [exec]     [javac] Note: Recompile with -deprecation for details.
     [exec]     [javac] 2 errors
     [exec]
     [exec] Total time: 2 minutes 35 seconds

On executing it again the build suceeds.
Comment 1 rbalada 2000-12-20 11:23:59 UTC
I was not able to reproduce the error on NetBeans release 3.1 build 33.
We usually solve this problem (Task.class not found) by adding
 "../openide/openide-13javac-workaround.jar" into classpath in respective
module. It's bug in JDK 1.3.