Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Moving a bndrun file causes an IllegalArgumentException when trying to run it #1731

Open
jpchristen opened this issue Jun 21, 2017 · 0 comments
Milestone

Comments

@jpchristen
Copy link

I accidentally created a bndrun file in a package. After I moved it to the right place in the project via drag & drop and tried to run it, the following error occurs:

Status ERROR: bndtools.core code=0 Error initialising bnd launcher java.lang.IllegalArgumentException: Bnd launch target was not specified, or does not exist.
java.lang.IllegalArgumentException: Bnd launch target was not specified, or does not exist.
at bndtools.launch.util.LaunchUtils.getBndProject(LaunchUtils.java:52)
at bndtools.launch.AbstractOSGiLaunchDelegate.buildForLaunch(AbstractOSGiLaunchDelegate.java:52)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

It is still possible to run the file if you start via Run As..., but I think this is very obscure.

@bjhargrave bjhargrave added this to the Someday milestone Jan 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants