Hi,

Maybe all my questions are already answered:
0) Is there some document like "ant for Makefile users?"

1) path not executed properly under cygwin:
when I run
    <exec executable="/bin/sh">
       <arg line='-c "ls -lart *.??.html"'/>
    </exec>

it is converted to \bin\sh which is misunderstood under cygwin and returns
DOS error=3 (path not found)

omitting the path an just having a blank "sh" fixed it, but what do I do if
the path matters?

2) single character wildcard patterns:
in the manual pages I find lots or "*" but no "?" examples?
<include name="**/*.jar"/>
      <dirset dir="${build.dir}">
        <include name="apps/**/classes"/>
        <exclude name="apps/**/*Test*"/>

Can I use "?" inside ant? Or is there only mapper regex?

3) how to show the content of a fileset?
I built
  <fileset dir="." casesensitive="yes" >
    <patternset id="htmlInputFiles" >
       <include name="*.??.m4"/>
    </patternset>
  </fileset>
where ?? is the 2 character language code (e.g. en or de) and the gnu m4
pre-processor is used to translate them into *.??.html.
How can I have ant "echo" the content of the fileset to see whether it
worked right?

4) dependencies:
is there a way to iterate through regexed dependencies?
The Makefile I want to retire basically just did three things:
i) if there is a *.??.m4 file, run m4 on that file and create the
corresponding *.??.html output file unless it exists already
ii) if a *.??.m4 is younger than the corresponding *.??.html rebuild that
target
iii) if a file in a list "a.inc, b.inc, c.inc" is younger than any
*.??.html, rebuild that *.??.html from its corresponding *.??.m4

Any hints would be highly appreciated!
Many thanks in advance!

Ralf

P.S.: I am running Cygwin DLL : 1.3.12 and Apache Ant version 1.5 compiled
on July 9 2002


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

Reply via email to