Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315949 - Support Static Weaving through Dali Eclipse Plug-in
Summary: Support Static Weaving through Dali Eclipse Plug-in
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement with 7 votes (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Tran Le CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 06:31 EDT by marco CLA
Modified: 2012-01-26 16:22 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marco CLA 2010-06-07 06:31:17 EDT
Build Identifier: 20100218-1602

I would like to request supporting static weaving by the Dali Plug-In in the build process. I think this would fundamentally ease static weaving, since current methods (e.g., ant task) are quite cumbersome to install - especially in a distributed development environment (or when using a development configuration as described in the forum post referred below).

A similar feature exists for example in the Google Eclipse plug-in for App Engine, where the DataNucleus Enhancer is automatically run after each build. 

This RFE refers to the following discussion in the EL forum
http://www.eclipse.org/forums/index.php?t=msg&th=168938&start=0&



Reproducible: Always
Comment 1 Neil Hauge CLA 2010-06-18 15:37:39 EDT
I'm interested in gauging the level of interest for this feature.  Please comment/vote if you are interested in seeing this feature in Dali.
Comment 2 Tom Eugelink CLA 2010-06-19 11:36:37 EDT
It would make developing in Eclipse a bit easier, since you don't need to specify the javaagent in every run config. When I build the BM jar for distribution I have it statically weaved anyhow.
Comment 3 Rolf Paulsen CLA 2010-06-20 02:39:51 EDT
I would appreciate this feature since we use SAP NetWeaver 7.20 which unforunately does not support dynamic weaving. 
The ant task sometimes is errorprone because of locked files.
Comment 4 Doug Clarke CLA 2010-06-20 21:22:04 EDT
I am also curious if we could simplify the use of the dynamic weaving agent in Java SE where JUnit tests are typically run. If the target environment for the deployed app is Java EE (EJB 3.,0) where dynamic weaving happens by default then the real issue is simplifying the dynamic weaving outside of the container.
Comment 5 Neil Hauge CLA 2010-09-03 12:26:58 EDT
Will look at this for the 3.0 (Indigo) release.
Comment 6 Neil Hauge CLA 2011-10-07 11:51:28 EDT
Targeting to Juno release.
Comment 7 Tran Le CLA 2012-01-26 16:21:04 EST
Implemented in 3.2 M5
Automatic Static Weaving can be added and configured in a JPA project via the project's properties page in JPA > EclipseLink.
For additional enhancement open a new bug as needed.
Comment 8 Tran Le CLA 2012-01-26 16:22:44 EST
Release in 3.2 M5