[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [platform-ant-dev] Apache Ant as feature
- From: "Sikha, Naresh" <Naresh.Sikha@xxxxxxxxxx>
- Date: Thu, 6 Feb 2003 09:26:56 -0800
- Delivered-to: email@example.com
verified with a clean install of Eclipse 2.0.2 that the default preferences for
org.eclipse.ant core are updated appropriately when I install a new version of
have provided us with several options, one of which is 'Reset the default
preferences for Ant, if they currently specifiy Ant 1.4.1'.
don't think I will need to create custom installer code now.
forgot we had a bug in the 2.0 stream where the preferences were persisted in
the default state even if the user had never made any changes. This is fixed in
the 2.1 stream but that doesn't help you.
So if your plan is to provide this for customers before they have ever
used Ant in the workspace (or looked at the preferences) it will work.
Otherwise, it would appear that you will need
to delete the plugin preferences for the org.eclipse.ant.core plugin.
Sent by: platform-ant-dev-admin@xxxxxxxxxxx
02/06/03 10:43 AM
Please respond to platform-ant-dev
RE: [platform-ant-dev] Apache Ant as
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
Thanks for your explanations.
From: Darin Swanson
Sent: Thursday, February 06, 2003
[platform-ant-dev] Apache Ant as feature
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.