mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed hack that changed compilation classpath in ordrer for J2EE compiler to work correctly
This commit is contained in:
@@ -180,9 +180,10 @@ public class ModuleChunk extends Chunk<Module> {
|
||||
}
|
||||
|
||||
private static OrderEntry[] getSortedOrderEntries(Module module) {
|
||||
//return ModuleRootManager.getInstance(module).getOrderEntries();
|
||||
return ModuleRootManager.getInstance(module).getOrderEntries();
|
||||
// TODO: this is a patch for SCR 36800, After J2EE Compiler copying mechanizm is fixed,
|
||||
// TODO: remove all the code below and uncomment the line above
|
||||
/*
|
||||
final OrderEntry[] orderEntries = ModuleRootManager.getInstance(module).getOrderEntries();
|
||||
final List<OrderEntry> result = new ArrayList<OrderEntry>();
|
||||
final List<OrderEntry> moduleOrderEntries = new ArrayList<OrderEntry>();
|
||||
@@ -203,6 +204,7 @@ public class ModuleChunk extends Chunk<Module> {
|
||||
result.addAll(insertIndex, moduleOrderEntries);
|
||||
}
|
||||
return result.toArray(new OrderEntry[result.size()]);
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user