Due to WSAD project directory structure, eg an ejb project has an ejbModule 
that is both the sourceDirectory and outputDirectory.

-----Original Message-----
From: jerome lacoste [mailto:[EMAIL PROTECTED]
Sent: Thu 2/2/2006 12:54 PM
To: Maven Users List
Subject: Re: [M2] How to only delete .class files ?
 
On 2/2/06, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:
> How do i remove .class files if the sourceDirectory and outputDirectory are 
> the same ?

Using maven, I don't know... It's not a standard practise. Stick with
the standard.

What do you gain at using the same directory for source and output?


(
On Linux you could do
   find src/main/java -name "*.class" | xargs rm
but I guess you're not on Linux...
)

Jerome

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




DISCLAIMER:
This message may contain information which is confidential, private or 
privileged in nature. If you are not the intended recipient, you may not 
peruse, use, disseminate, distribute or copy this message or file which is 
attached to this message. If you have received this message in error, please 
notify the sender immediately by e-mail, facsimile or telephone and thereafter 
return and/or destroy the original message. 

Any views of this communication are those of the sender except where the sender 
specifically states them to be those of Faritec (Holdings)  Limited (Faritec) 
and/or  any of its subsidiaries including (but not limited to) Faritec 
Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services 
(Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or 
any of its subsidiaries.

Please note that the recipient must scan this e-mail and any attached files for 
viruses and the like. While we do everything possible to protect information 
from viruses, Faritec accepts no liability of whatever nature for any loss, 
liability, damage or expense resulting directly or indirectly from the access 
and/or downloading of any files which are attached to this e-mail message.

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

Reply via email to