|
Re: How to add source lookup to my own launch configuration programmatically [message #556639 is a reply to message #556460] |
Thu, 02 September 2010 07:50   |
Sebastian Messages: 4 Registered: September 2010 |
Junior Member |
|
|
Yesterday I found kind of a "solution" for my problem. It behaves like I want it to but it is still not quite right.
If I tell my working directory that it shouldn't use the default source path by inserting this
workingCopy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_SOURCE_PATH, false);
than Eclipse can find the sources. But in the SourceLookupDialog the projects i added can now be found under "Default". Normaly there would be the rt.jar and so one but they are gone now.
Well now I could add these jar files manually again like I did with my projects but I would like to not touch the Default "folder" and add my projects as new "folders" (by "folders" I mean containers of course).
Perhaps somebody has a nicer solution than me.
Greetings
Sebastian
[Updated on: Thu, 02 September 2010 07:51] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds