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.
This API should make it possible to create a folder and add it to the java sources roots. It should also make it possible to create a comile classes target and set target folder for it.
Currently I only need to use this API in new project wizard. Perhas it would be an alternative to allow customizing java project wizard via properties (?)
Implemented.
So how do I set the target folder, please? Should not there be a method CU.setOutputLocations ()? Or add/remove? Or (maybe the best option) support o.n.api.compilation.BuildTargetDescriptor?
CompilationUnit cu = ...; COnfiguration cfg = ...; ProjectMember buildTarget = cu.getBuildTarget(); if (buildTarget == null) continue; // Skeep NullCU BuildTargetDescriptor btd = (BuildTargetDescriptor) buildTarget.getEnvironment().lookup (BuildTargetDescriptor.class); btd.getOutputFolder (cfg).setOutputFolderName (url);
i've verified all these issues
closing all my verified issues