Foros de discusión
Need to include my custom jar into the Module
Kiran R, modificado hace 6 años.
Need to include my custom jar into the Module
Junior Member Mensajes: 37 Fecha de incorporación: 23/10/13 Mensajes recientes
Hi Team,
I have a module and want to include my custom jar into module. For that, I have created a lib directory and included a mycustom.jar in it.
and added the below dependency script in gradle file. There is no compile time errors. but when i deploy module, It's not getting deployed.
Please let me know if anything wrong or missed.
TestModule -->module name and it's sub folders
src/main/java
src/main/resources
lib/mycustom.jar
src
bnd.bnd
build.gradle.
build.gradle:
compile files('lib/mycustom.jar')
runtime files('lib/mycustom.jar')
bnd.bnd:
-includeresource:@mycustom.jar
I have a module and want to include my custom jar into module. For that, I have created a lib directory and included a mycustom.jar in it.
and added the below dependency script in gradle file. There is no compile time errors. but when i deploy module, It's not getting deployed.
Please let me know if anything wrong or missed.
TestModule -->module name and it's sub folders
src/main/java
src/main/resources
lib/mycustom.jar
src
bnd.bnd
build.gradle.
build.gradle:
compile files('lib/mycustom.jar')
runtime files('lib/mycustom.jar')
bnd.bnd:
-includeresource:@mycustom.jar
Andrew Jardine, modificado hace 6 años.
RE: Need to include my custom jar into the Module
Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
Hi Kiran,
Have you see David's post? https://web.liferay.com/web/user.26526/blog/-/blogs/osgi-module-dependencies
Have you see David's post? https://web.liferay.com/web/user.26526/blog/-/blogs/osgi-module-dependencies