ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Tanner <rtan...@linfield.edu>
Subject Re: Can I edit web.xml from an ANT script
Date Thu, 18 Mar 2010 21:48:27 GMT
Brian,

Thanks.  I'm having some newbie issues using it but I also found that
there's an xmltask-users email list, so I've posted my problem there.

Again, thanks.

-- Rob



On 3/18/10 1:13 PM, "Brian Agnew" <brian@oopsconsultancy.com> wrote:

> XMLTask is what you want. It was specifically designed for such things.
> 
> http://www.oopsconsultancy.com/software/xmltask
> 
> Brian
> 
> On 18/03/2010 18:52, Rob Tanner wrote:
>> Hi,
>> 
>> I¹m starting to build applications using the Google Web Toolkit (GWT) in
>> Eclipse.  When moved to the production server, web.xml needs to have a
>> security-constraint so as to require SSL, but in development, GWT¹s hosted
>> mode doesn¹t understand the security-constraint.  The GWT compile does not
>> produce a warfile so I produce it myself  using jar, but I¹m having to
>> manually add the security-constraint so that web.xml in the warfile has the
>> constraint but the copy that hosted mode uses does not.
>> 
>> Obviously I can use ANT to build the warfile, but can I get ANT to add the
>> security-constaint, perhaps replacing a comment line such as<!-- security
>> constraint -->  with the actual XML?
>> 
>> Thanks,
>> Rob
>> 
>> 
>> 
>> Rob Tanner
>> JAVA Developer
>> Linfield College, McMinnville Oregon
>> 
>> 
>> 
>> 
>>    


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message