Community
Participate
Working Groups
I have an operation that creates a compilation unit under a given package. I run this operation using the source folder as the scheduling rule. The problem is that I have to call PackageFragmentRoot#createPackageFragment(...) which runs the CreatePackageFragmentOperation under a scheduling rule of WorkspaceRoot. This causes an IllegalArgumentException to be thrown. This means I have to change my operation to run with the WorkspaceRoot as the scheduling rule. I see no reason why the creation of a PackageFragment would need a scheduling rule broader than the PackageFragmentRoot under which it is being created.
Problem still exists with 3.3RC4
Created attachment 73019 [details] Proposed fix and regression test
Fix and test released for 3.4M1 in HEAD.
Verified (running added test) for 3.4M1 using build I20070802-0800.