Home » Eclipse Projects » Virgo » How are bundle jars copied to stage dir?
How are bundle jars copied to stage dir? [message #918617] |
Fri, 21 September 2012 03:11  |
Eclipse User |
|
|
|
Hello all.
I have a couple of bundle jars which, when deployed to Virgo's stage dir automatically, drop all their contents except the META-INF directory.
What could be the cause of that? What is the mechanism that does that copying over and creating the special dir structure in stage?
I have to add that I am still running Virgo 3.0.0.RELEASE, unfortunately.
TIA,
B.
[Updated on: Fri, 21 September 2012 03:12] by Moderator
|
|
| | | | |
Re: How are bundle jars copied to stage dir? [message #937968 is a reply to message #937847] |
Tue, 09 October 2012 08:22   |
Eclipse User |
|
|
|
This is what the generated MANIFEST.MF looks like, maybe you can spot the problem. Funny thing is, I am having this issue for all bundles that wrap non-OSGi jar dependencies.
Manifest-Version: 1
Bnd-LastModified: 1349686464562
Build-Jdk: 1.6.0_24
Built-By: rosib
Bundle-Description: This OSGi bundle simply wraps wt-springrest-intf-2.4
.1.jar artifact.
Bundle-DocURL: http://www.iggroup.com
Bundle-ManifestVersion: 2
Bundle-Name: com.iggroup.wb.core.wt.springrest.intf
Bundle-SymbolicName: com.iggroup.wb.core.wt.springrest.intf
Bundle-Vendor: IG Index
Bundle-Version: 1.10.0.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
Export-Package: uk.co.igindex.springrest.client;uses:="org.apache.common
s.logging,org.apache.http.params,org.apache.commons.io,org.apache.http.
client,org.apache.http.client.methods,org.apache.http,uk.co.igindex.spr
ingrest.domain,org.apache.http.conn.scheme,javax.net.ssl,org.apache.htt
p.message,uk.co.igindex.springrest.mapping,org.apache.http.conn.params,
org.apache.http.entity,org.springframework.util,org.apache.http.conn.ss
l,org.apache.http.client.utils,org.apache.http.conn,org.apache.http.imp
l.client,org.apache.http.impl.conn.tsccm";version="1.10.0.SNAPSHOT",uk.
co.igindex.springrest.domain;uses:="uk.co.igindex.springrest.mapping,or
g.apache.commons.lang.builder,org.apache.commons.lang";version="1.10.0.
SNAPSHOT",uk.co.igindex.springrest.mapping;uses:="uk.co.igindex.springr
est.domain";version="1.10.0.SNAPSHOT"
Ignore-Package: uk.co.igindex.commons.log.rule
Import-Package: javax.net.ssl,org.apache.commons.io;version="[1.4,2)",or
g.apache.commons.lang;version="[2.4,3)",org.apache.commons.lang.builder
;version="[2.4,3)",org.apache.commons.logging;version="[1.1,2)",org.apa
che.http;version="[4.1,5)",org.apache.http.client;version="[4.1,5)",org
.apache.http.client.methods;version="[4.1,5)",org.apache.http.client.ut
ils;version="[4.1,5)",org.apache.http.conn;version="[4.1,5)",org.apache
.http.conn.params;version="[4.1,5)",org.apache.http.conn.scheme;version
="[4.1,5)",org.apache.http.conn.ssl;version="[4.1,5)",org.apache.http.e
ntity;version="[4.1,5)",org.apache.http.impl.client;version="[4.1,5)",o
rg.apache.http.impl.conn.tsccm;version="[4.1,5)",org.apache.http.messag
e;version="[4.1,5)",org.apache.http.params;version="[4.1,5)",org.spring
framework.util;version="[3.0,4)"
Tool: Bnd-1.43.0
Thanks,
B.
|
|
| |
Re: How are bundle jars copied to stage dir? [message #1258497 is a reply to message #1236918] |
Thu, 27 February 2014 07:52  |
Eclipse User |
|
|
|
I had similar issues, the maven-jar-plugin helped me. (I use the virgo bundler plugin too)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
|
|
|
Goto Forum:
Current Time: Thu Apr 24 20:23:22 EDT 2025
Powered by FUDForum. Page generated in 0.03875 seconds
|