EAP 13.x DownloadableLibraryTypeBase - removed?
One of the plugins that I use imports:
import com.intellij.framework.library.DownloadableLibraryTypeBase;
This class doesnt seem to be available in the latest EAP, and attempts to start IntelliJ EAP 13 with such a plugin installed kills the editor on startup.
Was this class removed / replaced?
请先登录再写评论。
This class has been merged into its superclass, DownloadableLibraryType.
Thanks. Any chance the API changes could be listed on the change log - either directly or as a link to somewhere?
The main difficulty with that idea is that there's currently no strict distinction between API and non-API classes.
Please note that formally DownloadableLibraryTypeBase wasn't part of Open API (it is located in idea.jar, not openapi.jar).
--
Nikolay Chashnikov
Software Developer
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"
I've used DownloadableLibraryTypeBase in WicketForge plugin to provide libs for Wicket Framework integration (pretty same way like other jetbrains framework plugins does). I assumed that it's ok to use because the sources are available in community repository. Anyway... I've already released a new version using DownloadableLibraryType. The problem is only, that IDEA crashes at start and stops working (it doesn't just disable the plugin), the user cannot update to the new version and have to remove the plugin manually from {idea.home}/config/plugin/.
I'm afraid that all wicketforge users updating to IDEA 13 will run into this issue and I can't prevent this. :-/
Maybe it's possible to add an deprecated DownloadableLibraryTypeBase extending DownloadableLibraryType (since all code merged into DownloadableLibraryType, there will be only the constructor). Current plugin version will not fail anymore (and also not prevent IDEA from starting). Users can then update to newest version, which directly use DownloadableLibraryType.... Just an idea...
see also http://youtrack.jetbrains.com/issue/IDEA-113844
Ok, I've restored the removed classes.
--
Nikolay Chashnikov
Software Developer
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"
great thanks! this will save a lot of confusion.