cool thanks.

A.

On 4/26/07, Pier Mauro Vignati <[EMAIL PROTECTED]> wrote:
Hi Baz, yuo can use something like:
(here I'm using the clean plugin to clean up my local tomcat webapp dir ..)

  <plugin>
   <artifactId>maven-clean-plugin</artifactId>
   <configuration>
    <filesets>
     <fileset>
      <directory>
       ${tomcat.installation.dir}\webapps
      </directory>
      <includes>
       <include>**/*</include>
      </includes>

      <followSymlinks>false</followSymlinks>
     </fileset>
    </filesets>
   </configuration>

   <executions>
    <execution>
     <id>auto-clean</id>
     <phase>validate</phase>
     <goals>
      <goal>clean</goal>
     </goals>
    </execution>
   </executions>
  </plugin>
Regards
Pier.


On 4/26/07, Baz <[EMAIL PROTECTED]> wrote:
>
> All,
>
> I am trying to clean a directory outside the source tree, how can i do
> it? I read the following page:
>
>
> 
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html
>
> What is the specific syntax i need for the <include> line? I added the
> following line but nothing have been removed.
>
> <includes>
> <include>abc/**/*</include>
> </includes>
>
> Thanks. A.
>
> ---------------------------------------------------------------------
> 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