Got it. Thanks Dominique. P.
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 2:29 PM
To: Ant Users List
Subject: RE: : Execute failed: java.io.IOException:
CreateProcess...
You need an actual executable, like cmd.exe. If it's not in the
You need an actual executable, like cmd.exe. If it's not in the FAQ,
it's in the archives. --DD
> -Original Message-
> From: Marion, Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 04, 2005 4:20 PM
> To: 'user@ant.apache.org'
> Subject: : Execute failed: java.io.IOException: Create
Hello,
I am running ant 1.6.2 on XP. My build.xml contains this snippet:
when I execute the target which contains this snipped, ant fails with the
following error message:
BUILD FAILED
D:\opt\build-tool\build.xml:172: The following error occurred while
executing this line:
D:\op
Hi all,
I installed Ant 1.6.2 on RedHat ES 3 and when I run my project like:
/usr/apache-ant-1.6.2/bin/ant -f nitebuild.xml -logger
br.com.sabius.listener.NbLogger java
I get:
Unable to instantiate specified logger class br.com.sabius.listener.NbLogger :
java.lang.ClassNotFoundException
java
Here it is , I tested this code with the values in comments at end of
statements and it was working but I think it doesn't work well with my
actual string...
CharSequence inputStr = "codebase='formbuilderocx.cab#version=4,2,0,0'
viewastext id='formbuilderocx' >"; // "a b c a b c";
String
On Mar 4, 2005, at 10:12 AM, Radha Sangal wrote:
It never found/matched that expression in the string. Can anyone please
share a piece of code, where a regular expression matches what it
should
and gives back the string.
Why don't you post your code, and then maybe someone can point out what
is w
It never found/matched that expression in the string. Can anyone please
share a piece of code, where a regular expression matches what it should
and gives back the string.
Thanks in advance.
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 12
Thanks All,
I am done with the regular expression, am into replacing text now.
Wonder why that is not working ..
Thanks for the expression..
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 12:02 PM
To: Ant Users List
Subject: Re: regular
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
[SNIP]
> Yeah, since we persist on not providing an
> equivalent for
> ...
Agreed, I personally see no harm in it. One of those
oft-debated issues, though...
-Matt
__
Do You Yahoo!?
Tired of spam?
> From: Matt Benson [mailto:[EMAIL PROTECTED]
>
> --- [EMAIL PROTECTED] wrote:
> [SNIP]
> > So i guess my question is how do i do what the javac
> > task does, namely give a
> > directory, for each item in the directory, see if
> > it's output file is up to
> > date, and if not build it.
>
> How
Hmmm, can you explain this one Peter?
exposes an iterator() method that returns the list of
out-of-date files, is that it? I didn't know that.
How do you document this kind of unusual synergy between tasks? --DD
> -Original Message-
> From: Peter Reilly [mailto:[EMAIL PROTECTED]
>
> Yo
Thanks All for helping, but I am not getting the results. My file is
changing to blank after trying to replace this code.
Type of String to replace in htm file :
codebase="formbuilderocx.cab#version=3,7,0,6" viewastext
id="formbuilderocx"
Version string Needs to be replaced with a calculated st
On Mar 4, 2005, at 8:57 AM, Mark Lundquist wrote:
Oh yeah, d'oh... my r.e. was wrong, it wants an extra comma :-(...
however I think you do need either a '+' or a '?' after the '{3}',
right?
Ooop, no, you don't need it.
OK, enough going off half-cocked this morning. Time to score me up
some cof
On Mar 4, 2005, at 8:48 AM, [EMAIL PROTECTED] wrote:
Quoting Radha Sangal <[EMAIL PROTECTED]>:
Could someone help me build regular expression for a string like this
1,6,3,2.
I am getting error if I write it like this String patternStr =
"([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";
wouldn't this wo
Note that that would fail due to not having a comma after the last digit.
Chris Erskine
EDS Consulting Services
Colorado Springs, CO
Phone: 719-265-5962
Cell: 719-640-6488
> -Original Message-
> From: Mark Lundquist [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 04, 2005 9:46 AM
>
You may be able to use ant-contrib as a collection to the
task:
Need to generate a target html file from source file
@{xmlfile}
Peter
[EMAIL PROTECTED] wrote:
But now i realize i've got another problem, in that i really nee
Quoting Matt Benson <[EMAIL PROTECTED]>:
> --- [EMAIL PROTECTED] wrote:
> [SNIP]
> > So i guess my question is how do i do what the javac
> > task does, namely give a
> > directory, for each item in the directory, see if
> > it's output file is up to
> > date, and if not build it.
>
> How do you
Quoting Radha Sangal <[EMAIL PROTECTED]>:
> Could someone help me build regular expression for a string like this
> 1,6,3,2.
>
>
>
> I am getting error if I write it like this String patternStr =
> "([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";
>
>
wouldn't this work?
[0-9]+(,[0-9]){3}
What are you looking for from the RE? A quick one would be
([0-9]+,[0-9]+,[0-9]+,[0-9]+)
Which should find 4 multi-digit numbers with comma's between them
Chris Erskine
EDS Consulting Services
Colorado Springs, CO
Phone: 719-265-5962
Cell: 719-640-6488
> -Original Message-
> From
--- [EMAIL PROTECTED] wrote:
[SNIP]
> So i guess my question is how do i do what the javac
> task does, namely give a
> directory, for each item in the directory, see if
> it's output file is up to
> date, and if not build it.
How do you build it? If, by chance, it is using the
exec task you coul
On Mar 4, 2005, at 8:38 AM, Radha Sangal wrote:
Could someone help me build regular expression for a string like this
1,6,3,2.
I am getting error if I write it like this String patternStr =
"([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )"
well yeah :-)... the above is not a valid string literal. Look a
But now i realize i've got another problem, in that i really need to do process
uptodate and build per file, like javac does. I see the tag that
ant-contrib provides, but must assume that there is a way to do this with the
regular ant tasks.
So i guess my question is how do i do what the javac ta
Hi,
could you be a bit more specific when you say:
an ever so slightly less complicated waywould be to define dir.web
with ${file.seperator} instead of slashesthen you could drop the
pathconvert.
an example of what you mean may help.
Thanks
Rakesh
On Fri, 04 Mar 2005 13:55:55 +0100, Ja
Could someone help me build regular expression for a string like this
1,6,3,2.
I am getting error if I write it like this String patternStr =
"([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";
Hi,
could you be a bit more specific when you say:
an ever so slightly less complicated waywould be to define dir.web
with ${file.seperator} instead of slashesthen you could drop the
pathconvert.
an example of what you mean may help.
Thanks
Rakesh
On Fri, 04 Mar 2005 13:55:55 +0100, Ja
You could TRY to the sc-family tasks with a classpath pointing
to 1.6 ant-jsch.jar and it´s 3rd party lib.
The oata/taskdefs/default.properties lists:
scp=org.apache.tools.ant.taskdefs.optional.ssh.Scp
sshexec=org.apache.tools.ant.taskdefs.optional.ssh.SSHExec
But it´s only a try!
Jan
> --
Mmh - "open with notepad" ... no - you cant parse the file directly.
So you have to use a (windows) native program for extracting these
information.
Maybe writing your own, maybe there is a tool available for windows.
Jan
> -Ursprüngliche Nachricht-
> Von: Radha Sangal [mailto:[EMAIL PRO
rakesh mailgroups wrote:
Hi,
sometimes Ant gives you too many ways to do things and you cobble
something together that works but you think can probably done easier.
Here's what i am trying to do:
My web.xml needs to contain a full path to a config file. This path
should work whether on windows or u
Hi,
sometimes Ant gives you too many ways to do things and you cobble
something together that works but you think can probably done easier.
Here's what i am trying to do:
My web.xml needs to contain a full path to a config file. This path
should work whether on windows or unix. The location is al
29 matches
Mail list logo