Community
Participate
Working Groups
I'm using linked resources in a workspace to share certain Java source files in many projects. When I refactor (move) classes that are references by shared resources, the Java source code of these shared resources is corrupted (garbage, syntax error).
Would you have a specific test case to provide?
(In reply to comment #1) > Would you have a specific test case to provide? To reproduce a project like this should do: ProjBase: src "some stuff1" (in my case: utility classes) linked folder to ProjEJB:"some stuff2" (filtered: only remote interfaces) ProjEJB: src "some stuff2" (in my case: EJB 2.0 classes) ProjServer: src "some stuff3" (does not matter) linked folder to ProjEJB:"some stuff2" (filtered: only local interfaces) Then refactor (move) a class from "some stuff1" to some other package. Then you'll experience corruptions in the import area of the interface classes like: import a.b.c.SomeException;tion;tion;
I cannot reproduce the problem, but strongly doubt I do the right thing... There's something unclear in comment 0 and your sample in comment 2 is not enough detailed to clarify it: "When I refactor (move) classes that are references by shared resources..." means that you have shared resources which are referencing resources in specific project? In your example, this would mean that resources in "some stuff2" reference resources in "some stuff1" and "some stuff3". Would it be possible to create a simple example in a new workspace without any specific pre-req configuration and attach it to this bug? This would help us to find what exactly happen there, Thanks
Please reopen if you still experience this issue and provide requested test case, thanks
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.