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.
[ BUILD # : 201510012201 ] [ JDK VERSION : 1.8.0_45 ] STEPS: * Use attached projects * Open node Test Packages->de.CoSoCo.KVB.KomPruefStand * Compile Package ACTUAL: ant -f /home/ich/Projects/KVB/KomPrüfStand -Djavac.includes=de/CoSoCo/KVB/KomPruefStand/* -Dnb.internal.action.name=compile.single compile-test-single init: Deleting: /home/ich/Projects/KVB/KomPrüfStand/build/built-jar.properties deps-jar: Updating property file: /home/ich/Projects/KVB/KomPrüfStand/build/built-jar.properties CoSoCoUtil.init: CoSoCoUtil.deps-jar: Updating property file: /home/ich/Projects/KVB/KomPrüfStand/build/built-jar.properties CoSoCoUtil.compile: CoSoCoUtil.jar: TwinCAT.init: TwinCAT.deps-jar: Updating property file: /home/ich/Projects/KVB/KomPrüfStand/build/built-jar.properties TwinCAT.compile: TwinCAT.jar: compile: Compiling 8 source files to /home/ich/Projects/KVB/KomPrüfStand/build/test/classes warning: [options] bootstrap class path not set in conjunction with -source 1.7 /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:88: error: cannot find symbol private de.CoSoCo.Beckhoff.TwinCAT.ADSClientPanel adsClientPanel; symbol: class ADSClientPanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:89: error: cannot find symbol private de.CoSoCo.Beckhoff.TwinCAT.DevicePanel devicePanel; symbol: class DevicePanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:90: error: cannot find symbol private de.CoSoCo.Beckhoff.TwinCAT.IOPanel ioPanel; symbol: class IOPanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:91: error: cannot find symbol private de.CoSoCo.Beckhoff.TwinCAT.SPSPanel spsPanel; symbol: class SPSPanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:32: error: cannot find symbol adsClientPanel = new de.CoSoCo.Beckhoff.TwinCAT.ADSClientPanel(); symbol: class ADSClientPanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:33: error: cannot find symbol devicePanel = new de.CoSoCo.Beckhoff.TwinCAT.DevicePanel(); symbol: class DevicePanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:34: error: cannot find symbol ioPanel = new de.CoSoCo.Beckhoff.TwinCAT.IOPanel(); symbol: class IOPanel location: package de.CoSoCo.Beckhoff.TwinCAT /home/ich/Projects/KVB/KomPrüfStand/test/de/CoSoCo/KVB/KomPruefStand/TestRahmen. java:35: error: cannot find symbol spsPanel = new de.CoSoCo.Beckhoff.TwinCAT.SPSPanel(); symbol: class SPSPanel location: package de.CoSoCo.Beckhoff.TwinCAT 8 errors 1 warning /home/ich/Projects/KVB/KomPrüfStand/nbproject/build-impl.xml:1289: The following error occurred while executing this line: /home/ich/Projects/KVB/KomPrüfStand/nbproject/build-impl.xml:269: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 0 seconds) EXPECTED: Should compile as in 8.1 Beta.
This build was shipped as RC1. It worked in 8.1 Beta.
Created attachment 156563 [details] 3 depending projects
The test project does not work neither in NB 8.1 Beta. The problem is that the tests of the KompPruefStand depends on the Beckhoff tests. The java j2se project does not support dependency on tests. If you need it you need to add denendency on Folder Beckhoff/build/test/classes. When I did this it resolved the problem.
(In reply to Tomas Zezula from comment #3) > The test project does not work neither in NB 8.1 Beta. IIRC, I didn't see red error badges at Test Packages with NB 8.1 Beta, so I had no need to compile manually, but with NB 8.1 Beta I first noticed the red error badges. > The java j2se project does not support dependency on tests. If you need it > you need to add denendency on Folder Beckhoff/build/test/classes. When I did > this it resolved the problem. I did this before, but then I got unresolved dependencies after Clean & Build, see bug 246374 comment 7