[
https://jira.jboss.org/jira/browse/JBIDE-4268?page=com.atlassian.jira.plu...
]
Dmitry Geraskov updated JBIDE-4268:
-----------------------------------
Attachment: exporter_mergeMethod_patch2.txt
JMerger requires many libraries to run.
They are listed in .classpath.
I customized merger to leave original members (field/method/...) only if they had @my in
the comment before.
Other members will be removed or replaced.
I set default mergeType to MERGE to try it in the ide and it works well, so I am going to
add ui for selection of merge method.
Provide a way to merge files generated by exporters.
-----------------------------------------------------
Key: JBIDE-4268
URL:
https://jira.jboss.org/jira/browse/JBIDE-4268
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Affects Versions: 3.1.0.M1
Reporter: Dmitry Geraskov
Assignee: Max Rydahl Andersen
Priority: Blocker
Fix For: 3.2.next
Attachments: exporter_mergeMethod_patch.txt, exporter_mergeMethod_patch2.txt,
patch.txt, patch2.txt
Now exporter replaces previous file version.
We need to call merging when file which will be generated already exists.
The best place for such injection is ArtifactCollector as developer can easily specify
subclass of this class and set it to exporter.
We need only to provide such API.
I' going to add method merge(...) to ArtifactCollector class and call it when
necessary in template producer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira