Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:19 Go to next message
nicolas de loof is currently offline nicolas de loofFriend
Messages: 6
Registered: July 2009
Junior Member
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 10:07 Go to previous messageGo to next message
Abel Mui is currently offline Abel MuiFriend
Messages: 247
Registered: July 2009
Senior Member
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 13:26 Go to previous messageGo to next message
nicolas de loof is currently offline nicolas de loofFriend
Messages: 6
Registered: July 2009
Junior Member
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 15:30 Go to previous message
Abel Mui is currently offline Abel MuiFriend
Messages: 247
Registered: July 2009
Senior Member
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 10:07 Go to previous message
Abel Mui is currently offline Abel MuiFriend
Messages: 247
Registered: July 2009
Senior Member
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 13:26 Go to previous message
nicolas de loof is currently offline nicolas de loofFriend
Messages: 6
Registered: July 2009
Junior Member
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 15:30 Go to previous message
Abel Mui is currently offline Abel MuiFriend
Messages: 247
Registered: July 2009
Senior Member
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: Thu Apr 18 03:59:01 GMT 2024

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

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

Back to the top