|
To avoid net requests during XML parser loads I
have changed all the DTD paths to local files with a little ant task to replace
the "DOCROOT" with the expected deployment directory. This allows me to
configure the deployment directory at build time so each developer can drive
their own deployment with their own build.properties file.
<!DOCTYPE
struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN"
"file://DOCROOT/WEB-INF/struts-config_1_1.dtd">
Except, the SunOne App Server changes the deploy
directory each time the product is deployed, putting the docroot into a numbered
directory that changes so there no way to know the directory prior to
deployment.
Anyone have any strategies to accomplish net
independence and install directory isolation at the same time?
Ed
|