|
Re: Question about setting project bootpath [message #329861 is a reply to message #329847] |
Tue, 08 July 2008 17:10 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
David Whiteman wrote:
> We would like to configure the bootpath for a project in Eclipse. If
> you change the Java build path in the project properties, it will affect
> the ordering of classpathentry elements in the .classpath file. However,
> I can't see any mechanism to specify that a library should be part of
> the runtime bootpath for that project or plugin.
>
> The specific example in our case is that we want the org.apache.xerces
> 2.9 jar from Eclipse to always be in the boot path ahead of the JRE,
> because some JREs include an older implementation of Xerces that will
> not work for us. Can the boot path for a project be configured in the
> project metadata?
It sounds like you're mixing up the build-time and runtime classpaths. A
project controls its build-time classpath (its Build Path in
properties), but the runtime classpath is controlled by a launch
configuration.
I don't think a project could dictate such things about runtime, since
it can't know if other projects are involved in the launch(es) it
participates in.
Eric
|
|
|
|
|
Re: Question about setting project bootpath [message #329999 is a reply to message #329967] |
Fri, 11 July 2008 19:27 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
David Whiteman wrote:
> David Whiteman wrote:
>> Eric Rizzo wrote:
>>> It sounds like you're mixing up the build-time and runtime
>>> classpaths. A project controls its build-time classpath (its Build
>>> Path in properties), but the runtime classpath is controlled by a
>>> launch configuration.
>>>
>>> I don't think a project could dictate such things about runtime,
>>> since it can't know if other projects are involved in the launch(es)
>>> it participates in.
>>>
>>> Eric
>>
>> Thanks for your reply Eric. So what do you do if your plugin requires
>> a library that is at a later revision than one in the JRE? We just
>> want to make sure the Xerces we are bundling is invoked before the
>> backlevel Xerces libraries in the JRE. Is that not possible? When a
>> user installs our plugin into Eclipse, they aren't running a launch
>> configuration.
>>
>> David
>
> Is this the correct newsgroup for questions about classpath, etc.?
If you don't get response, try eclipse.platform.pde or maybe even
eclipse.platform.rcp
I don't know the answer myself, but would like to know. If you decide to
cross-post, please do it as a follow-up to this thread so we all see the
responses.
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03340 seconds