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 68716

Summary: check during building project if the module is enabled in platform
Product: apisupport Reporter: pzajac <pzajac>
Component: HarnessAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 59792    
Bug Blocks:    

Description pzajac 2005-11-15 10:24:35 UTC
Steps to reproduce:
1) Create a module suite
2) Add a module project to the module suite 
3) Add FileSystemsAPI to the module project
4) Add a class which uses FileSystemAPI
5) Disable the FileSystemAPI in the module suite's customizer
6) Compile the module project

The project is compiled successfully. It is wrong because the module project
depends on FileSystemsAPI. The FileSystemsAPI were removed from platform. So the
compiling of the module project should fail with appropropriate message
(org-openide-filesystems.jar is not presented in module suite's platform).
Comment 1 Jesse Glick 2005-11-15 18:46:14 UTC
Too complicated for 5.0. And may be better handled at the GUI layer rather than
in the Ant build; TBD.
Comment 2 Jesse Glick 2005-12-30 07:51:42 UTC
Fixed as part of issue #59792.
Comment 3 pzajac 2006-01-19 10:34:39 UTC
verified
Comment 4 Quality Engineering 2010-02-03 22:00:26 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ad91b4ecf23c
User: Jesse Glick <jglick@netbeans.org>
Log: Refixing #68716, apparently broken by cluster.path refactoring.
Caught by CompilationDependencyTest.testCompileAgainstRemovedModule68716.