Home > Documentation > Developing > Development environment > Configuring your development environment > Configuring Geronimo Eclipse Plugin to publish POJO projects as Shared Libraries |
Configuring GEP to publish POJO projects as shared library is illustrated using a Web application and adding a POJO project as a dependency. In order to create a new Web project and publish its dependency on a POJO project as shareld library, follow the steps given below:
CurrencyConverterPojo
as the project name and click Finish. (If asked to switch to Java perspective, you may select No).myPackage
as package name, CurrencyConverter
as class name and click Finish.CurrencyConverjer.java
with the contents from CurrencyConverter.java.In Source tab, a dependency on geronimo/sharedlib//car would be added as below:
This is due to a current bug in Geronimo Deployment Plan Editors. Change <sys:groupId> from geronimo to org.apache.geronimo.configs and press Ctrl + S to save the changes.
Use the steps below to verify that the dependency on POJO project is indeed added as a shared library:
HelloWorld.eclipse.jar
is created under <geronimo_home>/var/shared/lib
.Manifest.mf
file in HelloWorld.eclipse.jar
contains the following:
The file path used in the manifest Class-Path may differ based on the location of your workspace directory.
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2013, The Apache Software Foundation, Licensed under ASL 2.0. |