Re: Ant : from path to fileset



Roedy Green a écrit :
I'd like to convert a path to a fileset. I need it to use in "copy" task.
One way is to use a "stomp" program to compose the XML file. Then you
can specify the path once and generate duplicate info in the ANT
script.

It seems heavy. I would prefer a simple trick. In last resort, i will duplicate the paths in the ant file "by hands".
.



Relevant Pages

  • Re: Ant : from path to fileset
    ... can specify the path once and generate duplicate info in the ANT ... script. ... i will duplicate the paths in the ant file "by hands". ...
    (comp.lang.java.softwaretools)
  • Re: Giving an application a window icon in a sensible way
    ... once the script is written it will ... server etc ... The advantage of an ant script is that it works identically ... In fact, the choice is to argue here, or to use ...
    (comp.lang.java.programmer)
  • Re: [FYI] Allen Holub: Just Say No to XML
    ... Ant ist z.B. so ein Fall: man bezeichnet die build.xml gerne als build- ... Programm, ist es ein Texteditor, sind diese Daten ein Text, ist es ein ... XML beschreibt also prinzipiell ein hierarchisches Datenformat. ... Oder doch ein Script? ...
    (de.comp.lang.java)
  • Re: Can a build file be executed from a JAR?
    ... >If I have a build file sitting in a jar, is there a way to execute an ... Extract the script from the jar with winzip or the like and feed it ... to ant normally. ...
    (comp.lang.java.programmer)
  • Re: fast ant
    ... <subant is the trick to run all the build files in the universe ... <ant lets you pick out particular sub scripts to run. ... <!-- compile and jar the universe using ant, ... then all the compiles then all the jars. ...
    (comp.lang.java.programmer)