Use propertycopy or similar Task with regex from antcontrib
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-299
Geschäftsführer: Uwe S
Thanks for responding.
But how do I make a conditional infinite loop with it ?
Is there an Ant task for infinite loop ?
ie
while (1)
{
sshexec_check_remote_process_on_remote_host
if (remote_process == dead)
break;
else
sleep 10 mins
}
On Feb 5, 2008 3:39 PM, Charbel BITAR <[EMAIL P
I have wriiten a ant task to insert a user in ADS using ldapjdbc driver. Its
throwing java.sql.SQLException: LDAP Does Not Support Transactions error any
idea on this..
My source code is
ldap://10.0.0.110:389/?SEARCH_SCOPE:=subTreeScope";
userid="CN=Administrato
Hi everyone,
I have two modules in my project and I¹m having a problem resolving a
dependency between them. Any ideas why the Null Pointers?
[ivy:resolve] [SUCCESSFUL ]
twc#mas-coredn-ondemand#main;5.1!mas-coredn-ondemand.original.pom (1360ms)
[ivy:resolve] problem occured while resolving de
Hi,
if this is a FAQ, pointers are welcome; I'm new to ant.
I'm trying to use ant with saxon8 on SUSE 10.3 (ant 1.7.0) and Ubuntu
Dapper (ant 1.6.5). I have a build.xml which works perfectly on
Ubuntu, but the same command
ant -lib dsp/dspublisher/lib/ -f bin/build-data.xml
in the same directory
I should also mention that the remote script works perfectly when run from
the development server on which it resides. It is only when I run it from
my local Ant script that things go awry.
Thanks.
--
View this message in context:
http://www.nabble.com/Running-a-Remote-Ant-Target-from-Another-
As you said use the task.
Here's an example :
...
...
...Use a condition to check that ${sshexec.outputproperty} !equals the empty
string...
...
HTH
--
Charbel
On Feb 5, 2008 11:24 PM, Z W <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have an ant script that needs to check the status of a
I am running an Ant script that generates a WAR file, copies it from my
desktop to my development server, and calls a target in another Ant script
on that development server which runs a WebLogic script that deploys the WAR
file to the WebLogic instance on the development server.
Incidentally, th
Hi everyone,
I have two modules in my project and I¹m having a problem resolving a
dependency between them. Any ideas why the Null Pointers?
[ivy:resolve] [SUCCESSFUL ]
twc#mas-coredn-ondemand#main;5.1!mas-coredn-ondemand.original.pom (1360ms)
[ivy:resolve] problem occured while resolving de
could your provide an example on how you envision using ${${x}}
thanks
M-
- Original Message -
From: "norken76" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 05, 2008 6:12 PM
Subject: Re: Substituting the value according to the property name
>
> Hello guys,
> I couldn't find a hint fo
Hello guys,
I couldn't find a hint for my question.. so I am asking it here.
so, has anyone used a way to achieve the ${${x}}
which means.. to get a value of a property value.
thanks
Srinivas_Chandolu wrote:
>
>> We are replacing the occurrence of a string with another value by
>> rea
Hi
I have an ant script that needs to check the status of a process running on
a remote machine and if the
process has stopped running, I like the Ant script the ability to know that
and move on to the next step in Ant script.
Could someone here give a simple example on how to implement that ?
I h
You should echo the property "folder-exists" in both targets.
Maybe the property is already set when you reach the first task. ANT will never
unset it.
CC runs a loop.
Find out in what situations the errer happens.
Is it the first call by CC or the second.
--
Jürgen Knuplesch
Thanks for the response.
The project where this occurs has not been released to the community
yet, but really really soon (hopefully this week or next) so I can
provide you with a zip file then.
In the mean time, I looked at
http://issues.apache.org/bugzilla/show_bug.cgi?id=40852 and then a
Hi,
I know this isn't a Cruise Control list, but I need some assistance
with this issue, since it centers around Ant - and no one from the Cruise
Contol list has responded... When I run the tasks below in cruise control
2.7.1, the second task fails, which happens to be dependent on the first...
Wh
I'm just wondering if anyone has experience using Archiva as a
repository for Ivy, and if so do you have any pointers for accomplishing
this.
-
This message contains PRIVILEGED and CONFIDENTIAL
informat
Ok my bad. replace does change the timestamp if the token is replaced.
I was creating the source.txt just before the replace, which also gave
temp.txt same timestamp.
On Tue 2008-02-05 at 09:24h, Xavier Hanin wrote on ivy-user:
:
> About IVY-567, we haven't applied the patch yet because the
> solution is not very satisfying, due to the poor support for classpath in
> jar (you have to have the dependencies at the exact right relative location,
> I really dislike
Thanks for a good idea. nice and simple.
Quick check with following build.xml reveals that the replace does not
modify timestamp even when token is replaced. However this approach will
not catch scenario where 1 instance was replaced when 2 were expected.
Addition:
You could also use the Task togeteher with
And of course use the fail-Task to make the Build fail
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart
Maybe you could copy the file without changing of the timestamp (attribute
preservelastmodified).
Then do the replace on your file.
Then test via if a change happened.
Delete the copy
This will only work, if replace does not change the timestamp, in case of no
changes.
Just an idea...
--
Jür
Hello ANT users,
Using ANT 1.6.5, a build XML i am using makes use of task to
replace certain token in a bunch of Javascript files.
I would like the build to fail when the replace of a token fails, so
that when someone changes the source file such that does not
find any tokens to replace; the i
Why not have multiple property files -- each with a different
combination of properties you would want set? Then, you could have the
user specify the right build properties file on the command line:
In your build.xml:
On the command line:
$ ant -Dbuild.file=orange.properties
$ ant -Dbuild.f
Thanks Martin,
I hadn't even considered the SQL task! :)
Martin Ficker wrote:
>
> Hello Sam,
> have you thought of using the sql
> task(http://ant.apache.org/manual/CoreTasks/sql.html) to write to the
> database directly?
> That would avoid generating the csv.
>
> Best regards,
>
> Martin
>
Can you try to get a tar/zip file containing a project
where this occurs.
There has been some changes to the javadoc task in 1.7.0 (fixing
a number of bugs), but some issues may have been created.
Also, if possible, can you try a nightly build of ant, there has
been some fixes in the javadoc task
25 matches
Mail list logo