AW: Different version of ant _ Please help

2005-12-20 Thread Jan.Materne
>How to use the weblogic version of ant . set PATH and ANT_HOME according to the wl-ant installation path. >C:\testwebservice\build.xml:78: Could not create task or type of type: >wlappc. But maybe just adding that jar and taskdef´ing the task would be enough. Jan -

Re: Is there an ANT task to replace a in the source with the contents of the specified file???

2005-12-20 Thread gregsfm
Thanks for the sugguestion, however what I wanted was to actually have the contents of the identified file replace the token. So as an example if one of the source files were: - this this and that this that this that So the resultant file would

AW: Testing multiple values?

2005-12-20 Thread Jan.Materne
Another trick is using and provide a couple of targets. Jan >-Ursprüngliche Nachricht- >Von: Rhino [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 21. Dezember 2005 00:07 >An: Ant Users List >Betreff: Re: Testing multiple values? > >Wow, that's remarkably easy and straightforward, wh

Re: problem with running ant in eclipse

2005-12-20 Thread vishakha sawant
Hi Rhino, That was not a problem of Eclipse and Ant.It was my fault. As I was using Ant first time I totally forgot that I must copy my *.hbm.xml file to corrosponding packages. Thanks for help Regards Vishakha On 20/12/05, vishakha sawant <[EMAIL PROTECTED]> wrote: > > Hi Rhino, > I have tried O

RE: source attribute

2005-12-20 Thread Lim, Teck Hooi
OK. I got it. Many thanks guys. This is my 1st using source option with . -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 21, 2005 12:52 PM To: user@ant.apache.org Subject: Re: source attribute On Tue, 20 Dec 2005, Teck Hooi Lim <[EMAIL PROTEC

Re: Checking classpath enteries --from ant script

2005-12-20 Thread Stefan Bodewig
On Tue, 20 Dec 2005, Srikrishna Parthasarathy <[EMAIL PROTECTED]> wrote: > How do you check for classpath entry's using ant task ? I'm not sure what "check for" exactly means here. You may want to look into the task or apply the condition to ${java.class.path}. Stefan ---

Re: Bug in istrue condition?

2005-12-20 Thread Stefan Bodewig
On Tue, 20 Dec 2005, Rhino <[EMAIL PROTECTED]> wrote: > I expected that property 'script2.failed' would be set if property > 'script2.result' had a value of 1. No. compares against all values that are considered true for boolean attributes in Ant and 1 is not one of them. You want to use the

Re: source attribute

2005-12-20 Thread Stefan Bodewig
On Tue, 20 Dec 2005, Teck Hooi Lim <[EMAIL PROTECTED]> wrote: > [javac] d:\project\mybasic\src\com\acme\TestQueue.java:192: > warning: as of release 1.5, 'enum' is a keyword, and may not be > used as an identifier This is a warning, without source="1.4" it would be an error. That's a

Re: Question re sshexec

2005-12-20 Thread Rhino
I've read the documentation you suggested - actually, I read the whole page - but only half understand it so I have some followup questions. Am I correct in understanding that Ant needs the original SSH key, not the one generated by PuTTYgen and stored in Pageant? Is that original key likely t

Ant shell extension for windows.

2005-12-20 Thread Hani Naguib
Hello, I was wondering if a shell extension for ant exists. Similar to this tool for NAnt http://taschenorakel.de/mathias/nantmenu.en.html Thanks, Hani - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Testing multiple values?

2005-12-20 Thread Rhino
Wow, that's remarkably easy and straightforward, which is not what I expect from Ant when it comes to conditions :-) I'll give this a try and post back if it doesn't work properly. Thank you!! Rhino - Original Message - From: "Ondrej Svetlik" <[EMAIL PROTECTED]> To: "Ant Users List"

RE: Question re sshexec

2005-12-20 Thread Anderson, Rob (Global Trade)
Actually my question was about the version of ssh you are using on your client machine, not the server, but both were answered. This does help. Putty stores ssh-keys in a different format than is expected by openssh, and the ant sshexec task. Please read the following section of the putty documenta

Re: Question re sshexec

2005-12-20 Thread Rhino
I've finally received an answer about our SSH setup from the administrator of the server. He's out of town for a few days and only checking email sporadically. I've lost the original email thread but I've copied and pasted from the email that I forwarded to our administrator and added his answ

RE: Checking classpath enteries --from ant script

2005-12-20 Thread Rainer Noack
Not sure what you mean... However, you might want to take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 resp. http://jtools.org/ant-classloadertask/ Rainer > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 20, 2005

Re: Testing multiple values?

2005-12-20 Thread Ondrej Svetlik
Well, how about Best regards, Ondrej Svetlik Rhino wrote: How do I handle three different possible values from an 'exec' task when I want one value to be ignored and each of the other two values to invoke different

Re: Bug in istrue condition?

2005-12-20 Thread Ondrej Svetlik
Hello, the documentation of condition says: istrue Tests whether a string equals any of the ant definitions of true, that is "true","yes", or "on" See http://ant.apache.org/manual/CoreTasks/conditions.html for more information. Best regards, Ondrej Svetlik Rhino wrote: I'm not sure if I

RE: using buildnumber effectively

2005-12-20 Thread Anderson, Rob (Global Trade)
You may be able to get it from cvs with some command, but I would just put it into the properties file that the build.xml uses. Then you have two additional steps when setting up a new branch... 1) reset the buildnumber file to 0, and 2) set the CVS_BRANCH property in your build.properties file.

