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

Bug 133301

Summary: [xdoclet] allow separate xdoclet output folder for generated java source code
Product: [WebTools] WTP EJB Tools Reporter: mark lybarger <mlybarger>
Component: jst.ejbAssignee: jst.ejb <jst.ejb-inbox>
Status: RESOLVED WONTFIX QA Contact: Kaloyan Raev <kaloyan>
Severity: enhancement    
Priority: P3 CC: david_williams, kaloyan
Version: 1.5Keywords: helpwanted
Target Milestone: Future   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
XDoclet template patch for separate folder output (full feature patch source and update site)
none
XDoclet template patch for separate folder output none

Description mark lybarger CLA 2006-03-26 13:48:08 EST
the xdoclet project properties should allow the user to specify a separate output folder for the xdoclet generated source code (remote component interface, home interface, etc).  it'd be nice to keep maintainable java sources in Project/ejbModule or what not, and keep the other generated artifacts in Project/generated or somesuch.
Comment 1 Naci Dai CLA 2006-03-27 03:49:04 EST
Good suggestion. Need to evaluate to see how much work is involved.
Comment 2 David Williams CLA 2006-06-08 15:44:19 EDT
On behalf of Naci, I am doing a "bulk change" to this bug that showed "not fixed", but an "old" target milestone. 

If it anyone knows that this bug *was* in fact fixed, and the bug just not updated, please let us know. 
Comment 3 Naci Dai CLA 2006-06-09 02:44:49 EDT
Retargeting will not be done in 1.5
Comment 4 Naci Dai CLA 2006-08-28 06:09:05 EDT
Planning for 2.0
Comment 5 Loïc Péron CLA 2007-06-06 12:21:54 EDT
Created attachment 70358 [details]
XDoclet template patch for separate folder output (full feature patch source and update site)

Hi,

I made some additions to the XDoclet templates that I would like to share for inclusion. 

1) remove XDoclet generated files before generation, for EJB and EJBClient modules

2) move only XDoclet generated files to EJBClient module

3) take files to move to EJBClient module from ${ejb.module.gen} not ${ejb.module.src}

4) allow to define ${ejb.module.gen} to a separate value from ${ejb.module.src}

Only the 4th item is done in a somewhat hackish way and should be replaced by a full implementation in XDoclet configuration.

I build a feature patch to 'cleanly' deploy my patch through my team. The complete template patch, configuration file for separate folder output (optional), readme, plugin/feature/site source and update site are included in the attachment.
Comment 6 Loïc Péron CLA 2007-06-06 12:23:28 EDT
Created attachment 70359 [details]
XDoclet template patch for separate folder output

Only the patch
Comment 7 Kaloyan Raev CLA 2008-04-09 03:23:41 EDT
Mass reassignment of bugs from Naci to ejb-inbox. 
Comment 8 Kaloyan Raev CLA 2008-04-09 03:27:06 EDT
Mass reassignment of bugs from Naci to ejb-inbox. 
Comment 9 David Williams CLA 2008-04-24 11:52:17 EDT
I'm a bit confused on this one ... have these been applied? If so, please mark as fixed, and set milestone target. 

I'm assuming not applied yet, so am removing the 'contributed' key word, since that should be used, under new conventions, only when the code is in our code base. 

Thanks, 

Comment 10 Kaloyan Raev CLA 2008-04-24 12:00:11 EDT
I have checked in CVS. This patch has not been applied yet.
Comment 11 Kaloyan Raev CLA 2012-11-02 03:40:43 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.