random number generator

2007-07-20 Thread Mario Madunic
Hi, I'm trying to generate a random number to be used as a temporary directory name through a multi step xslt process. I'm using Ant 1.6.5 and Java 1.6.0-b105 I've placed the following .jars into Ant/lib js.jar bsh-2.0b4.jar commons-httpclient-3.1-rc1.jar commons-logging-1.1.jar commons-logging-

RE: Invoking sql files in ANT.

2007-07-20 Thread Chun Ji
-Original Message- From: Priest, James (NIH/NIEHS) [C] [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 2007 4:50 AM To: Ant Users List Subject: RE: Invoking sql files in ANT. Importance: Low > -Original Message- > From: Chun Ji [mailto:[EMAIL PROTECTED] > I was trying to cal

Re: regex text out of a file

2007-07-20 Thread Dominique Devienne
On 7/20/07, Alex Egg <[EMAIL PROTECTED]> wrote: All I want to do is get the value of the 'src' attribute, how would a replaceregex help me? I'm sorry, but I don't have the time to give you the solution, only guide you as best I can... The pattern *captures* only the part of the line of inter

Re: regex text out of a file

2007-07-20 Thread Alex Egg
All I want to do is get the value of the 'src' attribute, how would a replaceregex help me? On 7/20/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: > How can I get the src attribute values from this: > > > > > Using a , as the link I provided shows. --DD ---

Re: regex text out of a file

2007-07-20 Thread Dominique Devienne
How can I get the src attribute values from this: Using a , as the link I provided shows. --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: regex text out of a file

2007-07-20 Thread Alex Egg
This is what I have so far: ${includeTags} How can I get the src attribute values from this: On 7/19/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: http://marc.info/?l=ant-user&m=113259283417972&w=2 I searched for loadfile at this mailing archive site. --DD On 7/19/07, Alex

Re: Changing regex implementation in LineContainsRegExp filter

2007-07-20 Thread Alex Egg
OH, I overlooked the fact that linecontainsregexp returns a whole line. I guess I could reduce my regex to " wrote: Have you tried putting t

Re: Changing regex implementation in LineContainsRegExp filter

2007-07-20 Thread Alex Egg
I don't think so. What do you suggest? I just want to get the value of the src attributes from all the script tags. Alex On 7/19/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: Have you tried putting the ORO impl in ANT_HOME/lib? But isn't you regexp more complex that it needs to be? --DD

Re: Using Java xml properties file with Ant

2007-07-20 Thread nswoboda
Thanks for the short term solution, it works like a charm. Nik > In the meantime one can write a custom task, or use

Re: Using Java xml properties file with Ant

2007-07-20 Thread Gilbert Rebhan
Hi, [EMAIL PROTECTED] wrote: We are building a piece of software which has a number of Java properties files in xml format (the kind which are read with Properties.loadFromXML). An example: http://java.sun.com/dtd/properties.dtd";> [ ... ] I would like to be able to read these files and use

Re: Using Java xml properties file with Ant

2007-07-20 Thread Peter Reilly
On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It would be nice if there were a way for the xmlproperty task to create pro= > ps with an XPath like syntax. Something like: > > temp.properties.entry(key=3D"appName") would return Name I think that we would want something like this, t

Re: Using Java xml properties file with Ant

2007-07-20 Thread nswoboda
> It would be nice if there were a way for the xmlproperty task to create pro= > ps with an XPath like syntax. Something like: > > temp.properties.entry(key=3D"appName") would return Name I think that we would want something like this, the other suggestions imply some 'known' ordering on the pr

AW: Using Java xml properties file with Ant

2007-07-20 Thread Jan.Materne
>Good question. Looking at the ant source it looks like the >property value is overwritten with the new value concatenated >onto the old value with a comma in between. So the old value is lost. > >This is probably not the answer you are looking for but you >could use ant contrib's foreach task

Re: Using Java xml properties file with Ant

2007-07-20 Thread ryan
Hey Nik, Good question. Looking at the ant source it looks like the property value is overwritten with the new value concatenated onto the old value with a comma in between. So the old value is lost. This is probably not the answer you are looking for but you could use ant contrib's foreach

Using Java xml properties file with Ant

2007-07-20 Thread nswoboda
We are building a piece of software which has a number of Java properties files in xml format (the kind which are read with Properties.loadFromXML). An example: http://java.sun.com/dtd/properties.dtd";> Name Something 2.5 I would like to be able to read these files and use their proper

Re: Inclusion and Exclusion Confusion

2007-07-20 Thread Evan J
I think you misunderstood me. The test target does indeed depend on compilation of base classes. When I run the compile target for the base classes _only_ (not the compile for test target), the compilation of such classes result in a correct set of classes (only the base classes) being compiled an

Clive Wang is out of the office.

2007-07-20 Thread Clive Wang
I will be out of the office starting 07/20/2007 and will not return until 08/10/2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Invoking sql files in ANT.

2007-07-20 Thread Mike Stewart
Check out http://tahiti.oracle.com/pls/db92/db92.error_search?search=01000 a handy site for checking the error messages. ORA-00922 missing or invalid option Cause: An invalid option was specified in defining a column or storage clause. The valid option in specifying a column is NOT NULL to specif

[ANNOUNCE] Ivy 2.0.0-alpha2 released

2007-07-20 Thread Xavier Hanin
July 20 2007 - The Ivy incubator project is please to announce its 2.0.0 alpha 2 release, a new step on the road toward 2.0 final. Ivy is a tool for managing (recording, tracking, resolving and reporting) project dependencies, characterized by flexibility, configurability, and tight integration w

RE: Invoking sql files in ANT.

2007-07-20 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: Chun Ji [mailto:[EMAIL PROTECTED] > 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 Charlie - I take it by the error messages you are using Oracle - check out my wiki post here: ht

RE: Inclusion and Exclusion Confusion

2007-07-20 Thread RADEMAKERS Tanguy
>Can somebody shed light on what I am doing wrong? I'm guessing that your test classes refer to - i.e. depend on - the classes they test, right? So isn't it normal that the tested classes get compiled? /t - To unsubscribe, e-ma