ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon David Kelly <>
Subject Re: XML question
Date Wed, 19 Mar 2003 14:23:53 GMT
The <?xml ...   should be the first line in your file.  Some systems are 
clever and will always check for and ignore and comments on the first 
line.  Unfortunately not all are, so as a good rule the file description 
line should always be the first one in any file type. wrote:

>Not sure this is the right place to be posting this but...
>I build my jboss-web.xml file by replacing tokens with build values. The top of my final
jboss-web.xml file contains a comment i.e. 
>Note: Ant's filtered copy is used to activate configuration 
>tokens in this deployment descriptor at application build time
><?xml version="1.0" encoding="UTF-8" ?>
><!DOCTYPE jboss-web PUBLIC "@jboss.public.identifier@" "@jboss.dtd.url@">
>I think this comment is causing me deployment problems! Can anyone confirm that the placement
of a comment here would cause me deployment problems. 


"If it can't be done on the command line,
it ain't worth doing!"

View raw message