For some unknown reason, behaviour seems unstable, i.e. if the target is created, the variables seem to be set correctly, but if it already exists, the settings seem to be erroneous. I'll have to investigate that further.  :-/

Regards
P.


Am 04.01.2018 um 13:33 schrieb Peter Nabbefeld:
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: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to