AW: urgent : CC task compiles every time even .C is not changed

2005-08-02 Thread Jan.Materne
could you use a with nested selector? Jan >-Ursprüngliche Nachricht- >Von: Jeffrey E Care [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 3. August 2005 02:16 >An: Ant Users List >Betreff: Re: urgent : CC task compiles every time even .C is >not changed > >This behavior has nothing to

AW: [xslt]

2005-08-02 Thread Jan.Materne
Whats wrong with ? Jan >-Ursprüngliche Nachricht- >Von: SinDoc [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 3. August 2005 00:59 >An: user@ant.apache.org >Betreff: [xslt] > >I have a chunk of XML files, each of which is mapped to a >particular HTML output. Now, I'd like to know, how

Re: Urgent request for testing availability of websites.

2005-08-02 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> Is there a way through ant to do a) Login in to a website - success or failure based on status codes. b) To test hyperlink's to check if the applications are running. Any ideas would be highly appreciated. Canoo WebTest has Ant tasks to do that: http://webtest.canoo.c

Re: urgent : CC task compiles every time even .C is not changed

2005-08-02 Thread Jeffrey E Care
This behavior has nothing to do with the Ant runtime and everything to do with the implementation of the cc task. I would suggest that you take this up with the antcontrib folks. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis)

urgent : CC task compiles every time even .C is not changed

2005-08-02 Thread hiren patel
Hi, I am using CC task and it compiles prog.c to prog but it does it all the time regardless of prog.c has changed or not. ANT should not recompile when source .c has not changed. but it does.. do you know what is wrong? here is the code of build.xml: please provide suggestions ASAP hire

[xslt] a pre-defined output for each XML file

2005-08-02 Thread SinDoc
I have a chunk of XML files, each of which is mapped to a particular HTML output. Now, I'd like to know, how I could process them with an XSLT stylesheet by using the Ant XSLT task in order for source files to be written into their HTML equivalents!? Note that, it's all about transforming the D

[xslt]

2005-08-02 Thread SinDoc
I have a chunk of XML files, each of which is mapped to a particular HTML output. Now, I'd like to know, how I could process them with an XSLT stylesheet by using the Ant XSLT task in order for source files to be written into their HTML equivalents!? Note that, it's all about transforming the D

Re: Urgent request for testing availability of websites.

2005-08-02 Thread Ninju Bohra
If you just want to make sure the URL for a website returns a valid HTTP code (i.e. the website is responsing) try the task. We do the following to test that our Tomcat App servers are up: --- [EMAIL PROTECTED] wrote: > > Is there a way through ant to

Re: Urgent request for testing availability of websites.

2005-08-02 Thread EJ Ciramella
Depending on which platform you're on, you may be able to exec something. If this isn't good enough, try httpunit. On Aug 2, 2005, at 12:43 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Can you post the hyperlink again. It is going to Macromedia's site. We just just want to test the

Re: Urgent request for testing availability of websites.

2005-08-02 Thread James Fuller
[EMAIL PROTECTED] wrote: >Can you post the hyperlink again. It is going to Macromedia's site. We >just just want to test the application after logging into the site by >clicking some tabs and links in sequence to verify the applications are >running > >Thanks >srikrishna > >-Original Message--

RE: Urgent request for testing availability of websites.

2005-08-02 Thread Srikrishna_Parthasarathy
Can you post the hyperlink again. It is going to Macromedia's site. We just just want to test the application after logging into the site by clicking some tabs and links in sequence to verify the applications are running Thanks srikrishna -Original Message- From: James Fuller [mailto:[EMA

Re: Urgent request for testing availability of websites.

2005-08-02 Thread James Fuller
[EMAIL PROTECTED] wrote: >Is there a way through ant to do > >a) Login in to a website - success or failure based on status codes. > > try ant-contrib http post task http://www.macromedia.com/cfusion/tdrc/index.cfm?product=coldfusion >b) To test hyperlink's to check if the applications are r

Urgent request for testing availability of websites.

2005-08-02 Thread Srikrishna_Parthasarathy
Is there a way through ant to do a) Login in to a website - success or failure based on status codes. b) To test hyperlink's to check if the applications are running. Any ideas would be highly appreciated. Thanks srikrishna ---

solvedRE: Another Problem with a regular expression

2005-08-02 Thread hind.lwahhabi
ok actually i needed 8 backslashes! Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 5:50 PM To: user@ant.apache.org Subject: RE: Another Problem with a regular expression in fact when i put my folder path in a property it does no

RE: Another Problem with a regular expression

2005-08-02 Thread hind.lwahhabi
in fact when i put my folder path in a property it does not work(e.g=some.dir=c:foobardude), when i pass the c:foobardude directly it works fine ! any clue? Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005

RE: Another Problem with a regular expression

