Could not delete target/test-classes [message #20986] |
Tue, 30 June 2009 05:19  |
Eclipse User |
|
|
|
Hi
I've just installed iam on Galileo and get this strange error :
The project was not built due to "Could not delete
'/infrastructure/target/test-classes/com'.". Fix the problem, then try
refreshing this project and building it since it may be inconsistent
Running Eclispe clean, maven clean goal, or manually deleting this folder
has no effect, I always fail with this error status.
Any idea ?
|
|
|
|
|
Re: Could not delete target/test-classes [message #21617 is a reply to message #21574] |
Tue, 30 June 2009 11:30  |
Eclipse User |
|
|
|
Hi Nicolas,
Could you disable it just for checking if it is the culprit of your
problemss?
Providing a simple pom which uses it and shows the problem would also be
helpful!
nicolas de loof wrote:
> The only "unstandard" tip is that my project uses
> org.jvnet.fix1600:fix1600 plugin to fix a JDK6 / JAXB incompatibility.
> I can't disable it from the build as the generated classes would then be
> broken for testing on my local server :'(
|
|
|
Re: Could not delete target/test-classes [message #570112 is a reply to message #20986] |
Tue, 30 June 2009 06:07  |
Eclipse User |
|
|
|
I have never seen this... can you provide more inforamtion abut the
pom.xml causing the problem?
Just guessing... Maybe you are trying to delete the folder from your pom?
Eclipse will output its classes on that folder, so if it already has open
files there you will not be able to delete the folder (on windows, at
least).
If that is the case, you could disable the plugin from running on eclipse
builds from the project settings > Maven JDT.
Let us know if you can provide more information or any workaround is
useful.
nicolas de loof wrote:
> Hi
> I've just installed iam on Galileo and get this strange error :
> The project was not built due to "Could not delete
> '/infrastructure/target/test-classes/com'.". Fix the problem, then try
> refreshing this project and building it since it may be inconsistent
> Running Eclispe clean, maven clean goal, or manually deleting this folder
> has no effect, I always fail with this error status.
> Any idea ?
|
|
|
Re: Could not delete target/test-classes [message #570126 is a reply to message #21532] |
Tue, 30 June 2009 09:26  |
Eclipse User |
|
|
|
The only "unstandard" tip is that my project uses
org.jvnet.fix1600:fix1600 plugin to fix a JDK6 / JAXB incompatibility.
I can't disable it from the build as the generated classes would then be
broken for testing on my local server :'(
|
|
|
Re: Could not delete target/test-classes [message #570144 is a reply to message #21574] |
Tue, 30 June 2009 11:30  |
Eclipse User |
|
|
|
Hi Nicolas,
Could you disable it just for checking if it is the culprit of your
problemss?
Providing a simple pom which uses it and shows the problem would also be
helpful!
nicolas de loof wrote:
> The only "unstandard" tip is that my project uses
> org.jvnet.fix1600:fix1600 plugin to fix a JDK6 / JAXB incompatibility.
> I can't disable it from the build as the generated classes would then be
> broken for testing on my local server :'(
|
|
|
Powered by
FUDForum. Page generated in 0.31611 seconds