felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu" <viola...@gmail.com>
Subject Cann't find file or directory for Bundle-ClassPath
Date Wed, 04 Nov 2009 08:51:15 GMT

I use maven bundle plugin to package bundle, but  
<plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <version>2.0.0</version>
              <extensions>true</extensions>
              <configuration>
                  <instructions>                  	
                     
<Bundle-SymbolicName>${pom.groupId}</Bundle-SymbolicName>
                      <Bundle-Name>${pom.name}</Bundle-Name>
                      <Bundle-Version>${pom.version}</Bundle-Version>
                     
<Bundle-ClassPath>.,lib/commons-modler-2.0.jar</Bundle-ClassPath>            
        
                     
<Bundle-Activator>com.ibm.mbean.info.manager.Activator</Bundle-Activator>
                     
<Private-Package>com.ibm.mbean.info.manager</Private-Package>
                     
<Export-Package>com.ibm.mbean.info.manager.*</Export-Package>
                     
<Import-Package>org.eclipse.osgi.framework.console;version="1.0.0",org
 .osgi.framework;version="1.3.0",org.osgi.service.component;version="1
 .1.0",org.osgi.util.tracker;version="1.3.1"</Import-Package>

<!--<Service-Component>${pom.basedir}/OSGI-INF/*.xml</Service-Component>${pom.basedir}/lib/commons-logging.jar,-->
 
                  </instructions>
              </configuration>
          </plugin>\

But always get an error:
Cann't find a file or directory for Bundle-Classpath entry
:lib/commons-modler-2.0.jar.But it does exist.

Can you somebody give some hints?Thanks.



-- 
View this message in context: http://old.nabble.com/Cann%27t-find-file-or-directory-for-Bundle-ClassPath-tp26192838p26192838.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message