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.
[ JDK VERSION : J2SE 1.4.1_xx ] I get the same exact error for both source zips for OS Ind ependent. In both ca s es, here is exactly what I did. Sys tem (abbreviated in some parts): uname -a: HP-U X <mymachine> B.11.11 U 9000/785 java - version: 1.4.1.01 for PA_RISC2.0 ant -version : 1.6.1 compiled on A p ril 5 2 004 unzip -version: 5.51 Steps: 1. Download the source zip to /ho me/tparley 2. unzip nbsource. zip 3. c d ./netbeans-src/nbbuild 4. ant The following is the tail result fr o m the compile o f Beta 2 source : setup-jdkhome: default.init: [proper tyfile] Updating proper ty file: /home/tparley/netbeans-src/nbbuild/n e tbeans/modul e Cluster.prop e rties basic - init: files-ini t: build-init: init: compile: [mkdir] Cre ated dir: /home/tparley/netbe ans-src/mdr/module/build/classes [jav ac] Compiling 7 source files to /home/tparley/netbe ans-src/mdr/m odule/build/classes [repeat] /home/tparley/netbeans-src/mdr/module/sr c/org/netbeans/modules/mdr/MdrModul e.java:19: cannot resolve symbol [repeat] symbol : class Task [repeat] location: package util [repea t] import org.openide.util.Task; [r epeat] ^ [repeat] /home/tparley/netbeans-src/mdr/module/sr c/org/netbeans/modules/mdr/MdrModul e.java:42: cannot resolve symbol [repeat] symbol : class Task [repeat] location: class or g.netbeans.modules.mdr.MdrModule [repeat] Task task = RequestProcessor. ge tDefault().post(new Ru nnable() { [repeat ] ^ [repeat] 2 errors BUI LD FAILED /home/tparley/netbeans-src/nbbuild/ build.xml:2515 : Following error oc cured while executing this line /home/tparley/netbeans-src/nbbuild/ build.xml:2510 : Following error oc cured while executing this line /home/tparley/netbeans-src/nbbuild/ build.xml:1163 : Following error oc cured while executing this line /home/tparley/netbeans-src/nbbuild /templates/proj ectized.xml:118: Compile failed ; see the co m piler error output for details. T otal time: 7 minutes 39 seconds The followin g is tai l of Daily Nov 7 compile source: compile: [mkdir] Cre ated dir: /home/jparley/netbe ans-src/mdr/module/build/classes [jav ac] Compiling 7 source files to /home/tp arley/netbea ns-src/mdr/mo dule/bu ild/classes [repeat] /home/tparley/netbeans-src/mdr/modul e/src/org/netbeans/modules/mdr/M drModul e.java:19: cannot resolve symbol [repeat] symbol : class Task [repeat] location: package util [repea t] import org.openide.util.Task; [r epeat] ^ [repeat] /home/tparley/netbeans-src/mdr/modul e/src/org/netbeans/modules/mdr/M drModul e.java:42: cannot resolve symbol [repeat] symbol : class Task [repeat] location: class or g.netbeans.modules.mdr.MdrModule [repeat] Task task = Request Processor .getD efault().post(new Run nable () { [repeat ] ^ [repeat] 2 errors BUI LD FAILED /home/tparley/netbeans-src/nbbuild/ build.xml:2560 : Following error oc cured while executing this line /home/tparley/netbeans-src/nbbuild/ build.xml:2555 : Following error oc cured while executing this line /home/tparley/netbeans-src/nbbuild/ build.xml:1160 : Following error oc cured while executing this line /home/tparley/netbeans-src/nbbuild /templates/proj ectized.xml:118: Compile failed ; see the co m p
Created attachment 19013 [details] Same error message content. Easier to read.
Looks to be a now-infamous javac bug which I think was fixed in JDK 1.4.2. JDK 1.4.1 is not supported.
FYI, upgrade of JDK to 1.4.2 plus download of new archive helped.