Skip to main content



      Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » Could not delete target/test-classes
Could not delete target/test-classes [message #20986] Tue, 30 June 2009 05:19 Go to next message
Eclipse UserFriend
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 #21532 is a reply to message #20986] Tue, 30 June 2009 06:07 Go to previous messageGo to next message
Eclipse UserFriend
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 #21574 is a reply to message #21532] Tue, 30 June 2009 09:26 Go to previous messageGo to next message
Eclipse UserFriend
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 #21617 is a reply to message #21574] Tue, 30 June 2009 11:30 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 :'(
Previous Topic:Checkstyle support in iam
Next Topic:PDE support
Goto Forum:
  


Current Time: Mon Jul 14 15:20:47 EDT 2025

Powered by FUDForum. Page generated in 0.31611 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top