Hi all I've got two eclipse-plugin projects: plugin1 and plugin1.test. The latter is obviously in charge of testing plugin1. In order to be able to test plugin1 plugin1.test has been configured to have a dependency on plugin1. Both project-folders are in the same parent-directory. Using mvn org.codehaus.tycho:maven-tycho-plugin:generate-poms in this directory I had the parent-pom file as well as the pom-file for the two projects generated. Running a build in this parent directory works smoothly. But when I try to run the osgi-test using mvn org.codehaus.tycho:maven-osgi-test-plugin:test the test is not performed due to a NullPointerException at org.codehaus.tycho.osgitools.OsgiStateController.getUserProperty(OsgiStateController.java:511)
Note that I've changed the package-type in the pom-file of the plugin1.test project from eclipse-plugin to eclipse-test-plugin. I also made sure that I first built the package and then run the test. If I try to run the test in the project-folder of plugin1.test it fails claiming that there is a unresolved bundle-dependency to plugin1, which indeed is correct. You can test it by yourself using the projects found here http://svn.sonatype.org/m2eclipse/tycho/trunk/tycho-its/projects/tycho98/ http://svn.sonatype.org/m2eclipse/tycho/trunk/tycho-its/projects/tycho98/ . It is exactly the same structure and results in the same error. I tested it using tycho distribution-0.3.0-DEV-1756. Am I doing something wrong, or is it a bug? Any help is highly appreciated! Thank you very much! Regards Sandro -- View this message in context: http://www.nabble.com/Tycho%3A-Unable-to-run-osgi-tests-for-a-group-of-projects-tp20110642p20110642.html Sent from the Maven Eclipse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email