No one ? snif :'(
Nicolas Vervelle wrote:
Hi,
I have a build file to update a website from my own pc using task.
It was working perfectly until more than a week ago.
I now have an error message when it tries to upload a file in a
subdirectory :
"server indicated an error: scp: protocol error
Good to hear some suggestions from another point of view :-)
>The big problem with the Ant manual is the people who wrote it
>knew too much. I can see various ways to make it more
>intelligible to the first timer:
Contributions are welcome, we love to increase the usability of Ant.
>1. def
Hi Anil, The sshexec task should fail if the exit status of your remote command
is not zero. Here is the output from a simple sshexec task where I try to cd to
a directory that does not exist:
$ ant sshtest
Buildfile: build.xml
sshtest:
[sshexec] Connecting to localhost:22
[sshexec] bash: l
I would be willing to help, since even being a somewhat-seasoned
(garlic anyone?) Ant developer, I STILL have problems reading the
manual and getting info on what I need it to DO, not what the parameters are!
At 11:18 AM 7/27/2005, you wrote:
The big problem with the Ant manual is the people wh
Nevermind...fun times with Linux..
My fix...
I deleted/mv'd /etc/ant.conf as it was dictating my environment outside
of what I specified in my shell script that invoked ANT.
-R
_
Rich Harris
Release/Configuration Engineer
[EMAIL PROTECTED]
650-616-6866
Sh
I'm using Ant 1.6.0 and when using the junit task in my script it's giving me
the message that it can't find the task...you may have misspelled 'junit'...try
this..blah blah blah...
"Could not create task or type of type: junit.
Ant could not find the task or a class this task relies upon."
No
I'm willing to help out, I'm a decently experienced user, and have come up with
my own ant scripts and read through some best practices. I think it'd take some
time to get my scripts to be general enough to be used as recipes, what we use
at my company is general, but only really amongst the man
- smart copies, e.g. only copy things that need copying
yes. our build system does smart copies.
- smart testing, e.g. only test things that have changed)
NO. Testing done is not a part of the build process.
- compiling only things that have changed
yes.
- dependency management
a script gene
Hi, Nicolas
thanks - i missed that.
Works like a charm :)
bye4now, Gilbert
Nicolas Vervelle wrote:
>
> Rebhan, Gilbert wrote:
>
>
>>...
>>where the copypart works fine, but the move task
>>copies the folder containing the jars also, f.e. =
>>
>>/jarfolder1
>> a.jar
>>
>>/jarfolder2
>>
Hello,
the following script sets a property depending whether
a given folder is empty or not:
$${emptyprop} is ${emptyprop}
$${notemptyprop} is ${notemptyprop}
You might want to isolate the above code in a
for easier reusing.
Note that th
Yes, it's possible, and not particularly difficult. This article is a good
place to start.
http://www.onjava.com/pub/a/onjava/2002/07/24/antauto.html?page=1
Andy Hardacker
-Original Message-
From: KrustyDerClown [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 12:15 PM
To: user@a
The big problem with the Ant manual is the people who wrote it knew
too much. I can see various ways to make it more intelligible to the
first timer:
1. define a term like project or target the first time it is
used. Don't even presume people know what MAKE is. Ant should be
accessible to p
Is there a way to make ant report compilation errors? I've noticed that
the BUILD SUCCESSFUL will still display even when some on my java
classes don't compile. Ant will display the javac error messages but my
ant script has grown long and I don't always notice the error messages
in the middle of t
Hi,
How do can test if a folder is empty?
Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The article may or may not be wonderful, but it does not print
correctly out of the browser. The right hand side of the article is
cut off when it's printed. I have IE6 here at work and no option to
use alternative browsers.
Can you create a print-only version, or use a print cascading style
sheet
Hello,
situation: I want use ANT from a Java WebApplication. I have a ANT build file
with some targets and tasks. (cvs task, cvschangelog task, xslt task) und want
run this build file within a servlet, because the user can give 2 dates from a
JSP as input for the cvschangelog task.
Is this pos
If you wanted just to make note of the matching files,
you could do:
files containing foo: ${foofiles}
If you wanted to actually write the matching text, you
might do this:
lines containing foo:
If you needed to know which matching text came from
which f
copy to the new file and delete all the rest
Jan
>-Ursprüngliche Nachricht-
>Von: KrustyDerClown [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 27. Juli 2005 17:29
>An: Ant Users List
>Betreff: Re: Search Task in ANT
>
>Hi,
>
>i dont want anything replace. :) I just want search and (if
Hi,
i dont want anything replace. :) I just want search and (if the process find
a match) write something to a file.
Greets Oliver
- Original Message -
From: <[EMAIL PROTECTED]>
To: ; <[EMAIL PROTECTED]>
Sent: Wednesday, July 27, 2005 5:18 PM
Subject: AW: Search Task in ANT
?
Ja
?
Jan
>-Ursprüngliche Nachricht-
>Von: KrustyDerClown [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 27. Juli 2005 13:53
>An: user@ant.apache.org
>Betreff: Search Task in ANT
>
>Hello,
>
>i search an ANT Task for search in a file and write (if the
>search find a spezial term) a notice
The Sam's book Ant Developer's Handbook is pretty good also.
-Original Message-
From: Pankaj Kumar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 9:15 AM
To: Ant Users List
Subject: Re: Build resources...
I found the O'Reilly book "Ant - The Definitive Guide" to be quite good
Rebhan, Gilbert wrote:
...
where the copypart works fine, but the move task
copies the folder containing the jars also, f.e. =
/jarfolder1
a.jar
/jarfolder2
b.jar
i want only the jars out of my fileset in the ./jars folder,
but the two jarfolder are copied also.
Have you tri
Hi,
in my script i have defined two filesets like that =
and later :
where the copypart works fine, but the move task
copies the folder containing the jars also, f.e. =
/jarfolder1
a.jar
/jarfolder2
b.jar
i want only the jars ou
Hello,
i search an ANT Task for search in a file and write (if the search find a
spezial term) a notice in a file.
Provide ANT for this work any simple task or must i use the replace task ?
Thank you for your support.
Greets Oliver
Hello,
Have you tried defining properties for your paths
using task with location attribute?
--- Steve Pruitt <[EMAIL PROTECTED]> wrote:
>
> My build file is located here:
>
> C:\top\A\B\build.xml
>
> and I need to include the file found here:
>
> C:\top\C\D\E\F\somefile.xml
You can do it
This is not expected behavior, at least by me. I do this kind of thing by
setting my properties in an init target then using them in my other targets.
Don't seem to have a problem with it. I assume these two targets are in the
same build file, right.
Bill
-Original Message-
From: [EMAIL
All,
If this is even possible...
Can someone provide a hint how to define a pathname not in the ancestral
tree of the base dir?
My build file is located here:
C:\top\A\B\build.xml
and I need to include the file found here:
C:\top\C\D\E\F\somefile.xml
I have searched but cannot find any exa
I found the O'Reilly book "Ant - The Definitive Guide" to be quite
good for Ant and related products. You can find my review of this book
at:
http://www.pankaj-k.net/archives/2005/07/book_review_ant.html
Thanks,
Pankaj Kumar
http://www.pankaj-k.net
On 7/27/05, Gisbert Amm <[EMAIL PROTECTED]> wro
Hi,
I tried the following:
> build.xml
> target1.properties
a = A
and output is:
Buildfile: build.xml
target1:
target2:
[echo] a = A
BUILD SUCCESSFUL
Total time: 0 seconds
Which is correct.
Hi Folks,
I have self-published an article on using Ant tasks from BeanShell
scripts titled "Supercharging BeanShell with Ant" at
http://www.pankaj-k.net/spubs/articles/supercharging_beanshell_with_ant/
This article based on my work on creating automated build and
integration test scripts and g
Hello guys,
i noticed a strange behaviour i never came accross before:
the problem is that the file-defined properties in target1 are not recognized
in target2.(i am using ant 1.6)
Is it normal?
-
This message is for the designated recipient only and may contain privileged,
proprietar
Pragmatic Project Automation by Mike Clark
http://www.pragmaticprogrammer.com/sk/auto/
Regards,
Gisbert Amm
Fintan Hynes wrote:
Hi,
Could anyone recoment any good books or online resources on 'build and release
management' .?.
Thanks,
Fintan
Fintan Hynes,
Traventec,
Galway Business Park,
Hello Fintan,
If you are using "Ant" as your build tool, thenI would recommend the book
named "Java Development with ANT" by Erik Hatcher & Steve Loughran.
It's really good for a beginner.
Thanks,
Venkat.
Venkatesan Gandhi
"Fintan Hynes" <[EMAIL PROTECTED]>
07/27/2005 08:57 AM
Please respond
Hi,
Could anyone recoment any good books or online resources on 'build and release
management' .?.
Thanks,
Fintan
Fintan Hynes,
Traventec,
Galway Business Park,
Dangan,
Galway,
Ireland.
* +353 (0)91 518709
Fax:+353 (0)91 525056
* [EMAIL PROTECTED]
Web:http://www.traventec
Nicolas Vervelle wrote:
Hi,
I have a build file to update a website from my own pc using task.
It was working perfectly until more than a week ago.
I now have an error message when it tries to upload a file in a
subdirectory :
"server indicated an error: scp: protocol error: received direct
Hi,
I have a build file to update a website from my own pc using task.
It was working perfectly until more than a week ago.
I now have an error message when it tries to upload a file in a
subdirectory :
"server indicated an error: scp: protocol error: received directory
without -r"
The websi
36 matches
Mail list logo