RE: [M2] How to only delete .class files ?

2006-02-03 Thread Max Cooper
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 d

RE: [M2] How to only delete .class files ?

2006-02-02 Thread Malcolm Wong Ho
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

RE: [M2] How to only delete .class files ?

2006-02-02 Thread Giles, Nick
I'd use an ant task like the following: org.apache.maven.plugins maven-antrun-plugin Delete the class files generate-sources

Re: [M2] How to only delete .class files ?

2006-02-02 Thread jerome lacoste
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?