Inclusion and Exclusion Confusion

2007-07-19 Thread Evan J
Hi, I have the following structure for a project: com/host/proj/package1/subpackage/{*.java} com/host/proj/package2/{*.java} com/host/proj/test/package2/{*.java} Note: test/package2 indicates that I am writing test cases for classes in package2 (at least for now). I would like to compile the pa

Re: TImestamping in ANT

2007-07-19 Thread Wascally Wabbit
Hi, The assign task is already defined for you as part of the AntXtras antlib. The easiest thing to do is to load the entire antlib and experiment. *See the Quick Start and User Guide for additional information*. Example (assuming at least Ant 1.6.5, and AntXtras bin download to some local direc

JLink replacement

2007-07-19 Thread Martin Ficker
Hi, I've got a question about the Jar task. The JLink task was able to merge the content of jarfiles from different, totally unrelated places, defined in a PATH Structure. "JLink" is deprecated since Ant 1.5, so there must be a solution without using it. But I'm just not able to find it. Could

Invoking sql files in ANT.

2007-07-19 Thread Chun Ji
Hi all, I was trying to call some sql files from ANT, and it keeps giving me some "ORA-00922, ORA-00900.." errors. I don't think there is anything special in the ant/build.xml, but is because something in the sql file that ANT/SQL can not recognize, such as: " set define off ... spool exe

Re: fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
May I respectfully suggest a attribute alternative to the selector's current and attributes? --Wayne Wayne Cannon wrote: I would like to do the equivalent of a "find -newer reference_file ... | zip ... ", i.e., archiving all files newer than a reference_file. I would like to archive only

Re: fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
After that sales pitch, I'll definitely investigate the Ant-Contrib "outofdate". Thanks. I'm also investigating whether a selector with a element can do what I'm looking for. --Wayne Dominique Devienne wrote: My bad, I so seldom used uptodate after outofdate came out that I forgot how mu

Re: TImestamping in ANT

2007-07-19 Thread dkhanna01
Hi I downloaded the antxtras unility from the site but the two jar files in that does not contain class file for assign task. SO when I try to run my script after adding assing task it gave an error that " Problem: failed to create task or type assign" THanks Wascally Wabbit wrote: > > dkhann

Re: fileset date selector based on the date of a file

2007-07-19 Thread Dominique Devienne
My bad, I so seldom used uptodate after outofdate came out that I forgot how much inferior it is to outofdate ;-) Sounds like Matt's solution's the way to go for pure Ant 1.7+, while I'd probably use Ant-Contrib's myself, 'cause I'm used to it, and can nest the tasks to perform directly in the

Re: fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
I don't understand how to use for this purpose. My reading of is that it will set a property if a file is up-to-date with respect to another file (based on a merge mapper for my case). I currently use for determining whether certain operations need to be performed (setting a boolean proper

Re: Changing regex implementation in LineContainsRegExp filter

2007-07-19 Thread Dominique Devienne
Have you tried putting the ORO impl in ANT_HOME/lib? But isn't you regexp more complex that it needs to be? --DD On 7/19/07, Alex Egg <[EMAIL PROTECTED]> wrote: By default it looks like the LineContainsRegExp filter uses the java.util.regex package by default. However, apparently this particula

Changing regex implementation in LineContainsRegExp filter

2007-07-19 Thread Alex Egg
By default it looks like the LineContainsRegExp filter uses the java.util.regex package by default. However, apparently this particular regex implementation doesn't support * metacharacters in look-behinds, e.g.: (?<=\