2005-08-02 Thread hind.lwahhabi
I tried with 4 backslashes but no change: c:foobardude Hind Lwahhabi. -Original Message- From: Gisbert Amm [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 5:25 PM To: Ant Users List Subject: Re: Another Problem with a regular expression You need to escape the backslashes, see

Re: Another Problem with a regular expression

2005-08-02 Thread Gisbert Amm
You need to escape the backslashes, see e.g. http://www.regular-expressions.info/java.html Regards, Gisbert Amm [EMAIL PROTECTED] wrote: Hello; it's me again. i tought everything was fine but then i saw strange problem with my propertyregexp usage. my snippet is: some.dir being an absolute

Another Problem with a regular expression

2005-08-02 Thread hind.lwahhabi
Hello; it's me again. i tought everything was fine but then i saw strange problem with my propertyregexp usage. my snippet is: some.dir being an absolute windows directory: c:\foo\bar\dude some.input being a relative directory= /some/other/directory when i run this i get as a result: C\:foobar

FW: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
Hind Lwahhabi. -Original Message- From: Lwahhabi, Hind Sent: Tue 8/2/2005 4:34 PM To: Ant Users List Patrick Martin Subject: RE: regular expression help+tokens instead of words no because the line does not start with a blank. thanks anyway:) i have solved my problem(see my previous

Re: regular expression help+tokens instead of words

2005-08-02 Thread Patrick Martin
Hi, You could try to replace the blank character by ' myPrefix' (not the blank before myPrefix). Patrick Martin On 8/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > thanks Ahmed it works for the sample string i provided. > My question is how can you avoid special characters e.g instead o

solved: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
ok i just modified with following:regexp="([0-9A-Z\/\.a-z]+)" thanks again for your help guys! Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 3:58 PM To: user@ant.apache.org Subject: RE: regular expression help+tokens instead of

RE: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
thanks Ahmed it works for the sample string i provided. My question is how can you avoid special characters e.g instead of Foo Bar blabla , you have: input string=foo/bar.ext foo/some1.ext. The goal is to match the tokens separated by blank space and not words. Thanks for any help! Hind Lwahha

RE: regular expression help

2005-08-02 Thread Basel Ahmed
Here's a code snippet that does what you'd like to do with . The result is: [echo] Regular expression is: myPrefixFoo myPrefixFoo myPrefixFoo myPrefixFoo Basel Ahmed Federated Systems Group Site Build & Launch (Duluth) [EMAIL PROTECTED] 678-474-3203 "Time is the coin of your life. It i

RE: regular expression help

2005-08-02 Thread hind.lwahhabi
Do you mean: But then all the words would be replaced by the prefix , no? Forgive me i ama beginner in regular expressions:) Hind Lwahhabi. Accenture Belgium - Financial Services & Insurance Koningstraat 145 Rue Royale, B-1000 Brussels, Belgium mobile: +32 499567544 phone: + 32 2 226 75 44 E-ma

RE: Copy task and timestamp

2005-08-02 Thread Ramnish Kalsi
This should solve your issue: preservelastmodifiedGive the copied files the same last modified time as the original source files. No; defaults to false. http://ant.apache.org/manual/CoreTasks/copy.html Its the second paramter. ramnish. -Original Message- From: [EMAIL PROTECTED

Re: Copy task and timestamp

2005-08-02 Thread Nicolas Vervelle
[EMAIL PROTECTED] wrote: Hi All, While you use Copy task it will change the timestamp of that file, i.e. if "old.txt" file was created on July 12, 2000 when you copy this file on Aug 12, 2005 to certain location Copy task will change its timestamp(or modified date) to Aug 12, 2005, ho

Copy task and timestamp

2005-08-02 Thread pritesh.saharey
Hi All, While you use Copy task it will change the timestamp of that file, i.e. if "old.txt" file was created on July 12, 2000 when you copy this file on Aug 12, 2005 to certain location Copy task will change its timestamp(or modified date) to Aug 12, 2005, hope people are getting me. Wh

Re: regular expression help

2005-08-02 Thread James Fuller
[EMAIL PROTECTED] wrote: >Hello guys; >I would like some help for the following. >Using how would you perform the following: > >input string="Foo Bar Jeff Blabla" >replacing prefix="myPrefix" >result string="myPrefixFoo myPrefixBar myPrefixJeff myPrefixBlabla" > > \w* should match every word o

regular expression help

2005-08-02 Thread hind.lwahhabi
Hello guys; I would like some help for the following. Using how would you perform the following: input string="Foo Bar Jeff Blabla" replacing prefix="myPrefix" result string="myPrefixFoo myPrefixBar myPrefixJeff myPrefixBlabla" I am doing it currently with but i am sure there is an elegant way

Re: Ant file dependency

2005-08-02 Thread Alexey Kakunin
Thank you, exactly that we need. Ninju Bohra wrote: Take a look at the task and use it to set a property, say idl.has.changed, to true. Then create a seperate target, called invoke.idl.compiler, which contains the task to invoke the idlcompiler. Use the if="idl.has.changed" attribute of

Re: CC task in ANT

2005-08-02 Thread Alexey Kakunin
Something like this: description="example of source compilation"> subsystem="other" name="${compiler}" exceptions="true" objdir="."

Re: tool for XML editing ????

2005-08-02 Thread [EMAIL PROTECTED]
hiren patel wrote: hi, As XML is not easily editable are there any tool availble to write,modify and debug it easily? or do you know any ANT related tools which makes GNU to ANT migration , maintainance easy? thanks, hiren patel - Sta