Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Adding Deployment Assembly components programmatically
Adding Deployment Assembly components programmatically [message #1704992] Tue, 11 August 2015 09:44
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 190
Registered: January 2012
Senior Member
Hi all,
is there some way to add programmatically components to Project Property page Deployment Assembly?

In the end I would like to add some lines to file
.settings/org.eclipse.wst.common.component
like for example
 <dependent-module archiveName="dom4j-1.6.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/ECLIPSE_HOME/plugins/org.eclipse.m2e.archetype.common_1.6.0.20150526-2031/dom4j-1.6.1.jar">
            <dependency-type>uses</dependency-type>
        </dependent-module>

but wonder if this can be done via some WTP API.

Does anyone ever tried to do this?
TIA
Vincenzo
Previous Topic:Status 404 with BuildJ2EEWebApp WTP tutorial
Next Topic:WPE : Drop location is not properly identified
Goto Forum:
  


Current Time: Mon Jan 22 22:34:18 GMT 2018

Powered by FUDForum. Page generated in 0.01399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software