Re: Need help with REPLACING an SSI directive

2009-04-30 Thread xak
Yeah, that is exactly what I want to do. Just somehow recognize the SSI string in the HTML and then replace it with the actual file contents. I thought ANT would be nice because there are other tasks as part of the publishing -- copying all files to new directories, concatenating CSS files, com

Re: Need help with REPLACING an SSI directive

2009-04-30 Thread Francis Galiegue
Le Thursday 30 April 2009 20:54:24 xak, vous avez écrit : > First off, I am very new to using ANT and I'n not a Java developer but my > needs are very simple ... > > I am creating a web site that is decently large but it must be static. So > I'm thinking that I can develop the site locally using se

Re: Need help with REPLACING an SSI directive

2009-04-30 Thread David Weintraub
I'm trying to figure out exactly what you need. You want to *insert* the file the ServerSide Include is referring to instead of using Server Side Includes? I would think Ant would be an overkill in this case. A simple Perl or Python script would do exactly what you want and shouldn't take long to

Need help with REPLACING an SSI directive

2009-04-30 Thread xak
First off, I am very new to using ANT and I'n not a Java developer but my needs are very simple ... I am creating a web site that is decently large but it must be static. So I'm thinking that I can develop the site locally using server-side includes to avoid hardcoding all the navigation, etc. a

Re: Need Help

2009-04-30 Thread John Burgess
I believe if there is no at the start of the file then ant will assume that UTF-8 is in use. I would guess that you are actually using a different encoding, so you need to add the xml prolog with the appropriate character set (It would propably be ISO-8859-1 here as this denotes Latin-1 but w

RE: Need Help

2009-04-30 Thread Scot P. Floess
At the top of your build.xml, do you have something like this: On Thu, 30 Apr 2009, Rajesh Kumar (IN4774) wrote: Could you plz let me knw what prolog and how to resolve? Regards, RJ -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Thursday, April 30, 2009

Mary Milne is out of the office.

2009-04-30 Thread Mary Milne
I will be out of the office starting 08/04/2009 and will not return until 11/05/2009. I am away from the office but will be checking emails quite frequently. In the case of urgent enquires please contact: Alison Litherland alitherl...@cambrigde.org for Content Ian Fairman or Lihong Yang for Syst

RE: Need Help

2009-04-30 Thread Rajesh Kumar (IN4774)
Could you plz let me knw what prolog and how to resolve? Regards, RJ -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Thursday, April 30, 2009 8:02 PM To: Rajesh Kumar (IN4774) Cc: user@ant.apache.org Subject: Re: Need Help What does your build.xml file look like

Re: Need Help

2009-04-30 Thread Scot P. Floess
What does your build.xml file look like? Could be an issue with your XML prolog... On Thu, 30 Apr 2009, Rajesh Kumar (IN4774) wrote: When u run following command, its say... Ø Ant TARGET_NAME Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence. Any Help?

Re: Weird parallel/for situation

2009-04-30 Thread sridhar bitkuri
You might try using sleep stmts after each task put the time appropriately, say 60 sec. may be... On Wed, Apr 29, 2009 at 4:59 PM, fnord wrote: > > I've got a situation that I'm trying to script around, and I'm somewhat > stumped, and hoping someone might have a solution. > > I have an array of

Need Help

2009-04-30 Thread Rajesh Kumar (IN4774)
When u run following command, its say... Ø Ant TARGET_NAME Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence. Any Help? Regards, Rajesh http://www.mindtree.com/email/disclaimer.html

Re: if conditions on numerical values?

2009-04-30 Thread oli85
Thanks a lot for the prompt response! I'll try that:) Francis Galiegue-4 wrote: > > Le Wednesday 29 April 2009 20:25:01 Francis Galiegue, vous avez écrit : > >> >> You don't need numerical arithmetic for this (if you need it anyway, have >> a >> look at ant-contrib's task). You can use plain a

RE: Problems with ANTLR

2009-04-30 Thread Felix Dorner
> > Reason: /scratch2/nemer/test/build.xml:47: Problem: failed > to create > > task or type antlr > > Cause: the class > org.apache.tools.ant.taskdefs.optional.ANTLR was not > > found. Did you even look at this: http://ant.apache.org/manual/OptionalTasks/antlr.html ? Note that this refers to An