tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henki L" <>
Subject build.xml syntax
Date Thu, 12 Sep 2002 04:57:34 GMT
I have a little question about syntax in build.xml.

If my Root Project folder is C:\myproject .. how can i delete all files and
subfolders in myproject folder without deleting myproject folder itself ??

<property name="project.home" value="c:\myproject"/>
<delete includeEmptyDirs="true>
      <fileset dir="${project.home}">
        <exclude name="*"/>

That command doest work coz it leaves empty subfolders inside myproject
folder. But if i dont use exclude it will delete everything inside myproject
folder including myproject folder itself

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message