Bug 17327 - [ExternalTools] Bad jar locations displayed on preference page
Summary: [ExternalTools] Bad jar locations displayed on preference page
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: core, ui
Depends on:
Blocks:
 
Reported: 2002-05-23 10:59 EDT by Adam Schlegel CLA
Modified: 2009-08-30 02:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Schlegel CLA 2002-05-23 10:59:11 EDT
A Jar file can be contributed to Eclipse's Ant via a fragment. Unitl the 
External Tools support was added, this was the only way to add jar files to 
Ant's classpath for both UI and headless execution. It remains the only way to 
add jars for in the headless case, since the  External Tools support is all in 
the UI.

Jars added in this manner have are listed with an incorrect path in the 
External Tools->Ant preference page. The displayed path shows a jar in the 
plugins\org.apache.ant directory, when they really exist in the fragment's 
directory.

Such jars are on the classpath correctly, so Ant scripts that depend on them 
work correctly.

An example fragment.xml that contributes a jar to org.apache.ant in this manner 
is given below.

<?xml version="1.0" encoding="UTF-8"?>
<fragment
   id="org.eclipse.foo"
   name="Foo Fragment"
   version="1.0.0"
   plugin-id="org.apache.ant"
   plugin-version="1.4.1">
<runtime>
   <library name="foo.jar">
      <export name="*"/>
   </library>
</runtime>
</fragment>
Comment 1 Nick Edgar CLA 2002-05-27 22:58:52 EDT
Should use IPluginDescriptor.find.
Comment 2 Darin Swanson CLA 2002-10-31 12:57:15 EST
Setting resolution to later.
Comment 3 Darin Swanson CLA 2004-06-28 16:38:24 EDT
The extraClasspathEntries extension point is the supported means for adding 
JARs to the Ant runtime classpath.
No work planned.
Comment 4 Denis Roy CLA 2009-08-30 02:25:47 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.