RE: Using encrypted passsword with task

2006-03-30 Thread Rebhan, Gilbert
Hi, as you have already your two classes = 1. put your password in a property file, and (optionally) hide it between some other dummy stuff : thequickbrownfox bla=foobar sql=myverysecretpassword jumpsover thelazydog theanswer=42 2. let your encrypt routine run over the file 3. delete the

AW: forced update with war target

2006-03-30 Thread Jan.Materne
>> Since a war file is, more or less, a zip file...I say give the zip >> task a try. I think it would work better for what you're >trying to accomplish. > >I tried that, it has the same behaviour. Because it´s the base class of jar=org.apache.tools.ant.taskdefs.Jar zip=org.apache.tools.

Re: Really a non-forum related question

2006-03-30 Thread Ron Wheeler
http://www.ssh.com/support/downloads/secureshellwks/non-commercial.html gives you file transfer over ssh in a nicely packaged setup - Windows drag and drop into the Linux directory with a terminal emulation (ansi, vt100, etc) over SSH They also have a commercial version at a fair price. Ron A

Re: Really a non-forum related question

2006-03-30 Thread Res Pons
Thank you so very much for your help :) Original Message Follows From: "Alexey N. Solofnenko" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: Really a non-forum related question Date: Thu, 30 Mar 2006 10:31:20 -0800 MIME-Version: 1.0 Received: from mail.ap

Re: Really a non-forum related question

2006-03-30 Thread Res Pons
Great, thank you for all the info. Original Message Follows From: Jean-Philippe Daigle <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: Really a non-forum related question Date: Thu, 30 Mar 2006 13:27:09 -0500 (EST) MIME-Version: 1.0 Received: from mail.apa

Re: Really a non-forum related question

2006-03-30 Thread Alexey N. Solofnenko
I use Cygwin on Linux. There are few guides how to set it up: http://pigtail.net/LRP/printsrv/cygwin-sshd.html http://cfm.gs.washington.edu/security/ssh/client-pkauth/ or http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=cygwin+openssh+key - Alexey. Res Pons wrote: Thanks fo

Re: Really a non-forum related question

2006-03-30 Thread Jean-Philippe Daigle
If your target server is running Windows, then you'll need to setup an SSH distribution on that server and configure a user that your build scripts can use when uploading files. I'm pretty sure Cygwin allows authentication with domain credentials, which is what you want to use here. As for the

Re: Really a non-forum related question

2006-03-30 Thread Res Pons
Thanks for the quick response. I'm not a *nix guru and so far Googling is just pointing me to a lot of products or .edu for the basic instructions of FTP. Do you know of a good site, I can read on this? Also does the certificate have to be generated on the Linux side and copied to the Windows

Re: Really a non-forum related question

2006-03-30 Thread Andy Levy
On 3/30/06, Res Pons <[EMAIL PROTECTED]> wrote: > I FTP couple of files from a Linux RHEL 3.5 server to a Windows Domain and > my ftp script sends my password in raw ascii text. I have no idea to send > my password encrypted for Windows to understand. Any idea, suggestion, or > forum I can pose t

Using encrypted passsword with task

2006-03-30 Thread Laurent Duperval
Hi, Is it possible to use an encrypted password in a SQL task? If so, how can I do that? I'm using Blowfish to encrypt/decrypt the password and I have a routine that does it for me already. How can I tell the ant task that I am using an encrypted password? Thanks, L

RE: forced update with war target

2006-03-30 Thread Torgeir Veimo
On Thu, 2006-03-30 at 09:41 -0800, Res Pons wrote: > Since a war file is, more or less, a zip file...I say give the zip task a > try. I think it would work better for what you're trying to accomplish. I tried that, it has the same behaviour. -- Torgeir Veimo <[EMAIL PROTECTED]>

Re: Really a non-forum related question

2006-03-30 Thread Alexey N. Solofnenko
I would use SSH and scp instead with certificate authentication. Also Linux (not sure about RHEL 3.5 - maybe it is too old) can work with Windows shared drives. - Alexey. Res Pons wrote: OK the only remote relation my question has to do with this forum is that I use Subversion and Ant and Lin

Really a non-forum related question

2006-03-30 Thread Res Pons
OK the only remote relation my question has to do with this forum is that I use Subversion and Ant and Linux shell scripting to do my builds. Please someone either give me their expertise or point me to a forum to ask this question. I FTP couple of files from a Linux RHEL 3.5 server to a Wind

RE: forced update with war target

2006-03-30 Thread Res Pons
Since a war file is, more or less, a zip file...I say give the zip task a try. I think it would work better for what you're trying to accomplish. Original Message Follows From: Torgeir Veimo <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: user@ant.apache.org Subject: forced update w

AW: forced update with war target

2006-03-30 Thread Jan.Materne
delete the 'old' war? Jan >-Ursprüngliche Nachricht- >Von: Torgeir Veimo [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 30. März 2006 16:19 >An: Ant Users List >Betreff: RE: forced update with war target > >On Thu, 2006-03-30 at 15:04 +0100, Keith Hatton wrote: >> Option 1. the files

RE: forced update with war target

2006-03-30 Thread Torgeir Veimo
On Thu, 2006-03-30 at 15:04 +0100, Keith Hatton wrote: > Option 1. the files before so that they will definitely > have a newer timestamp. > > Option 2. the archive, the files to be > replaced, then to create a new WAR file. The war file has 3000+ files. I was doing it this way to create a f

RE: forced update with war target

2006-03-30 Thread Keith Hatton
Option 1. the files before so that they will definitely have a newer timestamp. Option 2. the archive, the files to be replaced, then to create a new WAR file. Hope this helps Keith -Original Message- From: Torgeir Veimo [mailto:[EMAIL PROTECTED] Sent: 30 March 2006 14:35 To: user

ant xslt on java 1.5

2006-03-30 Thread Mark Lybarger
i'm trying to use ant's xslt task on java 1.5. Here's my target call: And the exception is: [xslt] Transforming into C:\dev\workspace-wtp-1.0\myProj\build\doc

forced update with war target

2006-03-30 Thread Torgeir Veimo
I'm using the war target to update a war file, with update="true", but it seems it only updated files that has a newer timestamp than those in the war file. Is there a way to force all files that I specify to be updated in the war file? -- Torgeir Veimo <[EMAIL PROTECTED]>

RE: FTP ANT GET TASK EXCEPTION

2006-03-30 Thread Karthik
Hi Thx for the Quick reply >>I guess the remote dir should be F:/Target and the server should hold the IP Address. Do u mean to say that i should reverse as follows ftp.setServer("192.168.150.110"); ftp.setRemotedir("F:/TARGET"); Then i get the error as follows The exception raised

FTP ANT GET TASK EXCEPTION

2006-03-30 Thread Karthik
Hi form I get the Exception on executing the FTP method for "get", to copy the file's present in a remote server to my local system across the OS [ Linux to windows ] Can some body tell me why am i getting this exception, and how to change it accordingly error during FTP tran