Hi,
finally I found out, the property value of ${plugins.jars} is
home/peter/NetBeansProjects/GFCore/target/classes
As Felix expects jar files only, this leads to an error. I'll have to
filter for jar files only, but this should also be changed in the
corresponding NetBeans project template.
Kind regards
Peter
Am 04.01.2018 um 10:52 schrieb Peter Nabbefeld:
Hello,
I'm currently using nightly build 201712290002. I'm following
http://www.geoforge.org/development/osgi/tutorials/tuto_nb_2.php (with
some modifications, e.g. updated version numbers).
After start, I get the following error message:
[java] org.osgi.framework.BundleException: Unable to resolve
org.geoforge.GFAppli [4](R 4.0): missing requirement
[org.geoforge.GFAppli [4](R 4.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0)))
Unresolved requirements: [[org.geoforge.GFAppli [4](R 4.0)]
osgi.wiring.package;
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0)))]
So I've changed the following line in the POM:
<entry key="felix.auto.start" value="${bundles}
file:modules/${project.build.finalName}.jar"/>
to:
<entry key="felix.auto.start"
value="file\:/home/peter/NetBeansProjects/GFCore/target/classes/
file\:/home/peter/NetBeansProjects/GFCore/target/GFCore-1.0-SNAPSHOT.jar
file\:/home/peter/NetBeansProjects/GFAppli/target/GFAppli-1.0-SNAPSHOT.jar"/>
However, this works only after removal of the target directory for the
first time, second time I'm getting the same error message.
How can I fix this? Or does it have to be fixed in NetBeans?
Kind regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists