Patches item #473189, was opened at 2001-10-20 09:20
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=473189&group_id=31602
Category: ejbdoclet
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Frank Langelage (lafr)
Assigned to: Nobody/Anonymous (nobody)
Summary: correct the wrong file-/class-name gen.
Initial Comment:
Because I want a different naming of the home- an
component-interfaces I used the "pattern"-attribute in
build.xml for "remoteinterface", "localinterface",
"homeinterface" and "localhomeinterface".
But the values specified for the local-tags where used
for the remote-interfaces. local-interfaces where named
as default.
I found the bug in LocalInterfaceSubTask.java and
LocalHomeInterfaceSubTask.java.
The diff of this two files to the current cvs-version
is attached in file diff.txt.
I hope somebody with write-access will take this to
cvs-repository.
----------------------------------------------------------------------
>Comment By: Frank Langelage (lafr)
Date: 2001-10-28 10:44
Message:
Logged In: YES
user_id=300021
In LocalInterfaceSubTask.java and
RemoteInterfaceSubTask.java the meber-variable for storing
the pattern is still protected static.
Static must be deleted here.
Then all patterns specified in ekbdoclet-task are
recognized.
With the current cvs-copy it is necessary the specify at
least entitycmp, session, remoteinterface, localinterface,
homeinterface, localhomeinterface in the same ejbdoclet-task
where deploymentdescriptor is.
With cvs-copy from last week I was able to split this in two
task:
first create sources / interfaces
second create deploymentdescriptors
----------------------------------------------------------------------
Comment By: Frank Langelage (lafr)
Date: 2001-10-28 05:29
Message:
Logged In: YES
user_id=300021
I just updated my cvs-copy of xdoclet.
Interfaces for Home, LocalHome, Local are generated as
wanted.
For Remote I specified pattern="{0}Remote", but source class
is generated as "{0}.java", e.g. Address.java.
Furthermore I now get a new error / exception on running
<deploymentdescriptor/>. An exctract from build.log is
attached.
----------------------------------------------------------------------
Comment By: Dmitri Colebatch (dimc)
Date: 2001-10-28 02:18
Message:
Logged In: YES
user_id=204154
I haven't tested this, but the code appears to be correct.
Could you confirm if it is still broken. thanks.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=473189&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel