Hi,

I wanted to integrate JWSDP 2.0 in Tomcat 5.0. To do this, the distrib of
JWSDP gives some tools.
For Tomcat integration, this is done by a ant build file which makes
backups, copies, and replaces tokens in different files : server.xml,
catalina.properties, setenv.bat

I use ant 1.7 ; the ant process finishes with a "BUILD SUCCESSFULL", and,
really, the catalina.properties and setenv.bat files are changed, but the
server.xml file is not changed.

Isolating the problem, I found that if I reduce the size of the server.xml
file, by cutting pieces of text at the beginning or at the end, this makes
running the process !

It is like the replacing process cannot success if the file is "too large"
(in fact, the initial size of the server.xml if 16965 bytes and, on the
contrary, the catalina.properties and setenv.bat are much shorter).

So, is there a limit to the size of the file where ant task tries to
replace a token ? There is nothing about this in the API manual.

Thanks for help and regards

Alain





#
" This e-mail and any attached documents may contain confidential or 
proprietary information. If you are not the intended recipient, please advise 
the sender immediately and delete this e-mail and all attached documents from 
your computer system. Any unauthorised disclosure, distribution or copying 
hereof is prohibited."

 " Ce courriel et les documents qui y sont attaches peuvent contenir des 
informations confidentielles. Si vous n'etes  pas le destinataire escompte, 
merci d'en informer l'expediteur immediatement et de detruire ce courriel  
ainsi que tous les documents attaches de votre systeme informatique. Toute 
divulgation, distribution ou copie du present courriel et des documents 
attaches sans autorisation prealable de son emetteur est interdite."
#

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to