Hi,

Does any one have a document how to use "rant"?

I am trying to run an ant script remotely. I am getting an error while
running the "rexec" command . does it require anything more than a usual
procedure for it is included in the optional tasks list.

Thanks

-----Original Message-----
From: Vadim Kazakov [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 22, 2004 12:05 PM
To: Ant Users List
Subject: RE: newbie <delete> not removing my empty directory?

Because you're not specifying the directory in the include tags so it
only deletes .java and .class files unless the .class files are in a
subdirectory xyz/test1.

-----Original Message-----
From: Eric Lubin [mailto:[EMAIL PROTECTED] 
Sent: November 19, 2004 2:07 PM
To: [EMAIL PROTECTED]
Subject: newbie <delete> not removing my empty directory?

Based on the directory structure and files listed at the bottom, why
doesn't the last delete
remove the test2_sub1 directory?

Thanks, Eric

<project name="Test" default="doIt" basedir=".">
 <description>simple example build file</description>
 <target name="doIt">
  <tstamp/>
  <mkdir dir="TempCom" />
  <delete includeEmptyDirs="true"><fileset dir="TempCom" /></delete>
  <mkdir dir="TempCom" />
  <copy todir="TempCom"><fileset dir="com" /></copy>
  <delete includeEmptyDirs="true">
   <fileset dir="TempCom">
    <include name="**/*.java" />
    <include name="**/*.class" />
    <exclude name="xyz/test1/**/*.class" />
   </fileset>
  </delete>
 </target>
</project>

-----------------------------------------------------------------------

root
|-com
  |-xyz
    |-test1 (with file a.java and a.class)
      |-test1_sub1 (with file b.java and b.class)
    |-test2 (with file c.java and c.class)
      |-test2_sub1 (with file d.java and d.class)
      |-test2_sub2 (with file e.txt and f.txt)





                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
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]


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

Reply via email to