The following comment has been added to this issue:
Author: Andrew Stevens
Created: Tue, 29 Jul 2003 6:38 PM
Body:
Really? Just from looking at the code, I'd be surprised if it did. The template uses
<!DOCTYPE weblogic-ejb-jar PUBLIC "<XDtXml:publicId/>" "<XDtXml:systemId/>">
and the subtask's execute method has
if (getVersion().equals("6.1") || getVersion().equals("6.0")) {
setPublicId(WEBLOGIC_DD_PUBLICID_61);
setSystemId(WEBLOGIC_DD_SYSTEMID_61);
setDtdURL(getClass().getResource(WEBLOGIC_DTD_FILE_NAME_61));
}
else {
setPublicId(WEBLOGIC_DD_PUBLICID_70);
setSystemId(WEBLOGIC_DD_SYSTEMID_70);
setDtdURL(getClass().getResource(WEBLOGIC_DTD_FILE_NAME_70));
}
so it ought to set them okay when version = "6.0" or "6.1" (which is the default, so
you don't even need to set that).
Also, the samples' build script uses version="6.1", and that generates it correctly
for me. Can you upload a test case (i.e. a build.xml which does not do this)?
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-586
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-586
Summary: weblogic-ejb-jar.xml DTD incorrect for WLS 6.1
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Bea Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Scott Anderson
Created: Tue, 29 Jul 2003 4:45 PM
Updated: Tue, 29 Jul 2003 4:45 PM
Environment: Windows 2000, XDoclet 1.2b3
Description:
When you set the weblogic version to 6.1, the weblogic-ejb-jar.xml file still shows a
DTD of:
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN"
"http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
However, the value "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" is rejected by
WebLogic 6.1 at deployment.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel