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.
I just did a cvs update from the trunk and tried a clean build and it failed in j2eeserver: Compiling 113 source files to /space/src/nb_all/j2eeserver/src /space/src/nb_all/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ui/ConfigBeanNode.java:35: package javax.enterprise.deploy.spi does not exist import javax.enterprise.deploy.spi.DConfigBean; ^ [etc., many more errors, all in javax.enterprise.deploy.**] Inspection of j2eeserver/external/ reveals that jsr88javax.jar is corrupt; definitely not a valid ZIP file, no apparent format. Confirmed that this directory is up-to-date w.r.t. CVS trunk, and tried cleaning and unscrambling this JAR again to no effect. Other JARs in the same dir are fine. j2ee-deployment-license.html is correctly listed as binary format (-kb), and in my checkout has DOS (CRNL) line endings. Usually *.scrambled corruptions result from forgetting to add -kb the license file when committing from a Windows machine, with the result that the license file is different on Unix checkouts and thus unusable. But this is in binary format and has DOS line endings on my Unix machine, so I don't see any problem there. Also the continuous build is apparently unaffected so I am not sure what is going on. Checksums: $ cksum j2ee-deployment-license.html jsr88javax.jar jsr88javax.jar.scrambled 1718560591 11207 j2ee-deployment-license.html 1015238906 22344 jsr88javax.jar 3113671263 22349 jsr88javax.jar.scrambled CVS info: $ cvs stat j2ee-deployment-license.html jsr88javax.jar jsr88javax.jar.scrambled =================================================================== File: j2ee-deployment-license.html Status: Up-to-date Working revision: 1.4 Repository revision: 1.4 /cvs/j2eeserver/external/j2ee-deployment-license.html,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: -kb cvs server: use `cvs add' to create an entry for jsr88javax.jar =================================================================== File: jsr88javax.jar Status: Unknown Working revision: No entry for jsr88javax.jar Repository revision: No revision control file =================================================================== File: jsr88javax.jar.scrambled Status: Up-to-date Working revision: 1.3 Repository revision: 1.3 /cvs/j2eeserver/external/jsr88javax.jar.scrambled,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: -kb Head of relevant files: $ for i in j2ee-deployment-license.html jsr88javax.jar jsr88javax.jar.scrambled; do echo ---$i---; od -a -tx1 $i | head; done ---j2ee-deployment-license.html--- 0000000 < ! D O C T Y P E sp H T M L sp P 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 0000020 U B L I C sp " - / / W 3 C / / D 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 0000040 T D sp H T M L sp 4 . 0 1 sp T r a 54 44 20 48 54 4d 4c 20 34 2e 30 31 20 54 72 61 0000060 n s i t i o n a l / / E N " > cr 6e 73 69 74 69 6f 6e 61 6c 2f 2f 45 4e 22 3e 0d 0000100 nl < h t m l > cr nl < h e a d > cr 0a 3c 68 74 6d 6c 3e 0d 0a 3c 68 65 61 64 3e 0d ---jsr88javax.jar--- 0000000 0 + c d t ` h ` h ` sub 9 N P ` ` 30 2b 63 64 74 60 68 60 68 60 9a 39 4e 50 60 60 0000020 ` ` ` ` ` ` ` ` ` ` i ` d ` - % 60 60 60 60 60 60 60 60 60 60 69 60 64 60 2d 25 0000040 4 ! M ) . & O rs * ` ` c ` 0 + g 34 21 4d 29 2e 26 4f 9e aa 60 60 63 60 30 2b 67 0000060 h ` ` ` ` b ` ` ` ` ` ` ` 0 + c 68 60 60 60 60 62 60 60 60 60 60 60 60 30 2b 63 0000100 d t ` h ` h ` sub 9 N P ` ` ` ` ` 64 74 60 68 60 68 60 9a 39 4e 50 60 60 60 60 60 ---jsr88javax.jar.scrambled--- 0000000 & q K esc ack V H ? dc3 i ^ H 3 9 R ~ 26 71 4b 9b 06 56 48 bf 13 69 5e c8 33 39 52 fe 0000020 % - l + 6 } X o < ` em F syn q rs ` a5 2d 6c ab 36 7d d8 6f bc e0 19 46 16 f1 1e e0 0000040 gs _ f d % { P e ` can m H ~ P nul ! 1d 5f 66 64 25 7b d0 65 60 98 6d c8 fe d0 80 a1 0000060 : / ` v = E us # | v v f nul A ~ & ba 2f 60 76 3d c5 1f a3 fc f6 76 66 00 41 fe 26 0000100 | h enq so L dle | & * z nak p = dc4 v d 7c e8 05 0e cc 90 fc 26 2a 7a 95 f0 3d 14 76 64
This is probably caused by commit rev. 1.4 to license text, probably w/o rebuilding the scrambled jar.
I check in the fix. The reason is when the license file get edited, the unscrambled jar needs to be used to regenerate the scrambled jar. There is a scramble task in the module external/build.xml which has as input both original jar and license file.
Yes, it looks OK now. Thanks for quick fix.