ANT SCP Via a Java App

2006-05-09 Thread Gareth Kelly
Hi, Not sure if this is the correct mailing list, but hopefully someone can help me. I have been using the ant and ant-jsch.jar in a java app to scp files from one machine to another. Works fine when passing in username and password. I set up a trusted connection by creating a public/private key

RE: Ant Get FileSize using exec?

2004-11-03 Thread Gareth Kelly
$size) ) here's the bash version that we use on solaris which sets the var on the left to the size of the file. > -Original Message- > From: Gareth Kelly [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 02, 2004 7:43 AM > To: 'Ant Users List' > Subjec

RE: Ant Get FileSize using exec?

2004-11-02 Thread Gareth Kelly
Using the below example I get this error: BUILD FAILED /export/home/vssop/sparcs/build.xml:17: Could not create type scriptdef due to java.lang.NoClassDefFoundError: org/apache/bsf/BSFException -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 November 2004 13

Ant Get FileSize using exec?

2004-11-02 Thread Gareth Kelly
Hello, I am trying to display the filesize, or set a property to be equak to it. I tried the exec tag, and can do this: to get this: [exec] -rwxr--r-- 1 kellyga develop 4338595 Nov 1 10:51 /export/home/kellyga/sparcs/war/SPARCS.war But all I need is the filesize. Can anyone hel

Deploy to Sun One Webserver

2004-10-28 Thread Gareth Kelly
Hello, I was reading up on this, and can see how to deploy to Sun One App Server, but can anyone deploy a WAR file to Sun One Web Server 6.1? Thanks, Gareth The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-ma

RE: ANT Checksum

2004-10-19 Thread Gareth Kelly
time. Gareth -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: 19 October 2004 07:23 To: [EMAIL PROTECTED] Subject: Re: ANT Checksum On Fri, 15 Oct 2004, Gareth Kelly <[EMAIL PROTECTED]> wrote: > But if I create 2 jar files containing the same ".java&q

RE: Ant build script using sosget

2004-10-18 Thread Gareth Kelly
] Sent: 14 October 2004 21:14 To: Ant Users List Cc: [EMAIL PROTECTED] Subject: Re: Ant build script using sosget Gareth you can install CYGWIN available at http://www.cygwin.com and mount a cygwin drive e.g. cygdrive/c/ Martin- - Original Message - From: "Gareth Kelly" <[EM

RE: ANT Checksum

2004-10-18 Thread Gareth Kelly
formation. If a.jar conatins: /a/MyClass.jar and if b.jar contains: /b/MyClass.jar checksum of them should be different. regards, Koji > -Original Message- > From: Gareth Kelly [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 16, 2004 1:03 AM > To: 'Ant Users List'

ANT Checksum

2004-10-15 Thread Gareth Kelly
Hello, I can use checksum to compare 2 same ".java" files in different directories, and they match. But if I create 2 jar files containing the same ".java" file in different directory, the checksums are different. Can someone tell me why? What I am trying to do is set up an environment where someo

soscheckout works for one file, but not whole project

2004-10-15 Thread Gareth Kelly
Hello, Managed to get the soscmd working from Solaris, connecting to VSS on Windows XP. If I have a project in VSS with one file, I can check out the project fine. But if it has two files, I get an error trying to get the second file: [soscheckout] SourceOffSite Command Line Client: Standard Edit

RE: Ant build script using sosget

2004-10-14 Thread Gareth Kelly
One quick question: this is from the exmplae page: Can vssserverpath be an ip address, path? If this is running on Solaris, how can it find the ini file? Gareth -Original Message- From: Gareth Kelly [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 15:46 To: 'Ant Users List

RE: Ant build script using sosget

2004-10-14 Thread Gareth Kelly
. -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 15:35 To: Ant Users List Subject: RE: Ant build script using sosget Gareth, Just a guess, but it looks like you haven't added soscmd to your PATH. Regs, /t >-Original Message- >F

Ant build script using sosget

2004-10-14 Thread Gareth Kelly
I am trying to connect to VSS from Solaris. I have installed Sourcegears Source Offsite server, listening on a tcp port. Apparently I should be able to use the SOS optional tasks: http://ant.apache.org/manual/OptionalTasks/sos.html but am g