ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Magnay <>
Subject RE: [PATCH] [FIX] RE: cvs commit: jakarta-ant/src/main/org/apache /tools/ant/taskdefs/optional/net
Date Tue, 26 Mar 2002 09:16:40 GMT
> the generic test would be to telnet to port 80 on 
>, 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.


View raw message