tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henki L" <hlu...@balicamp.com>
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="*"/>
      </fileset>
   </delete>

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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message