Thanks Kev, this is a great help also. The more standard the better !
-Original Message-
From: Kev Jackson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 3:37 AM
To: Ant Users List
Subject: Re: Ant scp / user/password proper management
Hi,
> 2) prompt the user. But there i
Hi
i am upgrading the whole project from ant1.5.1 to ant1.7.0
it gave error build_config.xml:151: java.lang.ExceptionInInitializerError
the line 151 of that xml is a uptodate task. Any idea why i got the error?
Please kindly help.
Your reply is highly appreciated.
Hi,
2) prompt the user. But there is not option to tell ant that the
password should not be visible (seen as stars would be perfect).
In the upcoming Ant 1.7.1 release you can specify a secure input handler:
This will not echo your password out to the screen. However:
1 - It requires
The best solution at this point is writing the lines to a file and
referencing that from the fileset. I found it helped afterwards to
"sort -u" the resulting list of files (lots of duplicates), so having it
in a separate step was handy. Any performance considerations are not
really important here
Merci Dominique!
I feel like a fool... :)
- fabien
Dominique Devienne-2 wrote:
>
> On 11/7/07, fabien_pichard <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>>
>> If I do this
>>
>>
>>
>>
>> it works, no problem...
>> I have checked misc FAQ, this site and other and I wondering w
On 11/7/07, fabien_pichard <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> If I do this
>
>
>
>
> it works, no problem...
> I have checked misc FAQ, this site and other and I wondering what I am doing
> wrong.
Well, how do you call Ant on the command line?
All tasks not in a target are
Hello!
I am new to ant, have search back and forth why this code does not work.
If I do this
it works, no problem...
I have checked misc FAQ, this site and other and I wondering what I am doing
wrong.
-- fabien
--
View this message in context:
http://www.nabble.com/cannot
The best way is *not* to do in place replacement.
Have the templates in a source directory and the
results in a target directory, then just use
the copy task with an expandproperties filter in a filterchain:
Peter.
On 11/7/07, Ro
Say I have a file with a few files, and would like to inject some
values via ant properties, i.e. company.txt contains
"Thank you for trying the product from ${companyName}."
Is there an Ant task that given a property entry of
Will result in company.txt containing
"Thank you for trying the pr
On Nov 7, 2007 11:26 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Jo Support wrote:
> > Thank you very much for all the suggestions (Hudson and Ant Explorer),
> > but both don't fit with my need. I only need to substitute standard
> > output with a progress bar, without installing any graphical
On 11/7/07, Karr, David <[EMAIL PROTECTED]> wrote:
> [...] Can you think of a practical way I could
> rearrange this so I first build a list of classes to process, and then
> run PMD in one step?
This easiest would be of course to be able to use as a
selector, in which case you'd simply add it to
JDK 1.4.2, Ant 1.5.4, xmltask 1.11, PMD 4.0 (JDK 1.4 version).
I have a process where I use xmltask to parse one or more Spring context
files, looking for bean classes with certain characteristics. For each
bean class that I find, I call another target that runs PMD on that
class. I'd really pre
Steve still has the better solution (just more work).
Bizard Nicolas (KIRO 41) wrote ..
> Hi David,
> thanks for the input.
>
> I just had a hard time to find the following line was needed, but it
> works as a charm now :
>
>
> Cheers
> Nicolas
>
> -Original Message-
> From: david [ma
david wrote:
Hello, use the Query Ant task @: http://www.jera.com/tools/anttasks/. Works
quite well for me when the (ex-COBOL programmer) project manager is looking
over your shoulder asking about the latest build. HTH, David. ;-)
Bizard Nicolas (KIRO 41) wrote ..
Hi all,
the ant scp task wor
Thanks for the suggestion. It does look a little cleaner.
JDG
On Nov 6, 2007 11:51 AM, David Weintraub <[EMAIL PROTECTED]> wrote:
> I'd just use and then
> check if property "files_path" is greater than zero.
>
>
>
>
>
>
>
>
>
>
>
> That I believe works in 1.6.5. I took a quick
Hi all,
the ant scp task works great for me, at least to copy zip files.
There is still an issue though :
how do i manage properly the user/password?
So far i found 2 options :
1) write them in a text file (not really an option, clearly)
2) prompt the user. But there is not option to tell ant tha
Hi David,
thanks for the input.
I just had a hard time to find the following line was needed, but it
works as a charm now :
Cheers
Nicolas
-Original Message-
From: david [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 07, 2007 2:21 PM
To: Ant Users List
Subject: Re: Ant scp / user
Hello, use the Query Ant task @: http://www.jera.com/tools/anttasks/. Works
quite well for me when the (ex-COBOL programmer) project manager is looking
over your shoulder asking about the latest build. HTH, David. ;-)
Bizard Nicolas (KIRO 41) wrote ..
> Hi all,
> the ant scp task works great for
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 07, 2007 1:21 PM
To: Ant Users List
Subject: Re: target progress bar
/*
At its most rigorous, predicting how long something will take to
complete requires a solution to the halting problem: a
Rebhan, Gilbert wrote:
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
/*
One problem with a progress bar is estimating time remaining;
a build does not know how much work is left or how long it will take,
so its hard to present.
*/
if not impossible at all
A
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 07, 2007 11:27 AM
To: Ant Users List
Subject: Re: target progress bar
/*
Jo Support wrote:
> I've tried to develop a progress bar by myself, but I have some
> concurrency trouble on the standard
Jo Support wrote:
Thank you very much for all the suggestions (Hudson and Ant Explorer),
but both don't fit with my need. I only need to substitute standard
output with a progress bar, without installing any graphical product
but a task def for ant.
I've tried to develop a progress bar by myself
Thank you very much for all the suggestions (Hudson and Ant Explorer),
but both don't fit with my need. I only need to substitute standard
output with a progress bar, without installing any graphical product
but a task def for ant.
I've tried to develop a progress bar by myself, but I have some
co
You could use the task record task.
Gilles
2007/11/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi all,
>
> I'm using cruise control and as such when running Ant I'm using the XML
> Logger and I'm specifying the -logfile option to write to a file which is
> then picked up by cruisecontrol. Is th
24 matches
Mail list logo