Community
Participate
Working Groups
Xdoclet annotated artifacts are not registered in DD xml file. Reproduce: setup xdoclet version 1.2.3 in prefererecnces Java EE > Xdoclet create dynamic web project. Create annotated servlet. or create ejb 1.4 project with xdoclet facet and create xdoclet enterprise bean result no entries in ejb-jar.xml or web.xml are recorded.
Reproduced on Vista as well. The XDoclet Builder just does not execute. Manually calling the Run XDoclet command from the project context menu does not help, too. There is no error in the Error Log.
This problem is because of the recent fix of bug 275741 done in the Platform. We call the LaunchConfigurationType.newInstance() by passing the absolute path of the ant file as name. This is not accepted any more. I will prepare a patch that adapts to this change. There is another issue in the XDoclet Logger classes - the plugin id is wrongly specified and therefore there was no error in the Error Log. I will fix this, too.
Created attachment 161811 [details] patch This patch changes the way the LaunchConfigurationType's name is generated. Instead of the old deprecated generateUniqueLaunchConfigurationNameFrom() we now call the new generateLaunchConfigurationName() that guarantees that the return name is unique and valid.
Committed to HEAD and released to build.
(In reply to comment #2) > This problem is because of the recent fix of bug 275741 done in the Platform. > We call the LaunchConfigurationType.newInstance() by passing the absolute path > of the ant file as name. This is not accepted any more. I will prepare a patch > that adapts to this change. > So ... is this a change in API behavior? Something internal we shouldn't be using anyway? In either case, I bet they'd appreciate knowing about the breaking behavior, so others could be warned?
Yes, this is change in API behavior. I linked this bug to their bug, but I will also write a comment, so they are better notified.