RE: writing to XML

2008-04-30 Thread Guy Catz
Hi. What I actually need, is to write data into a XML file, so I will be able to render this XML to a HTML as a report. The XML structure is something I know. Thanks. -Original Message- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 8:10 PM To: Ant Users Lis

Re: Handel failure in sql tag

2008-04-30 Thread Antoine Levy-Lambert
Hi, my advice is : - do not use the task, - create a small web application where your users would choose from a dropdown the JDBC URL to connect to - have this web application kick off ant, passing -Ddb.hostname=foo -Ddb.port=1234 ..., or more simply -Djdbc.url= where I am workin

RE: FW: Trouble with installation

2008-04-30 Thread Sean Tiley
Obvious but you have the ANT_HOME\bin directory in your path environment variable? Sean -Original Message- From: Debbie Shapiro [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 3:34 PM To: Ant Users List Subject: RE: FW: Trouble with installation Hey it looks like I'm at least

RE: FW: Trouble with installation

2008-04-30 Thread Debbie Shapiro
Hey it looks like I'm at least one step closer! Thank you!!! It's not complaining about the tools.jar missing anymore! But I still can't run it outside the ant/apache.../bin directory. Not sure why. Debbie Shapiro, Data Warehouse Manager Office: 425.402.2233 -Original Message- From: Pe

Re: FW: Trouble with installation

2008-04-30 Thread Peter Reilly
Looking at the JAVA_HOME setting: JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15; You have a trailing '";", this may not be good. Peter On Wed, Apr 30, 2008 at 7:53 PM, Debbie Shapiro <[EMAIL PROTECTED]> wrote: > Well, I tried reinstalling Ant into c:\Ant, but I'm still getting the > same results. > >

RE: FW: Trouble with installation

2008-04-30 Thread Debbie Shapiro
Well, I tried reinstalling Ant into c:\Ant, but I'm still getting the same results. It somehow thinks it should be looking for my Java path in c:\Program Files\Java\jre1.5.0_15\lib\ (instead of the JDK) And it is looking for tools.jar in the JRE where it doesn't exist. I still can't run Ant outsi

RE: FW: Trouble with installation

2008-04-30 Thread Taj, Abdul
That would only matter if he had given "Program File" But since the path is specified like - Progra~1, it is not a concern.. -t -Original Message- From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 2:29 PM To: Ant Users List Subject: Re: FW: Trouble wit

Re: FW: Trouble with installation

2008-04-30 Thread glenn opdycke-hansen
I noticed this > ANT_HOME=C:\Progra~1\Ant\apache-ant-1.7.0 > JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15; It appears that Ant and Java are installed in the "Program Files" folder. I would first install and to C\:ant or something similar. Please do not use a folder name with an embedded space. Then c

Re: writing to XML

2008-04-30 Thread Brian Agnew
Where are you getting the XML node from ? XMLTask ( http://www.oopsconsultancy.com/software/xmltask/ ) may do what you require. Brian On Wed, April 30, 2008 17:10, Guy Catz wrote: > hi guys, > > I'm trying to write a node to XML file. > Is it possible to do that from ANT? > > something like the

Re: Ant on AIX using SCP to transfer files with ssh2 keys

2008-04-30 Thread MaxSteel
Update, finally got a straight answer from one of my sys admins, we are using: "WRQ's version of SSH2 which used to be F-Secure" If that helps.. thanks. -- View this message in context: http://www.nabble.com/Ant-on-AIX-using-SCP-to-transfer-files-with-ssh2-keys-tp16952909p16986856.html Sent fro

FW: Trouble with installation

2008-04-30 Thread Debbie Shapiro
Perhaps I spoke too soon... Here are the two problems I am having: 1) I am only able to run Ant from within the Ant directory. I am trying to use Ant to build a build.xml within a Pentaho BI application and the steps indicate I should be able to execute Ant from within the Pentaho directory. 2) W

Re: Ant on AIX using SCP to transfer files with ssh2 keys

