Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 117860

Summary: [xdoclet] XDoclet to print which project and runtime its working...
Product: [WebTools] WTP EJB Tools Reporter: Darryl Miles <darryl>
Component: jst.ejbAssignee: jst.ejb <jst.ejb-inbox>
Status: RESOLVED WONTFIX QA Contact: Kaloyan Raev <kaloyan>
Severity: enhancement    
Priority: P3 CC: kaloyan
Version: 0.7.1Keywords: helpwanted
Target Milestone: Future   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Darryl Miles CLA 2005-11-24 04:46:55 EST
Feature Request...

I'd like the console output of xdoclet to print the project name and runtime its working on.  This makes it somewhat easier to correlate the error messages and diagnose problems rather than trying to guess.



My suggestion is to emit a new variable to the build.properties like:

web.project.name=MyProjectName



Then a change the template for tempAnt.xml at the end of the "init" target to include:


...SNIP...
</path>

     <echo>Running XDoclet on project "${web.project.name}" with xdoclet.home=${xdoclet.home}</echo>
   </target>

   <!-- Run EJBDoclet -->
   <target name="webdoclet" depends="init">
...SNIP...


With the new line being the "<echo>....</echo>"


I can provide a patch if this helps move this feature request along, I guess it would be a 2 line patch.
Comment 1 Darryl Miles CLA 2005-11-24 04:51:03 EST
Obviosuly I've not thought up any NLS implications, being english speakng and all, also it would probably help the EJB doclet to have this kind of patch too.

If you want me to do this feature please advise how to go about handling NLS, maybe the whole init message can be prepared inside Eclipse as a new property:

init.message=Running XDoclet on project "MyProjectName" with xdoclet.home=/opt/xdoclet-1.2.3

Then we can use the NLS bundles to allow for other languages.
Comment 2 Kaloyan Raev CLA 2008-04-09 03:21:28 EDT
Mass reassignment of bugs from Naci to ejb-inbox. 
Comment 3 Kaloyan Raev CLA 2012-11-02 03:41:47 EDT
I am closing all tickets related to XDoclet as WON'T FIX, because there is no committer to support this functionality. I can review patches if anyone is willing to contribute.