Re: regexp file content search to form a fileset

2002-09-22 Thread Erik Hatcher
Its easy to write a custom Selector. Have a try. Its documented in Ant's documentation as well as the fine Java Development with Ant book :) And as far as I can tell, nothing exists to do regular expression matching. You could use or with two contains selectors if you wanted to allow one

Re: regexp file content search to form a fileset

2002-09-22 Thread Elizabeth Cooper
Erik: I have already considered that I would need to write my own Selector, but that if there was any other practical way, it would be more favorable to my management-types. We use information in the header area of the file to group JavaBean classes into jars when we build our products. It

Re: reverse glob mapper pattern?

2002-09-22 Thread Jacob Kjome
Hi Diane, Thanks for the response. However, I tried you example out and, though it seems like it *should* work the way you have it, there is something wrong. Here is what I am using: fileset dir=${src.dir} id=src.sample.fs present targetdir=${src.dir}

jspc and webinc/webxml attribute

2002-09-22 Thread Xinhong Luo
Hi, I am tying to use jspc in ant and the attribute webxml or webinc seems do not work. I use: target name=compileJSP description=compile JSP jspc srcdir=${project.dir} destdir=${project.dir} classpathref=lib.path verbose=${verbose} webinc=${project.dir}/x.xml include name=**/*.jsp/ webapp

Re: regexp file content search to form a fileset

2002-09-22 Thread Erik Hatcher
Elizabeth Cooper wrote: I have already considered that I would need to write my own Selector, but that if there was any other practical way, it would be more favorable to my management-types. Again, orcontains/contains//or seems like a reasonable workaround for the near future, but a

Re: is the ant installation ok !!

2002-09-22 Thread Conor MacNeill
[EMAIL PROTECTED] wrote: hello everyone, i have been following ant user guide and steps from Java Development with Ant Erik Hatcher and Steve Loughran. now when i type ant -version on my command prompt it displays the following message 'THE SYSTEM CANNOT FIND THE PATH SPECIFIED apache ant

Re: How to call a target not in the same build file?

2002-09-22 Thread otisg
I use antcall dir=buil/file/dir/here task=task-name-here/ Otis On Fri, 20 Sep 2002, Richard Pais ([EMAIL PROTECTED]) wrote: Hi, Does anybody know if LoadFile will let me call a task defined in B.xml from A.xml? Has anybody tackled such a requirement before? Thanks

ant tar and jar tasks do not preserve file permissions?

2002-09-22 Thread Michael Charters
hi, i just created a save task to compress the entire dir into a dated jar file ... so that before i make major changes in my program i have a backup. unfortunately, the ant jar task does not preserve the permissions on the files when it saves (i am running linux and have scripts for doing

Hi - Addition of a new ANT task for doxygen

2002-09-22 Thread Karthik A Kumar
Hi, I have developed a new ANT task for doxygen. Compatibility: Ant 1.5 and later. URL: http://ant-doxygen.sourceforge.net Contact: Karthik A Kumar mailto: [EMAIL PROTECTED] License: Apache Software License. Kindly include the task in the list of external tasks that are available in

Re: Successful users of xmlcatalogs with xmlvalidate in 1.5?

2002-09-22 Thread Jason Untulis
On 02/09/18 7:17 AM, Erik Hatcher [EMAIL PROTECTED] wrote: I'm using xmlvalidate with xmlcatalog's a fair bit, but only against filesystem DTD's, not ones embedded in JAR files. Thanks for the ideas. Your suggestion helped to determine my problem was that I was trying to use an xmlcatalog

Iterating through source file

2002-09-22 Thread mutex
I've done a search of looping and looked at most code samples ssupplied. It looks like people create new classes when existing API doesn't solve their problem I'd like to iterate through a file and save each line as a proterty and then process that property with a task. First of all, is this

Re: reverse glob mapper pattern?

2002-09-22 Thread Jacob Kjome
Turns out that after some more clear thought and debugging that the issue lies in the fact that the paths provided by the fileset are cleaner than the ones defined by hand. For instance, here are my variables used below: property name=root.dir value=${basedir}/.. / property name=src.dir