2008-04-30 Thread MaxSteel
First, does jsch need this "known hosts" file.. is that why it's not working? if so, what should this file look like for ssh2? Second, Does my script look correct at least for keys to work? "build.xml" 17 lines, 713 characters

Re: ant and svn

2008-04-30 Thread jpyork
Then how would I get it to check the whole branch? I was under the assumtion if I pointed to the top folder, it would check everything under it, If this is not the case what would I put for it to do this? Alex Miller-9 wrote: > > It looks like subversion is "skipping" the updates because th

RE: ant and svn

2008-04-30 Thread jpyork
Then how would I get it to check the whole branch? I was under the assumtion if I pointed to the top folder, it would check everything under it, If this is not the case what would I put for it to do this? Lenhof,Danny wrote: > > Here is two examples...hope this helps. > > > > > >

writing to XML

2008-04-30 Thread Guy Catz
hi guys, I'm trying to write a node to XML file. Is it possible to do that from ANT? something like the XMLProperty which read from XML, just the opposite.. :) Thanks. Guy.

Re: ant and svn

2008-04-30 Thread Alex Miller
It looks like subversion is "skipping" the updates because those files are already up to date. On Wed, 2008-04-30 at 09:06 -0700, jpyork wrote: > I must be doing something wrong because everytime I try to do one of the > options posted here, I get this: > > svn: > [exec] Skipped http://1.2.3.4/r

Re: ant and svn

2008-04-30 Thread jpyork
I must be doing something wrong because everytime I try to do one of the options posted here, I get this: svn: [exec] Skipped http://1.2.3.4/repos/address/I/want/updated [exec] Skipped location/on/computer/the/update/should/happen why is it "skipping" this step? jpyork wrote: > > Does anyon

Re: read environment variables set by bat file, which is run by ant exec task

2008-04-30 Thread Steve Loughran
Raja Nagendra Kumar wrote: Hi, Is it possible to read the properties which are set by bat file (this bat file is run with in ant using exec command. Basically teh bat file should run in the same process.. tried spam="false" in exec but does not work.. The above one shoul

Handel failure in sql tag

2008-04-30 Thread JMAnt
I try to connect to sql by ant and do successful. but if I want give sql connection url from user by input tag I must check if it is correct or not. but I can't do it. and if url is incorrect my build job will terminate without any announcement to user. If we can handle Exceptions and Error in

read environment variables set by bat file, which is run by ant exec task

2008-04-30 Thread Raja Nagendra Kumar
Hi, Is it possible to read the properties which are set by bat file (this bat file is run with in ant using exec command. Basically teh bat file should run in the same process.. tried spam="false" in exec but does not work.. The above one should have all the properties as

RE: Problem to use ant contrib

2008-04-30 Thread Dubois, Fabien
Where I can find ant-contrib.jar?? because source forge is off... Thank you -Message d'origine- De : Stefan Bodewig [mailto:[EMAIL PROTECTED] Envoyé : mercredi 30 avril 2008 10:54 À : user@ant.apache.org Objet : Re: Problem to use ant contrib On Wed, 30 Apr 2008, Fabien Dubois <[EMAIL P

Re: Problem to use ant contrib

2008-04-30 Thread Peter Reilly
Also, the taskdef defines a namespace uri (antlib:net.sf.antcontrib) but the script does not bind this to a namespace prefix and in any case does not use a namespace prefix with the tag. the definition should be something like this: ... or (ant 1.7) .. Peter On Wed, Apr 30, 2008 at 9:

Re: Problem to use ant contrib

2008-04-30 Thread Stefan Bodewig
On Wed, 30 Apr 2008, Fabien Dubois <[EMAIL PROTECTED]> wrote: > resource="net/sf/antcontrib/cpptasks/antlib.xml" > classpath="${lib}/cpptasks.jar"/> > > > > Ant stops this task at the < if > (so there is no problem for the > taskdef): I don't think cp

Problem to use ant contrib

2008-04-30 Thread Dubois, Fabien
Hi everybody, I try to use ant-contrib to create a task which detects if a file is present, and if not copy the file in the folder. So I have get back the source of ant-contrib, build and create the jar. This is my task :