Running JUnit plugin tests for workspace-external projects [message #61061] |
Tue, 12 May 2009 06:36  |
Eclipse User |
|
|
|
Originally posted by: sangamon.netcologne.de
Hi,
I have two plugin projects (the actual plugin and a JUnit plugin test
project) whose physical location is not inside the workspace, i.e. I
imported these projects without copying contents to workspace. Running
the plugin itself from an Eclipse application launch configuration works
fine, but when trying to run the test project, I get something like
Bundle initial@reference:file:../../../../work/git/xplugin/xplugin/ was
not resolved.
This used to work before when the projects were physically located
inside the workspace.
Is there any way to convince the JUnit launcher to accept these external
"links"?
Best regards,
Patrick
|
|
|
|
Re: Running JUnit plugin tests for workspace-external projects [message #61607 is a reply to message #61232] |
Wed, 13 May 2009 17:08  |
Eclipse User |
|
|
|
Originally posted by: sangamon.netcologne.de
Responding to Will Horn:
> Your setup should work fine. I have many plugins and test plugins that are
> external to the workspace and I don't have that problem when running tests.
You're right, the problem was completely unrelated - I had added a new
dependency to the manifest and missed updating the launch configuration.
This coincided with the workspace restructuring, and the error message
led me to believe it was a path related problem. Thanks for your help,
and sorry for the noise.
Best regards,
Patrick
|
|
|
Re: Running JUnit plugin tests for workspace-external projects [message #597318 is a reply to message #61061] |
Tue, 12 May 2009 19:04  |
Eclipse User |
|
|
|
Your setup should work fine. I have many plugins and test plugins that are
external to the workspace and I don't have that problem when running tests.
In the launch configuration for the junit plugin test, check the
"Configuration" tab. That lists the directory where the OSGi configuration
is created. Try clearing that.
If you post more details, maybe I can help further.
"Patrick Roemer" <sangamon@netcologne.de> wrote in message
news:gubjfu$2lr$1@build.eclipse.org...
> Hi,
>
> I have two plugin projects (the actual plugin and a JUnit plugin test
> project) whose physical location is not inside the workspace, i.e. I
> imported these projects without copying contents to workspace. Running
> the plugin itself from an Eclipse application launch configuration works
> fine, but when trying to run the test project, I get something like
>
> Bundle initial@reference:file:../../../../work/git/xplugin/xplugin/ was
> not resolved.
>
> This used to work before when the projects were physically located
> inside the workspace.
>
> Is there any way to convince the JUnit launcher to accept these external
> "links"?
>
> Best regards,
> Patrick
|
|
|
Re: Running JUnit plugin tests for workspace-external projects [message #597424 is a reply to message #61232] |
Wed, 13 May 2009 17:08  |
Eclipse User |
|
|
|
Originally posted by: sangamon.netcologne.de
Responding to Will Horn:
> Your setup should work fine. I have many plugins and test plugins that are
> external to the workspace and I don't have that problem when running tests.
You're right, the problem was completely unrelated - I had added a new
dependency to the manifest and missed updating the launch configuration.
This coincided with the workspace restructuring, and the error message
led me to believe it was a path related problem. Thanks for your help,
and sorry for the noise.
Best regards,
Patrick
|
|
|
Powered by
FUDForum. Page generated in 0.03757 seconds