View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-site-skeleton/trunk/anteater.xml
Revision: 740
Committed: Thu Feb 2 17:36:44 2006 UTC (15 years ago) by jquinn
Content type: text/xml
File size: 825 byte(s)
Log Message:
adding first (incomplete) version of hippo-site-skeleton

File Contents

# User Rev Content
1 jquinn 740 <?xml version="1.0"?>
2    
3     <project name="Anteater-test" default="main">
4     <taskdef resource="META-INF/Anteater.tasks"/>
5     <typedef resource="META-INF/Anteater.types"/>
6    
7     <property name="url" value="http://preview.cocoongt.localhost:50068"/>
8    
9     <target name="check-website">
10     <echo>Now downloading and testing ${url}</echo>
11     <echo>Waiting 15 secs for server to boot</echo>
12     <waitfor maxwait="15" maxwaitunit="second"><istrue value="false"/></waitfor>
13     <echo>Done waiting</echo>
14     <httpRequest href="${url}">
15     <match>
16     <responseCode value="200"/>
17     <header name="Content-Type" assign="contenttype"/>
18     <regexp>Copyright</regexp>
19     </match>
20     </httpRequest>
21     <echo>URL has Content-Type: ${contenttype}</echo>
22     </target>
23    
24     <target name="main" depends="check-website"/>
25     </project>