![]() It's only recently started doing it for me, I think since I updated to 2017.2. JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o ![]() Whenever you make a change to a source file, it seems like you need to build the project again (F9) and the a popup will ask you if you want to reload classes - select yes.Build #RD-171.4456.3271, built on September 4, 2017 You may have to clear $IntelliJ_project_dir/out/production/MySuperCoolPlugin/ folder and rebuild the project. ![]() Turns out the plugin.xml still need to be correct when launching from IntelliJ: class="MySuperCoolPlugin.MySuperCoolPluginMainClass" (or whatever your classname is) and make sure its the correct package structure. I removed it from the MD/plugins and then it didn't load. First of, it looked like the plugin was being loaded from IntelliJ, however it was loaded from the plugins dir ($MD_INSTALL_DIR/plugins/). How to I reload the plugin, so I dont have to restart MD for every change? I've tried in both Run and Debug mode, and rebuilding the plugin and reloading classes. However, when I make changes to code, the plugin in MD isn't reloaded/updated. Okay, so I can now launch MD from IntelliJ with the "MagicDraw with All plugins" run config (both in Run and Debug). If I try to tun the MyPlugin1Test I get the following exception.Ĭode: Select all .CoreException: Plug-in was unable to load class .Īt .(RegistryStrategyOSGI.java:194)Īt .(RegistryStrategyOSGI.java:176)Īt .(ExtensionRegistry.java:905)Īt .(ConfigurationElement.java:243)Īt .(ConfigurationElementHandle.java:55)Īt .(EclipseAppHandle.java:191)Īt .(EclipseAppLauncher.java:134)Īt .(EclipseAppLauncher.java:104)Īt .(EclipseStarter.java:380)Īt .FrameworkLauncher$n(FrameworkLauncher.java:226)Īt .nFrameworkApplication(FrameworkLauncher.java:176)Īt .n(FrameworkLauncher.java:118)Īt .n(FrameworkLauncher.java:92)Īt .n(ProductionFrameworkLauncher.java:70)Īt .ProductionFrameworkLauncher.main(ProductionFrameworkLauncher.java:57)Īt java.base/.invoke0(Native Method)Īt java.base/.invoke(NativeMethodAccessorImpl.java:62)Īt java.base/.invoke(DelegatingMethodAccessorImpl.java:43)Īt java.base/.invoke(Method.java:564)Īt .Launcher.invokeMainMethod(Launcher.java:330)Ĭaused by: : No class loader available for the bundle: _17.08091450 Īt .(EquinoxBundle.java:582)Īt .(RegistryStrategyOSGI.java:174)Īlso, there is no RunConfigurations for MyPlugin1 and MyPlugin2 Forum Newbie Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize support was removed in 8.0Įxception in thread "main" : .ProductionFrameworkLauncherĪt java.base/.loadClass(BuiltinClassLoader.java:582)Īt java.base/$AppClassLoader.loadClass(ClassLoaders.java:185)Īt java.base/(ClassLoader.java:496)Īt java.base/0(Native Method)Īt java.base/(Class.java:375)Īt .Launcher.invokeMainMethod(Launcher.java:328)Īt .Launcher.launchFramework(Launcher.java:323)Īt .Launcher.launch(Launcher.java:113)Īt .Launcher.main(Launcher.java:100) If I try to run the RunConfiguration called MagicDraw with All Plugins i get the following exception:Ĭode: Select all Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize support was removed in 8.0 Posts: 12 Posts Rating:4 Joined: Wed 10:16 am IntelliJ Ultimate 2017.3, MagicDraw 18.5 sp2, OS X 10.12.5 Forum Newbie ![]() What can I do to get it working? (googling, and searching this forum doesn't yield much help) Still doesn't work no run configs are loaded. ipr befor loading it, and manually replacing all occurrences of $ with the path to my MD install dir (/Applications/MagicDraw). My problem is that no Run Configurations are not loaded from the. ipr I've set MAGIC_DRAW_INSTALL_DIRECTORY to /Applications/MagicDraw (in IntelliJ Preferences->Appearance&Behavior->Path Variables) ipr file OK and it loads Command-line, My Plug-in 1, My-plug-in 2 folders (but not all the plugins in $MD_INSTALL_DIR/plugins).īefore opening the. ![]() I'm new to plugin dev, but its nice to see that there are IDE plugins! Unfortunately using the IntelliJ plugin doesn't work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |