users
[Top] [All Lists]

DTD path problem.

To: "CinJug" <users@xxxxxxxxxx>
Subject: DTD path problem.
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxx>
Date: Mon, 16 Jun 2003 12:07:05 -0400
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
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
 
 

 

<Prev in Thread] Current Thread [Next in Thread>