|Re: Deployment assembly of projects that include bianry class folders [message #905103 is a reply to message #904955]
||Wed, 29 August 2012 13:35
| Erdal Karaca
Registered: July 2009
I need to have specific functionality as OSGi service AND in a web service.|
I have some more eclipse plugins that are built properly included via deployment assembly.
The only difference seems to be with included binary class folders: they are just ignored.
Larry Isaacs wrote on Wed, 29 August 2012 09:09
On 8/28/2012 1:28 PM, Erdal Karaca wrote:
> I have installed the version that is available through the juno update site:
> I have attached a zip that contains 2 projects:
> - d1: dynamic web project
> - r1: a project created by the pde "Create a plug-in project from existing JAR archives." wizard, I have just picked up a jar in my eclipse plugins directory
> d1 references r1, i.e. its deployment assembly consists of /src, /WebContent and r1.
> d1.war is the result of exporting the d1. It should contain the binary classes set up in r1...
> Roberto Sanchez Herrera wrote on Tue, 28 August 2012 10:13
>> What version of WTP are you using? could you attach a sample project?
Adding runtime dependencies to Dynamic Web Projects is done using the
Deployment Assembly page in the project's Properties dialog. The result
is that the Java content of the project is built into a jar that goes in
the Dynamic Web Project's WEB-INF/lib as <project_name>.jar. Usually
such a "utility" project is done with a standard Java project. I have
never tried it with an Eclipse plug-in project, so I don't know if there
are any side effects of that.
Powered by FUDForum
. Page generated in 0.01859 seconds