Checking classpath enteries --from ant script

2005-12-20 Thread Srikrishna_Parthasarathy
How do you check for classpath entry's using ant task ?

Testing multiple values?

2005-12-20 Thread Rhino
How do I handle three different possible values from an 'exec' task when I want one value to be ignored and each of the other two values to invoke different targets? I have an exec task that has the parameter resultproperty="script1.result". The value of script1.result can be: 0 (indicates tha

Different version of ant _ Please help

2005-12-20 Thread Srikrishna_Parthasarathy
How to use the weblogic version of ant . I am trying to build a webservice using the following build file but it is complaining for wlappc. I am using weblogic version 8.1 sp2 BUILD FAILED C:\testwebservice\build.xml:78: Could not create task or type of type: wlappc. Ant could not find

RE: source attribute

2005-12-20 Thread Chang, Jing
Exactly. I ran into the same problem and here is what I ended up with: Cheers, Jing -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 10:34 AM To: Ant Users List Subject: RE: source attribute nowarn attribute? On Tue, 2005-12-20 at 16:3

Bug in istrue condition?

2005-12-20 Thread Rhino
I'm not sure if I've found a bug or am just not understanding the documentation correctly. I'm using Ant 1.6.5 in Eclipse 3.1.1. Given this target: ---

RE: source attribute

2005-12-20 Thread James Abley
nowarn attribute? On Tue, 2005-12-20 at 16:31, Burgess, Benjamin wrote: > This is as a result of using a 1.5 JVM to compile. Only switching to a > 1.4 JVM will prevent this warning from occurring. > > Ben > > -Original Message- > From: Lim, Teck Hooi [mailto:[EMAIL PROTECTED] > Sent: T

RE: source attribute

2005-12-20 Thread Burgess, Benjamin
This is as a result of using a 1.5 JVM to compile. Only switching to a 1.4 JVM will prevent this warning from occurring. Ben -Original Message- From: Lim, Teck Hooi [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 6:15 AM To: user@ant.apache.org Subject: source attribute Hi,

RE: source attribute

2005-12-20 Thread Lim, Teck Hooi
Thanks but it doesn't work. -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 10:05 PM To: Ant Users List Subject: Re: source attribute Try source="1.4" as well as target="1.4" -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release

Re: source attribute

2005-12-20 Thread Jeffrey E Care
Try source="1.4" as well as target="1.4" -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Lim, Teck Hooi" <[EMAIL PROTECTED]> wrote on 12/20/2005 06:14:35 AM: > Hi, > > > > I have used tag with the following attributes >

Re: using buildnumber effectively

2005-12-20 Thread Mark Lybarger
that's definately a great idea. how do i get the branch name of cvs from within ant? basically, which cvs branch is this? On 12/19/05, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: > > > > > > > > Now, suppose I branch the project to create REL_4_1. > > > > Development is still occurin

source attribute

2005-12-20 Thread Lim, Teck Hooi
Hi, I have used tag with the following attributes ... As you can see I try to compile 1.4 sources with "enum" as a variable name and causes this [javac] d:\project\mybasic\src\com\acme\TestQueue.java:192: warning: as of relea

AW: jar and isempty

2005-12-20 Thread Com Pegasus-CC-Hotline
Hello, probably you can set a property with the cu, Thomas -Ursprüngliche Nachricht- Von: Kamal Bhatt [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 20. Dezember 2005 02:23 An: Ant Users List Betreff: jar and isempty Hi I am creating a jar file and I would like the script to fail

Re: problem with running ant in eclipse

2005-12-20 Thread vishakha sawant
Hi Rhino, I have tried Option B from your solution but i dont know it is still not working. But when I am using eclipse build without my ant build.xml file it is working. please help me to solve this problem. Regards, Vishakha On 19/12/05, Rhino <[EMAIL PROTECTED]> wrote: > > I had the same issue