Hey Rob,
Thanks for help. The problem is this works fine if I pipe it into psql
on the command line which suggests to me that ant is going something to
the file prior to giving to psql. Maybe I will have a dig into the code
and see.
Cheers,
Gareth
Anderson, Rob (Global Trade) wrote:
Sinc
Hi Scot,
Thanks a lot for your reply.
Yes, I've already known that behavior of "Variable" Task.
What I would like to know is the proper coding in Script Task by using
Javascript.
I wonder my conding doesn't make sense ?
Best Regards,
trad-ex
>I think the idea here is to use from ant contrib.
I think the idea here is to use from ant contrib. It definitely
works and allows one to reset properties...
For instance:
Will yield:
[echo] my-var = foo
[echo] my-var = bar
[echo] my-var = alpha
Above, the variable is being changed...
trad-ex
Hi Steve,
I tried to use "Variables" Task in ant-contrib, but it replicate the
same result as Dick did.
My build.xml is:
Silly question: what happens if you do prior to the
call? Do you see your various MailLogger properties set as you
have them in your properties file? I am asking because I don't see,
based upon your example, the line that sets the properties from the
file...I'm wondering if maybe something
Can you run this mail task when you are not using the MailLogger?
-Rob A
> -Original Message-
> From: Jeff A. Drost [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 18, 2006 1:52 PM
> To: user@ant.apache.org
> Subject: MailLogger=OK, task =SMTPSendFailedException?
>
> I cannot figure ou
I cannot figure out why ant's MailLogger will send an email, but the
task will not, when they both share similar SMTP properties in my
build & properties file.
Ant 1.6.5
Windows XP SP2
Java 5 Update 6
The ant logger argument "-logger
org.apache.tools.ant.listener.MailLogger" sends an email when
Yes, You need to include jsch 0.1.28 in the lib directory, otherwise the
ant-jsch.jar will not build because the resources to build it are not
available.
Pay close attention to this section of the manual page link I sent:
"Make sure you have downloaded any auxiliary jars required to build
tasks y
Iam still getting problems, if you can please help. Honestly, iam not that good
in ANT.
1) I have downloaded the following tar ball on my Sun Unix box.
Location:
/home/MYANT/ ant_20060518102501.tar.gz
2) I unzipped and untarred this file on location:
/home/MYANT/ant
3) A
The Executor interface also declares a
getSubProjectExecutor() method; probably the parallel
executor would return itself (Ant's default target
executor returns a SingleCheckExecutor for executing
subprojects i.e. ant/antcall/subant). If not, that's
why it's pluggable... :) The real problem is th
Wouldn't a parallel target executor
(by definition) only help for targets?
If so I don't see how that would help
with parallel execution of sub-builds, because targets are statically defined
and the problem statement in this case is that they don't want to statically
define the sub-builds.
Not t
One of the Ant committers, Alexey Solofnenko, was at
one time working on a parallel target executor which
would apply to an entire build. Depending on its
state it might be useful here. Alexey?
-Matt
--- Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> The short answer is no.
>
> The longer answer
The short answer is no.
The longer answer is that there was
some discussion on the dev. list about adding parallelization to the
task, but even the chances of that being implemented anytime soon are slim.
JEC
This a bug in the Maven task.
I opened a bug and submitted a patch:
http://jira.codehaus.org/browse/MNG-2304
jmaxwell wrote:
>
> Using the maven ant tasks I receive a null pointer if I set a fileset ref
> and then set a property with that ref. However if a set a path ref I do
> not get a NPE.
We have a set of directories each containing ejbs targeted for weblogic.
Each of these are independent of others and can be compiled in parallel.
I thought about the task. But we do not want to hard code the
names of the directories in the build.xml as new ones get created and
old ones get delet
If you're trying to replace stuff in XML but only for particular nodes
(e.g. in the below you're scoping on an attribute value) then I'd suggest:
http://www.oopsconsultancy.com/software/xmltask/
and doing:
withText="true"/>
Brian
Oliver Ashoff wrote:
Hello David!
Example: Consider the f
Hello David!
Sorry, my explanation was a little bit short, I guess. ;)
I wondered --- as you --- that the replaceregexp works fine in
(1) one-line-mode
but not in
(2) multi-line mode.
So, let's see what is the difference of the inputs!
Outline:
(1)
(2)
You are headed in the right direction. This is a source distribution.
You will need to compile the distribution. The updated scp task with
support for sftp will be in ant-jsch.jar. Make sure you have downloaded
jsch 0.1.28 or later and place it in the lib directory before you build.
Also, refer to
Using the maven ant tasks I receive a null pointer if I set a fileset ref and
then set a property with that ref. However if a set a path ref I do not get
a NPE.
If this is a Maven ant task prob I will ask there.
Exception:
java.lang.NullPointerException
at
org.apache.tools.ant.types.Abs
Dick, Brian E. wrote:
I have just a day to get this working. These are production machines, so
I can't deploy anything to them.
I'm using sshexec to remotely ping from a unix host and using rcmd to
remotely ping from a windows host. I redirect the output from these
tasks to a file and then use l
I have just a day to get this working. These are production machines, so
I can't deploy anything to them.
I'm using sshexec to remotely ping from a unix host and using rcmd to
remotely ping from a windows host. I redirect the output from these
tasks to a file and then use loadfile with a filtercha
Dear Oliver,
Thanks for your interest on my problem. Concerning to your comment, I don't
understand wery will, please could you be a little bit more explicit.
As far as I understand, I think you mean to include the new line character on
the match expression. I was tested this too, wi
Rob, Thanks for your help.
I have downloaded package: ant_20060518102501.tar.gz
But it cotains only source code (java).
This package does not have updated ant.jar in it which possibly contains the
SFTP implementation .
Iam doing something incorrect ?
"Anderson,
Dick, Brian E. wrote:
This is a simplified script. I need to execute the script body several
hundred times in a loop. I also need to run about twenty of them in
parallel. Here's my business problem and the pseudo code for the
solution. Maybe you can suggest another approach.
Problem: Simultaneou
This is a simplified script. I need to execute the script body several
hundred times in a loop. I also need to run about twenty of them in
parallel. Here's my business problem and the pseudo code for the
solution. Maybe you can suggest another approach.
Problem: Simultaneously detect a DNS ip addr
Dick, Brian E. wrote:
I need to pass values from a script into a target, but the immutability
of properties is getting in the way. I can't use the antcall task in my
script, because I eventually need to return a value from the target to
the script too. Here's a simplified test script.
use and
I need to pass values from a script into a target, but the immutability
of properties is getting in the way. I can't use the antcall task in my
script, because I eventually need to return a value from the target to
the script too. Here's a simplified test script.
subir bhaumik wrote:
Hi
I am trying to execute a simple java code for a build using
Ant API rather than writing build.xml.When executing the code
it throws NullPointerException for the line
tinstaller.setClasspath(class_path);
in the code.
It is for the class "org.
Hi
I am trying to execute a simple java code for a build using
Ant API rather than writing build.xml.When executing the code
it throws NullPointerException for the line
tinstaller.setClasspath(class_path);
in the code.
It is for the class "org.apache.tools.ant.taskdefs
Venkat Kotu wrote:
Hi,
I have a need to checkout files from 3 different modules to the same
destination directory.
Uh oh.
I have used -d option to specify the destination
directory. My ant file is as below:
I was ex
tht was right ..i had included the cactus.properties file instead of the
folder which contains the cactus.properties.
thanks jan
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 18, 2006 11:18 AM
Subject: [SPAM-H] - AW: Setting cactus.properties file in the client
31 matches
Mail list logo