Re: deployment of web app

2005-06-01 Thread Matthew Moodie
Hi, What the previous reply meant was that the WEB-INF folder should not be in the bluegrass folder. It should be in the root folder of your application. Also, if you are using the default Tomcat set-up, you do not need to use the manager application. If your WAR is valid, Tomcat will deploy

Re: capture java output to variable

2005-06-01 Thread Antoine Levy-Lambert
Matt Benson wrote: --- Mark Lybarger <[EMAIL PROTECTED]> wrote: the output property contains more than i'd like. how can i "substring" the output? In addition to ant-contrib's propertyregex mentioned elsewhere, when using , , or you can use a nested I/O with filtering. -Matt

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
Right. That is the more "formal way". In my application, I am only transferring files within the Intranet network environment, so, I don't really care about setting up the knowhosts file. I think setting up trust=true behind the firewall is good enough for me. Cheers, Jian On 6/1/05, Anderson,

RE: Problem with sshexec task: reject HostKey

2005-06-01 Thread Anderson, Rob (Global Trade)
You can also set knownhosts=/path/to/your/knownhosts/file. -Rob A > -Original Message- > From: j&h systems [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 01, 2005 10:32 AM > To: Ant Users List > Subject: Re: Problem with sshexec task: reject HostKey > > > Hi, > > Try setting trust="

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread Bill Winspur
Thanks Jian, setting trust="true" got sshexec working for me, Bill j&h systems wrote: Hi, Try setting trust="true" like the following: I think if you don't set trust to true, the host key (which is on the server) will be rejected by your ant ssh task. Cheers, Jian On 7/2/05, Bill Winspu

cross-platform vss ant script?

2005-06-01 Thread chadster415
Hello, I have an ant script running under Win XP that accesses VSS using the vssget task. Now I want to be able to run the script under Linux, accessing VSS if possible. I have found some documentation online regarding Wine, but is this the only way to go? It seems like I then need to mount the V

RE: capture java output to variable

2005-06-01 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > Hello Matt > > I am kind of new to Ant. Can you explain with an > example ? Please keep communications on the list for the benefit of the community. As for an example of I/O redirection, be sure to read the "I/O redirectors" page accessible in the Ant manual under

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
The other thing is, since jsch is frequently used. Is it possible to include it by default into the ant distribution? Any licensing issues? Jian On 6/1/05, j&h systems <[EMAIL PROTECTED]> wrote: > Hi, > > Try setting trust="true" like the following: > > > > > I think if you don't set trust t

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
Hi, Try setting trust="true" like the following: I think if you don't set trust to true, the host key (which is on the server) will be rejected by your ant ssh task. Cheers, Jian On 7/2/05, Bill Winspur <[EMAIL PROTECTED]> wrote: > I am using the sshexec task in the following build.xml, und

Problem with sshexec task: reject HostKey

2005-06-01 Thread Bill Winspur
I am using the sshexec task in the following build.xml, under XP Pro From which I get the following console output: E:\swd\devt\eclipseWkspce\Sysadmin\tomcat\ant\ssh-stuff>ant Buildfile: build.xml sshtry: [sshexec] Connecting to xxx.com:22 BUILD FAILED E:\swd\devt\eclipseW

cvschangelog with multiple repositories

2005-06-01 Thread Mark Lybarger
i just got the cvschangelog working to give me a report of cvs changes. i used the examples in the manual to get it started. it seems to only work on one repository at a time (dir="" attribute). is it possible to use multiple dir's to give a report of multiple repository locations? in cvs we hav

Weblogic 8 weblogic.appc

2005-06-01 Thread Zafarano, Marcus
Does anyone know why this is failing, or has anyone used WL 8 and the weblogic.appc exacutable? lib.jar;C:\Legal Services\build\lib\xcential\fileuploadutils.jar' [ejbc] 'weblogic.appc' [ejbc] 'C:\Legal Services\build\dist\lib\XDBDocumentRepository-generic.jar' [ejbc] 'C:

How to exclude a reference classpath included jar in classpath?

2005-06-01 Thread Leon Pu
Hi all, I want to exclude foo.jar in the classpath. But foo.jar is also included in run.class.path. Is it possible to exclude foo jar? Following build script doesn't work, just a reference? Thanks! Best regards, Leon - Discover Yahoo! Ge

RE: Delete dir if empty

2005-06-01 Thread Dick, Brian E.
Works. Cool. Thanks. -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 11:11 AM To: Ant Users List Subject: RE: Delete dir if empty --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > Nope. That deletes files. I don't want to delete > files. I o

Re: capture java output to variable

2005-06-01 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- Mark Lybarger <[EMAIL PROTECTED]> wrote: > > the output property contains more than i'd like. > how > > can i "substring" the > > output? > > In addition to ant-contrib's propertyregex mentioned > elsewhere, when using , , or you > can use a nest

Re: capture java output to variable

2005-06-01 Thread Matt Benson
--- Mark Lybarger <[EMAIL PROTECTED]> wrote: > the output property contains more than i'd like. how > can i "substring" the > output? In addition to ant-contrib's propertyregex mentioned elsewhere, when using , , or you can use a nested I/O with filtering. -Matt > > On 5/26/05, Dominique Dev

RE: Delete dir if empty

2005-06-01 Thread Matt Benson
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > Nope. That deletes files. I don't want to delete > files. I only want to > delete empty directories. Trick: -Matt > > -Original Message- > From: j&h systems [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 01, 2005 10:46 AM > To:

RE: Delete dir if empty

2005-06-01 Thread Dick, Brian E.
Nope. That deletes files. I don't want to delete files. I only want to delete empty directories. -Original Message- From: j&h systems [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 10:46 AM To: Ant Users List Subject: Re: Delete dir if empty What about include "includeemptydir

Re: Delete dir if empty

2005-06-01 Thread j&h systems
What about include "includeemptydirs" in your delete task, like the following example? Jian On 6/1/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > How can I delete a directory only when it is empty? I have tried many > combinations of include/exclude with the delete task, but cannot find > any

Ant 1.6.2/4 with Java1.5.0_02 on solaris8

2005-06-01 Thread Zandra Bainas
Hi all, Has anyone got this combination to run? I've upgraded Ant from 1.6.0 to 1.6.2 (and just tried 1.6.4 as well, same problem as 1.6.2) and the jvm from java 1.4.2_03 to 1.5.0_02 Everything works fine on the PCs (w2000) but I can't get Ant to run on the solaris machines using java 5. It doe

RE: UnsupportedClassVersionError

2005-06-01 Thread Conelly, Luis (GE Energy, Non GE, GENE)
Govardhan, I have seen this error when you have different versions of ant in your path/classpath (I´ve seen this happenning on linux workstations with ant preinstalled). I'd do the following things, to track down the possible problems: - Unset $CLASSPATH variable - Set $PATH variable with

Delete dir if empty

2005-06-01 Thread Dick, Brian E.
How can I delete a directory only when it is empty? I have tried many combinations of include/exclude with the delete task, but cannot find anything that works in all cases. Later, BEDick

UnsupportedClassVersionError

2005-06-01 Thread Govardhan Babu
Hi, I am getting this 'UnsupportedClassVersionError' when trying to run 'ant compile' command. For this compile task, the build.xml file contains: 'scr' directory having small HelloWOrld.java. Initially I thought the problem is because of PATH settings to various versiond of JRE, so I checke

RE: deployment of web app

2005-06-01 Thread EMelious
I have the correct file structure from what I can tell...It must be something in one of my .xml files, I just do not know how to handle them

Re: capture java output to variable

2005-06-01 Thread Yayo
Hi, I've found this thread after a google search http://www.jguru.com/forums/view.jsp?EID=1230794 Hope it helps! 2005/6/1, Mark Lybarger <[EMAIL PROTECTED]>: > the output property contains more than i'd like. how can i "substring" the > output? > > On 5/26/05, Dominique Devienne <[EMAIL PROTECT

RE: deployment of web app

2005-06-01 Thread Keith Hatton
I am not 100% sure that I have read your mail right but it sounds like your WEB-INF folder is at the wrong level, which would make everything else fail. (Are you using the task? This should make building the file quite easy). A war file should have the following structure (root) <=

Re: capture java output to variable

2005-06-01 Thread Mark Lybarger
the output property contains more than i'd like. how can i "substring" the output? On 5/26/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > How about ? --DD >

deployment of web app

2005-06-01 Thread EMelious
I am attempting to deploy my first web application. I have read many tutorials and have worked on it for sometime now. I simply cannot understand what is needed to complete the process. I do not know what files need to be modified and placed where. This is what I have come up with so far.

Re: srcdir attribute and element in the javac task

2005-06-01 Thread Antoine Levy-Lambert
Hello Glenn, this is not going to work. you need something like that In other words, the base directory of filesets nested in the src element of the javac task must always be the java p