AW: Echo a file to another file

2004-11-09 Thread Jan . Materne
1. Using and - load both files into properties - echo both props out 2. Use 3. Use and / Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 10. November 2004 08:42 > An: [EMAIL PROTECTED] > Betreff: Echo a file to another file > >

Echo a file to another file

2004-11-09 Thread Ivan Ivanov
Dear Colleagues, I want to do something relative simple: I have two text files say a.txt and b.txt and I want to place the contents of a.txt in the beginning of b.txt. I thought I could use task, but now I see it won't do this. Can you give me any advice? Thank you in advance Ivan

Corresponding clearcase commands

2004-11-09 Thread Sanjeev_Das
Hi All, I am able to make proper builds by accessing from the VSS. But now I have to shift to Rational Clear Case. I am not very used to Clear Case. I was hoping someone would tell me how do I move on to clearcase from vss in terms of ant commands like vssget,vsspath etc. Regards, Sanjeev -

RE: Ant MailLogger throws Exception

2004-11-09 Thread Pico Geyer
Thanks for your reply Antoine I am using sendmail as my smtp server on the local host. I added the line your recommended with no success. Any other advice. I'm clueless as what to do now. Thanks -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Tuesday, No

Task.getOwningTarget()

2004-11-09 Thread Darin Swanson
Tasks that are top level tasks (in the "implicit" target) are returning the implicit target for Task.getOwningTarget() This appears to clash with the javadoc for set/getOwningTarget. Can the owning target be null or the implicit target or is the javadoc out of date (null cannot be returned)? T

Re: "available" shouldn't actually load the class; just see if it's resolvable

2004-11-09 Thread Conor MacNeill
David Smiley wrote: I suggest the name "load" instead since that is the java vernacular for what's happening. I also suggest that the next snapshot implementing this have it default to "false" and we'll get a feel for wether this is a problem at that time. Unfortunately that would not be backwa

Re: "available" shouldn't actually load the class; just see if it's resolvable

2004-11-09 Thread David Smiley
Peter Reilly wrote: David Smiley wrote: Does anyone want to offer their opinion? It should be an easy change and I think it would be very unlikely if this broke any existing builds. It will break some builds. Using the current method, the script knows that the class is present and useable, and

Re: Ant MailLogger throws Exception

2004-11-09 Thread Antoine Levy-Lambert
Hello Pico, add to your ant build file. The documentation says that the mailhost defaults to localhost. Cheers, Antoine Pico Geyer wrote: Hi all I am trying to setup an automated build process on my linux box. All is well except for the MailLogger. The following output notes the problem: MailLo

Re: "available" shouldn't actually load the class; just see if it's resolvable

2004-11-09 Thread Peter Reilly
David Smiley wrote: Does anyone want to offer their opinion? It should be an easy change and I think it would be very unlikely if this broke any existing builds. It will break some builds. Using the current method, the script knows that the class is present and useable, and so it can be used lat

RE: "available" shouldn't actually load the class; just see if it's resolvable

2004-11-09 Thread Dominique Devienne
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of David Smiley > > Does anyone want to offer their opinion? It should be an easy change > and I think it would be very unlikely if this broke any existing builds. > I think it's a reasonable request, but to keep the former behavior as-is, I'd si

Re: "available" shouldn't actually load the class; just see if it's resolvable

2004-11-09 Thread David Smiley
Does anyone want to offer their opinion? It should be an easy change and I think it would be very unlikely if this broke any existing builds. ~ Dave David Smiley wrote: Hello. Recently I got the uddi4j source and I rant it's ant build script. It turns out that it would conditionally compile s

RE: AW: AW: How to use a FileSet defined outside of javadoc target?

2004-11-09 Thread Dominique Devienne
> From: Dave Pawson [mailto:[EMAIL PROTECTED] > No, but I had noted that properties weren't resolved > when used to output 'progress' messages... Would you care to explain what you mean here? Properties are almost always resolved, so it may be a bug. Can you please provide an example of what you m

Re: AW: AW: How to use a FileSet defined outside of javadoc target?

2004-11-09 Thread Dave Pawson
On Tue, 2004-11-09 at 07:16, [EMAIL PROTECTED] wrote: > BTW, have you ever tried that? :-) > > > > >${test} > No, but I had noted that properties weren't resolved when used to output 'progress' messages... Thanks Jan, I'll try that one. -- Regards DaveP. XSLT&Docbook FAQ http:

Ant MailLogger throws Exception

2004-11-09 Thread Pico Geyer
Hi all I am trying to setup an automated build process on my linux box. All is well except for the MailLogger. The following output notes the problem: MailLogger failed to send e-mail! java.net.UnknownHostException: HBDServ: HBDServ at java.net.InetAddress.getLocalHost(InetAddre

RE: Mail task error

2004-11-09 Thread Ivan Ivanov
--- "Rebhan, Gilbert" <[EMAIL PROTECTED]> wrote: > > Oops, missed that, shame on me :) > > The JavaBeans Activation Framework (JAF) is also > needed, > as stated on SUN site > http://java.sun.com/products/javamail/ ? Yes, task require javamail and javamail requires JAF > > Regards, Gilbert >

