Re: sshexec is not exiting

2004-11-05 Thread Jin Teck Chu
Thanks for your reply, Rob. I am using inetd and the following is from the man page from Linux about sshd: "sshd is the daemon that listens for connections from clients. It is nor- mally started at boot from /etc/rc. It forks a new daemon for each incoming connection." If you have multi

RE: sshexec is not exiting

2004-11-05 Thread Anderson, Rob (Global Trade)
Are you running the ssh daemon in some special way? On every maching that I run sshd on, it is running all the time, not just when there is a client connected. Oh, are you running sshd through inetd? Why is it a problem to keep the ssh connection open during the execution of both tasks? -Rob A

RE: passing Ant property values to new build

2004-11-05 Thread Casey Daniell
NM, I can't reproduce this problem using a simplified snippet of code. There must have been something that I "cleaned up" when reading the code that fixed the real issue. Thanks for the help! Casey -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Friday, Novemb

RE: passing Ant property values to new build

2004-11-05 Thread Dominique Devienne
> From: Casey Daniell [mailto:[EMAIL PROTECTED] > > for some reason if I pass in a value that is the same as the > property name I am trying to use it doesn't evaluate the var > properly. A bug perhaps? I am using ANT 1.6.2 Hmmm... Would you mind creating a small Ant snippet that demonstrates tha

RE: passing Ant property values to new build

2004-11-05 Thread Casey Daniell
Jan, Yep, its set in the calling ant file, [echo] ${tools.home}=C:\LATEST_CODE\tenant/../tools and not properly set in the ant script that is called. [echo] ${tools.home}=${tools.home} However, I found a solution, doing the following fixed my problems. for some reason if I p

RE: passing Ant property values to new build

2004-11-05 Thread Dominique Devienne
> From: Casey Daniell [mailto:[EMAIL PROTECTED] > Here is the problem. I am have one ant script calling another via the ant > task. I want the value of a property to be transmitted to the new build > not > the string literal itself. > > Ex. >basedir == /foo (not in any syntax) > > > >

AW: passing Ant property values to new build

2004-11-05 Thread Jan . Materne
Is the property set? Do a $${tools.home}=${tools.home} directly before the . Jan > -Ursprüngliche Nachricht- > Von: Casey Daniell [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 5. November 2004 17:45 > An: '[EMAIL PROTECTED]' > Betreff: passing Ant property values to new build > >

passing Ant property values to new build

2004-11-05 Thread Casey Daniell
All, I am a long time ant user but for some reason I am stumped on this, maybe its too early in the morning. Here is the problem. I am have one ant script calling another via the ant task. I want the value of a property to be transmitted to the new build not the string literal itself. Ex.

Re: How do I log from a custom FileNameMapper?

2004-11-05 Thread Peter Reilly
extend ProjectComponent implement FileNameMapper or provide a public method void setProject(Project project), this will get called by the ant core runtime to tell the filemapper the current project. Peter [EMAIL PROTECTED] wrote: I'm writing a custom FileNameMapper, and I'd like to display informat

How do I log from a custom FileNameMapper?

2004-11-05 Thread Jeremy_Stein
I'm writing a custom FileNameMapper, and I'd like to display information to the log for verbose mode. A FileNameMapper is just an interface, and not a ProjectComponent, so I'm not sure how to get ahold of the Project object to call the log method. Is there some sort of static method to access

RE: uptodate usage

2004-11-05 Thread Mark Lybarger
there is a task, and i'm looking into adding timestamping into it. > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Friday, November 05, 2004 9:53 AM > To: Ant Users List > Subject: RE: uptodate usage > > > > From: Mark Lybarger [mailto:[EMAIL PROTECTED]

Re: AW: package to dir

2004-11-05 Thread uli
[EMAIL PROTECTED] wrote: AntContrib: match: \. replace: \/ See also http://marc.theaimsgroup.com/?l=ant-user&m=107789102617870&w=2 Jan -Ursprüngliche Nachricht- Von: uli [mailto:[EMAIL PROTECTED] Gesendet am: Freitag, 5. November 2004 16:57 An: [EMAIL PROTECTED] Betreff: package to

AW: package to dir

2004-11-05 Thread Jan . Materne
AntContrib: match: \. replace: \/ See also http://marc.theaimsgroup.com/?l=ant-user&m=107789102617870&w=2 Jan > -Ursprüngliche Nachricht- > Von: uli [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 5. November 2004 16:57 > An: [EMAIL PROTECTED] > Betreff: package to dir > > im

package to dir

2004-11-05 Thread uli
imagine you have a package : this.is.my.package and it somehow is used as a path like this/is/my/packge how do I convert the package name to a path ? i came across pathconvert, but i didn't succeed. i need to have the string "this/is/my/package" in a property in the end. thanks

Re: bug in filter/filterset ??

2004-11-05 Thread Robert Koberg
Stefan Bodewig wrote: On Fri, 05 Nov 2004, Robert Koberg <[EMAIL PROTECTED]> wrote: Anybody seen this before? Yes. It is even mentioned in 's manual page. duh... I guess it couldn't be made clearer :) I though I had read through it before posting... sorry for the bother, -Rob , | Note: If

Re: [signjar] prevent double signing

2004-11-05 Thread Stefan Bodewig
On Fri, 05 Nov 2004, T. E. Schmitz <[EMAIL PROTECTED]> wrote: > Thanks for the links. I couldn't find any information though as to > that and why jarsigner truncates the alias: jarsigner takes the > alias name, truncates it to 8 characters and uses this as a basename > for the SF file. I just stu

Re: bug in filter/filterset ??

2004-11-05 Thread Stefan Bodewig
On Fri, 05 Nov 2004, Robert Koberg <[EMAIL PROTECTED]> wrote: > Anybody seen this before? Yes. It is even mentioned in 's manual page. , | Note: If you employ filters in your copy operation, you should limit | the copy to text files. Binary files will be corrupted by the copy | operation. T

bug in filter/filterset ??

2004-11-05 Thread Robert Koberg
I am using the filter/filterset to copy files from one dir to another. It is working for text files, but binary (.gifs, .jpgs) are getting totally screwed up. I can work around this by using two copy tasks (one excluding binaries, the other excluding text files), but I was wondering if there wa

sshexec is not exiting

2004-11-05 Thread Jin Teck Chu
Hi, With reference to the following ant script, I am trying to use sshexec to connect 2 different machines, host1 and host2, in parallel. The duration for these 2 connections are set to different time. The issue that I am having is when the sshexec task has ended in host1, the ssh daemon on hos

RE: uptodate usage

2004-11-05 Thread Dominique Devienne
> From: Mark Lybarger [mailto:[EMAIL PROTECTED] > > i'm trying to determine if a set of target files are current compared to a > source xsd file. can i use uptodate to accomplish this? i have an xml > schema, myschema.xsd, which is used by castor to generate some classes. i > only want to run t

AW: jboss and weblogic

2004-11-05 Thread Jan . Materne
The Server-Matrix on http://www.theserverside.com/reviews/matrix.tss doesnt contain any benchmarks ... (and it seems to be out of date: latest server version from Jan-04) Jan > -Ursprüngliche Nachricht- > Von: Conor MacNeill [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 5. November 2

Re: jboss and weblogic

2004-11-05 Thread Conor MacNeill
Shailesh Sharma wrote: does anybody here has done comparison or benchmarking for JBOSS and WEBLOGIC8.1/ If they have, hopefully they won't post it here because it would be off topic, as is, I'm afraid, your question. Try a JBoss newsgroup, BEA marketing or TheServerSide for this sort of thing.

jboss and weblogic

2004-11-05 Thread Shailesh Sharma
does anybody here has done comparison or benchmarking for JBOSS and WEBLOGIC8.1/ Thanks, shailesh - Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com/a

Re: [signjar] prevent double signing

2004-11-05 Thread T E Schmitz
Hallo Stefan, Stefan Bodewig wrote: On Thu, 04 Nov 2004, T. E. Schmitz <[EMAIL PROTECTED]> wrote: information can and should be gathered from and in particular Thanks fo

uptodate usage

2004-11-05 Thread Mark Lybarger
i'm trying to determine if a set of target files are current compared to a source xsd file. can i use uptodate to accomplish this? i have an xml schema, myschema.xsd, which is used by castor to generate some classes. i only want to run the generation if the schema has changed. uptodate see

RE: Trying to run CGI script on server after build

2004-11-05 Thread Dave Bartmess
Yep, it's on a web server... Thanks to all for the HttpUnit suggestions and others... I'll try them out! On Fri, 2004-11-05 at 07:19 -0500, Mark Lybarger wrote: > I haven't done much CGI, but I assume this is on a web server? You can use the ant > get task to hit the script. If you want to va

RE: Trying to run CGI script on server after build

2004-11-05 Thread Erskine, Chris
The quickest one that I can think of is WebTest from Canoo at http://webtest.canoo.com/webtest/manual/WebTestHome.html The tests that you build for this are done in an ant script so should be easy to integrate into your build. The next one would be to code your own java test using something like

Re: Trying to run CGI script on server after build

2004-11-05 Thread Stefan Bodewig
On Fri, 05 Nov 2004, Dave Bartmess <[EMAIL PROTECTED]> wrote: > Is there any Task out there that can handle this, and return the > resulting page contents to me, so I can check whether it's a valid > build or not? Stefan - To

RE: Trying to run CGI script on server after build

2004-11-05 Thread Mark Lybarger
I haven't done much CGI, but I assume this is on a web server? You can use the ant get task to hit the script. If you want to validate what the script returns, you might want to look into something like HttpUnit and friends. Very nice to validate web sites. > -Original Message- > Fro

Trying to run CGI script on server after build

2004-11-05 Thread Dave Bartmess
I've got a product I'm working on that needs a "validation" script run after the build is complete. The Ant script right now FTP's the built modules to the server, but I have to manually use the browser to run the script. Is there any Task out there that can handle this, and return the resulting p