Re: sshexec fix for ant1.7 question

2006-01-26 Thread glenn opdycke-hansen
I was not clear. What a meant by patching ant is updating some ant source files from 1.7, eg SSHExec.java, and rebuilding ant locally (with the build.bat file) I see that the new files are written to dist/lib and to dist/bin. specifically, i see ant-jsch.jar and ant.jar and others files. Should

Re: HashMap return Long value

2006-01-26 Thread Tomáš Procházka
Hi. Axis 1.3 return Long Number, when I call this server method: public HashMap getMap() { HashMap map = new HashMap(); map.put(NAME,Tomas); map.put(SEX,male); return map; } In SoapBindingStub class on the line: java.lang.Object _resp =

AW: HashMap return Long value

2006-01-26 Thread Jan.Materne
Sorry, wrong list :-) Jan -Ursprüngliche Nachricht- Von: Tomáš Procházka [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Januar 2006 13:50 An: user@ant.apache.org Betreff: Re: HashMap return Long value Hi. Axis 1.3 return Long Number, when I call this server method: public

Re: AW: HashMap return Long value

2006-01-26 Thread Tomáš Procházka
Hi. I know, sorry please. -- Original message -- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: AW: HashMap return Long value Date: Thursday, January 26, 2006, 1:51:21 PM Attachments: none msgid:[EMAIL PROTECTED] J

AW: AW: HashMap return Long value

2006-01-26 Thread Jan.Materne
Sorry, wrong list :-) I know, sorry please. No worries - there are so many lists ;-) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Using 2 versions of JAVA_HOME through one build script

2006-01-26 Thread Srikrishna_Parthasarathy
Thanks for responding. Can you give an example on how to do that ? -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 12:02 AM To: user@ant.apache.org Subject: Re: Using 2 versions of JAVA_HOME through one build script On Wed, 25 Jan 2006,

Running part of the target based on the existence of a property file

2006-01-26 Thread Mark Eramo
Hi, I am relatively new to using property files to pass values to Ant as well as using the if statement in Ant. What I would like to do is run part of a custom target based on the existence of a property file. Here is what I want to do target CREATE A CUSTOM EJB if property file exists

RE: Running part of the target based on the existence of a property file

2006-01-26 Thread Burgess, Benjamin
The ant way do this would be something like this: property name=my.file location=/some/file/path/my.file/ target name=-check-for-file available file=${my.file} property=file.exists/ /target target name=-build-ejb if=file.exists build ejb tasks

Support for addText in Condition?

2006-01-26 Thread Brian O'Rourke
Hello, I have a custom condition, and I would like it to support body text. Is such a thing possible? I tried just adding an addText method to my Condition implementation, but I get an ExceptionInInitializationError. This is what I would like to do: waitfor noresults select *

Re: Support for addText in Condition?

2006-01-26 Thread Matt Benson
--- Brian O'Rourke [EMAIL PROTECTED] wrote: Hello, I have a custom condition, and I would like it to support body text. Is such a thing possible? I tried just adding an addText method to my Condition implementation, but I get an ExceptionInInitializationError. This is what I would

Re: Support for addText in Condition?

2006-01-26 Thread Brian O'Rourke
Me either :). Thanks for the reply. After a closer look, I saw that I was blaming ant for my own mistake. Plus I discovered the nifty -verbose switch, which tells me why I'm getting the exception. Thanks, Brian O'Rourke On 1/26/06, Matt Benson [EMAIL PROTECTED] wrote: --- Brian O'Rourke

RE: Running part of the target based on the existence of a property file

2006-01-26 Thread Mark Eramo
Thanks Benjamin, I was able to put something together based on that example and got it to work just fine. Regards, Mark Burgess, Benjamin [EMAIL PROTECTED] 01/26/2006 11:07 AM Please respond to Ant Users List user@ant.apache.org To Ant Users List user@ant.apache.org cc Subject

Escaping Characters

2006-01-26 Thread Lemke, Wesley
We are prompting for a cvs password in our ant script. However, we have some users that have special characters in their password (! for example). How do I escape the special characters, before I send the cvs command to the system? Here is the relevant parts of our build.xml: target

Re: Escaping Characters

2006-01-26 Thread Dominique Devienne
On 1/26/06, Lemke, Wesley [EMAIL PROTECTED] wrote: How do I escape the special characters, before I send the cvs command to the system? value=:pserver:${cvs.user}:[EMAIL PROTECTED]:${cvs.code.repository.dir} If someone's password is: th!s I would like cvs.pass to be: th\!s Why would it be

RE: Escaping Characters

2006-01-26 Thread Lemke, Wesley
You are correct, it was a permissions problem on the cvs server. I thought it was related to the shell because when I tried to reproduce the problem, I copied the command to the shell. Thanks for pointing out that the cvs command doesn't go through the shell, I wasn't aware of that.

When is the next release?

2006-01-26 Thread Clifton Craig
Does anybody have an idea about when the next release of Ant is due? I'm having some trouble getting 1.6.5 to work as I'm getting an error: Could not create task or type of type: scriptdef. Ant could not find the task or a class this task relies upon. I get this even after copying the bsf.jar

Re: When is the next release?

2006-01-26 Thread Alexey N. Solofnenko
There is fetch.xml build file that downloads some needed jars of the web. Please try running it first. - Alexey. Clifton Craig wrote: Does anybody have an idea about when the next release of Ant is due? I'm having some trouble getting 1.6.5 to work as I'm getting an error: Could not create

Re: When is the next release?

2006-01-26 Thread Ivan \Rambius\ Ivanov
Hello, --- Clifton Craig [EMAIL PROTECTED] wrote: Does anybody have an idea about when the next release of Ant is due? I'm having some trouble getting 1.6.5 to work as I'm getting an error: Could not create task or type of type: scriptdef. Ant could not find the task or a class this

Fwd: Ant exam

2006-01-26 Thread Erik Hatcher
I've been asked to forward this to the Ant user community Begin forwarded message: From: John Rizzo [EMAIL PROTECTED] I'm John Rizzo, founder of JavaBlackBelt.com We finalize a free multiple choice test about Ant http://www.javablackbelt.com/jbb/QuestionnaireDefDisplay.do?

manifest: add arbitrary set of properties?

2006-01-26 Thread Cyril Sagan
In our current java build process, we'd like to be able to allow users to add arbitrary items to the jar manifest. But, 1) we won't know the attribute names, and 2) some builds will have these extra manifest, some won't. In the ideal solution, the build.xml would look something like this:

Re: Using 2 versions of JAVA_HOME through one build script

2006-01-26 Thread Stefan Bodewig
On Thu, 26 Jan 2006, Srikrishna Parthasarathy [EMAIL PROTECTED] wrote: Thanks for responding. Can you give an example on how to do that ? Do what? Use exec to override an environment variable? exec executable=... env key=ANT_HOME value=.../ /exec I'm afraid there isn't more to that.