The IDataModelOperation extensions framework may be able to help you.  Using the org.eclipse.wst.common.frameworks.OperationExtension point you can register a custom operation(s) to execute before or after the primary operation responsible for export.  You will not, however, be able to replace the primary export operation.  The various export operations are:

org.eclipse.jst.j2ee.internal.archive.operations.AppClientComponentExportOperation
org.eclipse.jst.j2ee.internal.jca.archive.operations.ConnectorComponentExportOperation
org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
org.eclipse.jst.j2ee.internal.ejb.archiveoperations.EJBComponentExportOperation
org.eclipse.jst.j2ee.internal.web.archive.operations.WebComponentExportOperation

There are a few examples in the org.eclipse.wst.common.tests plugin on how to setup an extended operation.  Take a look at the plugin.xml for an example of the extension point.  The testcase you can execute is  org.eclipse.wst.common.frameworks.datamodel.tests.extended.ExtendedOperationTests

Thank you,

Jason A. Sholl
[EMAIL PROTECTED]
919-543-0011 (t/l 441-0011)



"Stoilov, Dimo" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

05/29/2006 12:32 PM

Please respond to
"General discussion of project-wide or architectural issues." <[email protected]>

To
"General discussion of project-wide or architectural issues." <[email protected]>
cc
Subject
[wtp-dev] Export J2EE archive file





Hi all,

We (SAP) are adopting WTP and would like to customize the export J2EE
archive feature, as we have our custom J2EE archive build. Is there any
extension point or some other way to so that when an J2EE archive file
is being exported our buld classes to be invoked.

Best regards,
Dimo
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to