Bugs item #529784, was opened at 2002-03-14 08:41
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=529784&group_id=31602

Category: ejbdoclet
Group: v1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Vincent Harcq (vharcq)
Summary: Merge Files don't work with 1.1.2.

Initial Comment:
Using XDoclet 1.1.1. I successfully utilized 
the "mergedir" attribute of the
deploymentdescriptor task to merge stuff like 
environment entries etc. into the generated ejb-
jar.xml. After switching to the new 1.1.2. XDoclet 
everything worked fine, except the env entries that 
appeared in my ejb-jar.xml before didn't make it into 
it any longer.

I did not change anything in my build file, the 
specified mergedir with my package structure
is there as before as well as the XML file containing 
the entries to be merged. So why doesn't the merge 
work anymore?

Since I didn't changed anything except than copying 
the new xdoclet.jar in my lib directory I suspect this 
is a bug. BTW, I'm using JDK 1.4 if this is an
issue in this respect.


----------------------------------------------------------------------

Comment By: Chris Mein (chrismein)
Date: 2002-03-19 13:44

Message:
Logged In: YES 
user_id=408027

Dear XDoclet Team

Great product, I'm looking forward to JBoss 3.0 and your 
code being finsihed and updated!

I am getting exactly the same error as described here. I 
have a file called jboss-WarehouseMDB.xml with durable 
topic username and password information. In is in the 
correct directory structure to mirror my package structure. 
The mergedir setting of the deploymentdescriptor tag is 
pointed at the right location.

In fact no changes from my xdoclet-1.1.1 setup. But with 
1.1.2 it no longer merges the files. It picks up other 
global merges, like jboss-container.xml but not the class 
specific ones.

Chris

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-03-15 08:49

Message:
Logged In: NO 

XDoclet was looking at the wrong (or right?) directory. 
Fact is I was and am still using package substitution 
<packageSubstitution packages="session" 
substituteWith="interfaces"/> to have the interfaces of my 
session beans in a package placed in an interfaces package. 
However, I didn't change anything else than switching the 
XDoclet version. Putting the env-entries xml file in the 
interfaces directory yields the correct result as I could 
observe from the logs. However, before it worked by having 
the file in the session package. Now this is not a bug, but 
it sure is a change that should be documented somewhere. 


----------------------------------------------------------------------

Comment By: Vincent Harcq (vharcq)
Date: 2002-03-15 08:33

Message:
Logged In: YES 
user_id=125677

I double checked ejb-body.j and there is not change in the 
env-entry part between 1.1.1 and 1.1.2
Can you use for log4j to track this down ?
You need a line 
log4j.category.xdoclet.tags.MergeTagsHandler.merge=DEBUG
in it.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-03-15 08:18

Message:
Logged In: NO 

My file sure looks like you stated and is in the correct 
directory. As I said I did not change anything about my 
project, structure or build file, the only thing I did was 
changing from XDoclet 1.1.1. to XDoclet 1.1.2. by replacing 
the xdoclet.jar in my lib directory which is on the 
classpath and where my build file looks for jars.

----------------------------------------------------------------------

Comment By: Vincent Harcq (vharcq)
Date: 2002-03-14 22:48

Message:
Logged In: YES 
user_id=125677

Does you file looks like ejb-env-entries-{0}.xml where {0} 
is the class name under a subdirectory corresponding to the 
classpath under the value of mergedir ?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=529784&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to