RE: Mail task error

2004-11-09 Thread Rebhan, Gilbert
Oops, missed that, shame on me :) The JavaBeans Activation Framework (JAF) is also needed, as stated on SUN site http://java.sun.com/products/javamail/ ? Regards, Gilbert -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 10:47 AM To: Ant U

Re: Custom Tasks/Types in 1.6.2

2004-11-09 Thread Peter Reilly
It looks like the namespace has not been set for the unknownelement. Can you provide a zip or tar file containing a build.xml, and java code for the task to show the problem. Peter Ben Edwards wrote: Specifically, I provide the following taskdef: /> And then use it: And I get a NullPointerEx

Re: AW: AW: AW: AW: AW: How to use a FileSet defined outside of javad oc t arge t?

2004-11-09 Thread Ivan Ivanov
Well, I prefer a Gump machine with 2000+ projects :)) --- [EMAIL PROTECTED] wrote: > And I thought you would love to sit in a computer > room, > a Gump machine running for 200+ project and > listening to Ant ... > > > Jan > > > -Ursprüngliche Nachricht- > > Von: Ivan Ivanov > [mailto:[

AW: AW: AW: AW: AW: How to use a FileSet defined outside of javad oc t arge t?

2004-11-09 Thread Jan . Materne
And I thought you would love to sit in a computer room, a Gump machine running for 200+ project and listening to Ant ... Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 9. November 2004 10:48 > An: Ant Users List > Betreff: Re: AW: AW

Re: AW: AW: AW: AW: How to use a FileSet defined outside of javadoc t arge t?

2004-11-09 Thread Ivan Ivanov
--- Ivan Ivanov <[EMAIL PROTECTED]> wrote: > I know that such a beast exist. I also encountered > in > Ant external tasks page Speech4J task, but haven't > got > the time to try it. > > But the Ant quality is that it does lots of work > with > lots of noise I meant without :)) > > Ivan > >

Re: Mail task error

2004-11-09 Thread Ivan Ivanov
Hi, accoriding to [1] mail task with mime type requires mail.jar in Ant classpath, i.e. place mail.jar in $ant.home/lib, or $user.home/.ant/lib [1]http://ant.apache.org/manual/install.html#librarydependencies --- "Rebhan, Gilbert" <[EMAIL PROTECTED]> wrote: > > Hi, > > when sending an email v

Mail task error

2004-11-09 Thread Rebhan, Gilbert
Hi, when sending an email via ---snipp--- ---snipp--- i get an error = Failed to initialise MIME mail Failed to send email The email is sent nevertheless ?! How to get rid of that error ? Regards, Gilbert - To

Re: AW: AW: AW: AW: How to use a FileSet defined outside of javadoc t arge t?

2004-11-09 Thread Ivan Ivanov
I know that such a beast exist. I also encountered in Ant external tasks page Speech4J task, but haven't got the time to try it. But the Ant quality is that it does lots of work with lots of noise :)) Ivan --- [EMAIL PROTECTED] wrote: > You know the Java Speech API ;-) > > Jan > > > -Urs

AW: AW: AW: AW: How to use a FileSet defined outside of javadoc t arge t?

2004-11-09 Thread Jan . Materne
You know the Java Speech API ;-) Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 9. November 2004 10:17 > An: Ant Users List > Betreff: Re: AW: AW: AW: How to use a FileSet defined outside > of javadoc > targe t? > > --- [EMAIL PROTE

Re: AW: AW: AW: How to use a FileSet defined outside of javadoc targe t?

2004-11-09 Thread Ivan Ivanov
--- [EMAIL PROTECTED] wrote: > No, there is no need. > But with you can beautify the output > :-) OK, it was interesting to know it. You are right to note that having beautified output increases the aesthetical pleasure of using ant. When I am in a higly creative mode I also turn on AnsiColorL

AW: AW: AW: How to use a FileSet defined outside of javadoc targe t?

2004-11-09 Thread Jan . Materne
No, there is no need. But with you can beautify the output :-) Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 9. November 2004 08:30 > An: Ant Users List > Betreff: Re: AW: AW: How to use a FileSet defined outside of javadoc > targe

Re: AW: AW: How to use a FileSet defined outside of javadoc target?

2004-11-09 Thread Ivan Ivanov
Jan, Does this mean that when one wants to dump the contents of a fileset/path, there is no need to use anymore? --- [EMAIL PROTECTED] wrote: > BTW, have you ever tried that? :-) > > > > >${test} > > > > Jan > __ Do you Yaho