No, and otherwise I call a clean goal before the site goal, so the files are
created for the first time by the site goal.

the order of the calls in my goal are:
    - clean
    - site
    - copy the files site goal generated to a specific paste (via and tag
"copy")
    - jar:install
    - clean

but as I've said the clean (the second one) canÂt delete all the files....
and I get the error below (everytime with different file anyway...)

clean:clean:
    [delete] Deleting directory C:\eclipseWSAD\workspace\Mine\target

BUILD FAILED
File...... file:/C:/maven/loaded_plugins/maven-clean-plugin-1.1/
Element... ant:delete
Line...... 12
Column.... 43
Unable to delete file
C:\eclipseWSAD\workspace\Mine\target\docs\apidocs\br\com\test\class-use\Test
Main.html
Total time: 49 seconds
Finished at: Thu Feb 19 17:18:16 PST 2004

[]s
Freddy
----------------------------------------------------------------
Frederico Silva GuimarÃes
Tel: (21) 9952-1717
ICQ: 127277403
Email: [EMAIL PROTECTED]
----------------------------------------------------------------
----- Original Message ----- 
From: "John Casey" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 11:05 AM
Subject: Re: Error when creating a new goal


Dumb question, but it's something I'm embarrassed to say has stumped me
before...

Do you have another process open and viewing a subdirectory of the
target, like a command shell or something?

Just thought I'd check.

-john

On Thu, 2004-02-19 at 18:26, Freddy wrote:
>  Hi
>  I'm tring to create a new goal where I create the project site (via goal
>  site), move the site to other paste (via ant tags) and then I clean the
>  project (via goal clean)
>  But when I run my goal the clean goal fail, because he can't delete some
>  files of the target directory.
>  does anyone know why this is happening and how to stop this?
>  Thanks for the attention
>
> []s
> Freddy
> ----------------------------------------------------------------
> Frederico Silva GuimarÃes
> Tel: (21) 9952-1717
> ICQ: 127277403
> Email: [EMAIL PROTECTED]
> ----------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
John Casey
[EMAIL PROTECTED]
CommonJava Open Components Project
http://www.commonjava.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to