Hello there! I'm trying for the last two days build a Eclipse plugin based on the version 1.4.3 of the BND plugin without success!! I figured out that the problem is something related to the MANIFEST.MF file because when I replace the generated one for the created by Eclipse the bundle works. Attached are my pom.xml file and the MANIFEST.MF file created by Eclipse. What is wrong?
Thanks in advance! Thiago Moreira
<!-- Copyright (c) 2005-2008 Floggy Open Source Group. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.sourceforge.floggy</groupId> <artifactId>floggy</artifactId> <version>1.2-SNAPSHOT</version> </parent> <artifactId>eclipse-floggy-plugin</artifactId> <version>1.1.3</version> <packaging>bundle</packaging> <name>Floggy plugin for Eclipse</name> <description>A Floggy plugin for Eclipse.</description> <repositories> <repository> <id>floggy</id> <url>http://floggy.sourceforge.net/repository</url> </repository> </repositories> <scm> <connection>scm:svn:https://floggy.svn.sourceforge.net/svnroot/floggy/trunk/eclipse-floggy-plugin</connection> <developerConnection>scm:svn:https://floggy.svn.sourceforge.net/svnroot/floggy/trunk/eclipse-floggy-plugin</developerConnection> <url>http://floggy.svn.sourceforge.net/viewvc/floggy/trunk/eclipse-floggy-plugin</url> </scm> <dependencies> <dependency> <groupId>jboss</groupId> <artifactId>javassist</artifactId> <version>3.4.ga</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>net.sourceforge.floggy</groupId> <artifactId>floggy-persistence-framework</artifactId> <version>1.1.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>net.sourceforge.floggy</groupId> <artifactId>floggy-persistence-weaver</artifactId> <version>1.1.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jmock</groupId> <artifactId>jmock</artifactId> <version>2.0.0</version> <scope>test</scope> </dependency> </dependencies> <build> <finalName>${pom.groupId}_${pom.version}</finalName> <resources> <resource> <directory>src/images</directory> <targetPath>src/images</targetPath> </resource> <resource> <directory>META-INF</directory> <targetPath>META-INF</targetPath> </resource> <resource> <directory>.</directory> <includes> <include>plugin.xml</include> <include>LICENSE.txt</include> </includes> </resource> </resources> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.3</source> <target>1.3</target> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <unpackBundle>true</unpackBundle> <instructions> <Export-Package>net.*,javassist.*,org.commons.io.*,org.commons.logging.*</Export-Package> <Bundle-SymbolicName>${pom.groupId}; singleton:=true</Bundle-SymbolicName> <Bundle-Activator>${pom.groupId}.eclipse.Activator</Bundle-Activator> <Embed-Dependency>*;scope=compile</Embed-Dependency> <Embed-Directory>lib</Embed-Directory> <Require-Bundle>org.eclipse.ui, org.eclipse.core.runtime, org.eclipse.core.resources, org.eclipse.jdt.core, org.eclipse.ui.console</Require-Bundle> <Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment> <Import-Package>!javax.microedition.rms,!org.apache.log,!org.apache.avalon.*,!net.sourceforge.floggy.eclipse,!org.eclipse.equinox.*,!com.sun.*,*</Import-Package> <Eclipse-LazyStart>true</Eclipse-LazyStart> <Bundle-Localization>plugin</Bundle-Localization> </instructions> </configuration> </plugin> <plugin> <groupId>com.google.code</groupId> <artifactId>maven-license-plugin</artifactId> <configuration> <header>${basedir}/../src/etc/header.txt</header> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId> maven-project-info-reports-plugin </artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <minmemory>128m</minmemory> <maxmemory>512</maxmemory> <stylesheet>maven</stylesheet> <!-- stylesheetfile>css/maven-theme.css</stylesheetfile--> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <configuration> <linkJavadoc>true</linkJavadoc> <javadocDir>/apidocs/</javadocDir> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <!--plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> </plugin--> <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <configuration> <effort>Max</effort> <threshold>Low</threshold> <xlOutput>true</xmlOutput> <xmlOutputDirectory>directory location of xml findbugs report</xmlOutputDirectory> <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> <includeFilterFile>findbugs-include.xml</includeFilterFile> <visitors>FindDeadLocalStores,UnreadFields</visitors> <omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors> <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze> <pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList> <debug>true|false</debug> <relaxed>true|false</relaxed> </configuration> </plugin--> </plugins> </reporting> </project>
Manifest-Version: 1.0 Export-Package: javassist.tools.rmi;uses:="javassist,javassist.tools.w eb",javassist.convert;uses:="javassist.bytecode,javassist",javassist. bytecode;uses:="javassist,javassist.bytecode.annotation",javassist.ut il.proxy;uses:="javassist.bytecode,javassist",javassist;uses:="javass ist.bytecode,javassist.convert,javassist.expr,javassist.bytecode.anno tation,javassist.compiler,javassist.compiler.ast",javassist.expr;uses :="javassist.bytecode,javassist,javassist.compiler,javassist.compiler .ast",javassist.bytecode.annotation;uses:="javassist.bytecode,javassi st",net.sourceforge.floggy.persistence.pool;uses:="javassist,net.sour ceforge.floggy.persistence",javassist.scopedpool;uses:=javassist,java ssist.tools.web;uses:=javassist,javassist.tools;uses:="javassist.byte code",net.sourceforge.floggy.persistence.impl;uses:="javax.microediti on.rms,net.sourceforge.floggy.persistence",javassist.tools.reflect;us es:=javassist,javassist.compiler;uses:="javassist.bytecode,javassist, javassist.compiler.ast",net.sourceforge.floggy.persistence.formatter, javassist.runtime,javassist.util;uses:="com.sun.jdi.request,com.sun.j di.event,com.sun.jdi,com.sun.jdi.connect",net.sourceforge.floggy.pers istence.codegen;uses:="javassist,net.sourceforge.floggy.persistence.f ormatter,net.sourceforge.floggy.persistence",javassist.compiler.ast;u ses:="javassist,javassist.compiler",net.sourceforge.floggy.persistenc e;uses:="javassist,org.apache.tools.ant.types,net.sourceforge.floggy. persistence.pool,net.sourceforge.floggy.persistence.codegen,org.apach e.tools.ant",net.sourceforge.floggy.eclipse;uses:="org.eclipse.core.r untime,javassist,org.eclipse.ui.console,org.eclipse.ui,org.eclipse.ui .plugin,org.eclipse.jface.action,org.eclipse.jdt.core,org.eclipse.cor e.resources,org.eclipse.jface.viewers,org.osgi.framework,org.eclipse. swt.widgets,net.sourceforge.floggy.persistence,org.eclipse.jface.dial ogs" Embed-Directory: lib Private-Package: lib,org.apache.commons.io,org.apache.commons.io.filef ilter,org.apache.commons.io.input,org.apache.commons.io.output,org.ap ache.commons.logging,org.apache.commons.logging.impl,src.images Bundle-ClassPath: .,lib/floggy-persistence-weaver-1.1.1.jar,lib/common s-io-1.2.jar,lib/javassist-3.4.ga.jar,lib/floggy-persistence-framewor k-1.1.1.jar,lib/commons-logging-1.0.4.jar Built-By: tmoreira2020 Tool: Bnd-0.0.255 Bundle-Name: Floggy plugin for Eclipse Bundle-Localization: plugin Created-By: Apache Maven Bundle Plugin Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, org.eclipse. core.resources, org.eclipse.jdt.core, org.eclipse.ui.console Bundle-Vendor: Floggy Open Source Group Eclipse-LazyStart: true Build-Jdk: 1.6.0_07 Bundle-Version: 1.1.3 Bnd-LastModified: 1218692438339 Bundle-Activator: net.sourceforge.floggy.eclipse.Activator Bundle-ManifestVersion: 2 Bundle-Description: A Floggy plugin for Eclipse. Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Embed-Dependency: *;scope=compile Import-Package: com.sun.jdi,com.sun.jdi.connect,com.sun.jdi.event,com. sun.jdi.request,javassist,javassist.bytecode,javassist.bytecode.annot ation,javassist.compiler,javassist.compiler.ast,javassist.convert,jav assist.expr,javassist.runtime,javassist.scopedpool,javassist.tools,ja vassist.tools.reflect,javassist.tools.rmi,javassist.tools.web,javassi st.util,javassist.util.proxy,javax.microedition.rms,net.sourceforge.f loggy.eclipse,net.sourceforge.floggy.persistence,net.sourceforge.flog gy.persistence.codegen,net.sourceforge.floggy.persistence.formatter,n et.sourceforge.floggy.persistence.impl,net.sourceforge.floggy.persist ence.pool,org.apache.avalon.framework.logger,org.apache.log,org.apach e.log4j,org.apache.tools.ant,org.apache.tools.ant.types,org.eclipse.c ore.resources,org.eclipse.core.runtime,org.eclipse.jdt.core,org.eclip se.jface.action,org.eclipse.jface.dialogs,org.eclipse.jface.viewers,o rg.eclipse.swt.widgets,org.eclipse.ui,org.eclipse.ui.console,org.ecli pse.ui.plugin,org.osgi.framework Bundle-SymbolicName: net.sourceforge.floggy; singleton:=true Bundle-DocURL: http://floggy.org/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

