[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
RE: [platform-ant-dev] Apache Ant as feature
 | 
This 
is great news (and makes sense). Then, perhaps, there are some subtle issues in 
the Ant preferences pane. Allow me to describe.
 
I have 
deployed a new version of org.apache.ant (1.5.1). When I bring up the Ant 
preferences pane, the Classpath URLs point to the ant.jar and optional.jar in 
org.apache.ant_1.4.1. However, when I click the 'Restore Defaults' 
button, the URLs are updated to org.apache.ant_1.5.1!
 
So, it 
seems the .metadata/plugins cache of prefs for Ant core are older than the 
defaults, but synchronizing the change is not happening - or am I missing 
something?
 
Thanks 
for your explanations.
 
-Naresh
 
I will answer the questions I can...the rest I would ask 
on eclipse.tools for help from the update committers. - Why does org.eclipse.ant.core keep absolute location paths 
to Ant? Couldn't this be a variable so the org.eclipse.ant.core will just 
utilize the currently running version of the org.apache.ant plugin? 
The absolute references are what is exposed to 
the user.  Underneath, that Ant core preferences will look for the 
org.apache.ant plugin, query that plugin for its runtime libraries (ant.jar, 
optional.jar) and then adds those URLs to the classpath.   
So if you replace the plugin, it should just 
work "automagically". You should not have to update the preferences at 
all. HTH Darins