If I echo ${user.name} it does give the correct username ..
-Nandan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 21, 2005 11:35 AM
To: Telang, Nandan; user@ant.apache.org
Subject: Re: Exec with getlogin
On Fri, 21 Oct 2005 10:49:15 -0700, Te
On Fri, 21 Oct 2005 10:49:15 -0700, Telang, Nandan wrote:
>I'm trying to call a perl script with the Ant exec task.. The script tries to
get the userid by using getlogin() (Unix) When the script is run directly, it
returns my loginname, however when run through ant, it returns undef...
hmm, wha
On Fri, 21 Oct 2005, Patrick Wunderlich <[EMAIL PROTECTED]>
wrote:
> "doc" is null! There seems to be a problem with xml processing...
> I've tested this with JDK 1.4.2_08 and 1.5.0_04 under WinXP.
> Ant-Version: 1.6.5
Looks as if something in your testcase was writing to System.out
before Ant st
Hi
I'm trying to call a perl script with the Ant exec task.. The script tries to
get the userid by using getlogin() (Unix) When the script is run directly, it
returns my loginname, however when run through ant, it returns undef...
Do I have to pass any env var to exec for getlogin to work ?
Tha
>"[java] parts created:"
>with "Size"
>than How can I go ahead,
should
/\[java\] parts created:/Size/
>One more thing there is "ant-apache-regexp.jar" file in ant's
>lib directory.
Means, that JAR needs an other file - the regexp-implementation.
>Just wanted to know that I need to upgr
--- Dale Anson <[EMAIL PROTECTED]> wrote:
> This sounded familiar, so I looked around and found
> a split task that
> I'd done a while back. It seems to me I wanted to
> send a largish log
> file by email from Ant (like 4 or 5 megs), but the
> mail server had a 1MB
> limit. I added the task t
This sounded familiar, so I looked around and found a split task that
I'd done a while back. It seems to me I wanted to send a largish log
file by email from Ant (like 4 or 5 megs), but the mail server had a 1MB
limit. I added the task to Antelope, docs for it are at:
http://antelope.tigris.
On 10/20/05, James Taylor <[EMAIL PROTECTED]> wrote:
> In the build file I have a junit task and I want to put in a batchtest task
> with a fork = "yes" option… but the VM breaks as the task starts a seperate
> VM that seemingly disregards the ANT_OPS -client environment variable.
Right. ANT_OPTS
Thanks Jan for quick reply, I am still not getting how to use it suppose I want
to replace
"[java] parts created:"
with "Size"
than How can I go ahead,
One more thing there is "ant-apache-regexp.jar" file in ant's lib directory.
Just wanted to know that I need to upgrade my jdk1.3 to jdk1.4 or
Regexp could something around
/.*parts created: (.*)$/\1
But the "No supported regular expression matcher found" error message is more
important.
The matcher is part of JDK 1.4+, but because Ant is designed to run on JDK 1.2+
we have
a word on library depenencies in the manual.
Jan
>
Hi All,
I am trying to use ReplaceRegExp but finding it difficult to
cope with it.
There is a log.txt file generated from my build.xml using
record task which looks like this;
log.txt
---
[java] Done!
[java]
[java
A quick view shows that before a call formatOutput() the test suite must be
started:
public void startTestSuite(JUnitTest suite) {
doc = getDocumentBuilder().newDocument();
Maybe you add a log statement and retry?
Jan
>-Ursprüngliche Nachricht-
>Von: Wunderlich, Patrick [m
Hey Ant users and friends!
I've a strange problem using the junit ant task.
Everything works fine, but when i add
i get following Exception:
[junit] Exception in thread "main" java.lang.NullPointerException
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultForma
13 matches
Mail list logo