[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: [HOW] Setting ANT_HOME properties in runtime

> 
> Essentially you will need to call
> antPreferences.setAntHomeClasspathEntries(IAntClasspat
> hEntry)
> 

The problem is that AntClasspathEntry (which implements IAntClasspathEntry) is marked as "internal". I would like to avoid  relying on "internal" classes. And as far as I can see there is no other way to create AntClasspathEntry object. 

AntRuntimePreferencePage, the AntClasspathPage and 
the ClasspathModel also use a lot of "internal" structures and functions which are hard to be reused.

Possible solution could be antPreferences.setAntURLs. But it's deprecated. I would like to avoid using deprecated methods.

May be a better solution exists?

Any suggestions would be very appreciated!
Thanks in advance!