DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31876>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31876 IPlanet/SunOne EjbJar Subtask is ignoring local DTDs Summary: IPlanet/SunOne EjbJar Subtask is ignoring local DTDs Product: Ant Version: 1.6.2 Platform: All OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] DTD subelements under ejbjar are ignored when iplanet deployment tool is used. Because, at my company, we don't have internet access, ejbjar cannot find dtds and it fails ! To correct this situation i've modified the code below from: // parseEjbFiles ejbc.setRetainSource(keepgenerated); ejbc.setDebugOutput(debug); if (iashome != null) { ejbc.setIasHomeDir(iashome); } To: //parseEjbFiles ejbc.setRetainSource(keepgenerated); ejbc.setDebugOutput(debug); for (Iterator i = getConfig().dtdLocations.iterator(); i.hasNext();) { EjbJar.DTDLocation dtdLocation = (EjbJar.DTDLocation) i.next(); ejbc.registerDTD(dtdLocation.getPublicId(), dtdLocation.getLocation()); } if (iashome != null) { ejbc.setIasHomeDir(iashome); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]