ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Magnay <Nigel.Mag...@Parsec.co.uk>
Subject RE: [PATCH] [FIX] RE: cvs commit: jakarta-ant/src/main/org/apache /tools/ant/taskdefs/optional/net TelnetTask.java
Date Tue, 26 Mar 2002 09:16:40 GMT
> 
> the generic test would be to telnet to port 80 on 
> jarkarta.apache.org, do
> 
> file="ant/"
> response="200 OK"  //is that right?
> 
> then in telnet
> <write>GET ${file} HTTP/1.0</write>
> <write>
> <read>${response}</read>
> 

Good idea.
I've attached a build.xml file which does exactly that - 
and checks that if you don't set the translateProperties
flag that it defaults to the old behaviour.

I also forgot to mention, I'm not sure the current version
in CVS compiles. The patch to do property replacements
uses the 'project' member variable directly rather than
getProject() - my build barfed because of this.

Rgds,
Nigel


Mime
View raw message