These are chat archives for ceylon/ceylon-ide-eclipse

1st
Mar 2016
Bastien Jansen
@bjansen
Mar 01 2016 08:29 UTC
see, it wasn't that hard ;)
Gavin King
@gavinking
Mar 01 2016 09:53 UTC
so it seems to me that the person complaining about lockups in mars.2 wasn’t wrong
i feel like I’m experiencing that too
on mac
David Festal
@davidfestal
Mar 01 2016 09:54 UTC
I'm just updating to mars.2
Gavin King
@gavinking
Mar 01 2016 09:54 UTC
good idea
David Festal
@davidfestal
Mar 01 2016 09:54 UTC
I'll see :-/
Gavin King
@gavinking
Mar 01 2016 09:54 UTC
yup
David Festal
@davidfestal
Mar 01 2016 09:54 UTC
pff
Gavin King
@gavinking
Mar 01 2016 09:54 UTC
note that this is not a scientific observation
David Festal
@davidfestal
Mar 01 2016 09:54 UTC
anyway, my laptop is globally very slow these days... Don't know why...
so I don't know if i'll even be able to notice the difference !
Gavin King
@gavinking
Mar 01 2016 14:30 UTC
@davidfestal yt?
David Festal
@davidfestal
Mar 01 2016 14:30 UTC
yes, Hi @gavinking
Gavin King
@gavinking
Mar 01 2016 14:31 UTC
oh, forget it
it’s fine
David Festal
@davidfestal
Mar 01 2016 14:31 UTC
OK :-)
Gavin King
@gavinking
Mar 01 2016 15:38 UTC
@davidfestal after I spent hours and hours getting to the point where I could debug the IDE last night
now, this morning, I can’t anymore
lots of class not found exceptions when I run it
David Festal
@davidfestal
Mar 01 2016 15:39 UTC
can you show me the errors ?
Gavin King
@gavinking
Mar 01 2016 15:39 UTC
they’re runtime errors
it can’t find any of the classes in the plugin
org.eclipse.core.runtime.CoreException: Plug-in com.redhat.ceylon.eclipse.ui was unable to load class com.redhat.ceylon.eclipse.ui.CeylonStartup.
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:289)
    at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:120)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.Workbench$56.run(Workbench.java:2852)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException: com.redhat.ceylon.eclipse.ui.CeylonStartup cannot be found by com.redhat.ceylon.eclipse.ui_1.2.2.qualifier
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:573)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    ... 11 more
David Festal
@davidfestal
Mar 01 2016 15:42 UTC
so what is exactly your configuration now ? are you running as before, without bundle-proxies and with the dev plugin installed inside your main eclipse ?
Gavin King
@gavinking
Mar 01 2016 15:42 UTC
as before, no proxies
but this class com.redhat.ceylon.eclipse.ui.CeylonStartup is part of the plugin itself!
David Festal
@davidfestal
Mar 01 2016 15:43 UTC
yeah, that's strange again !
that might be related to your run/debug configuration
what are the plugins enabled in your debug configuration ?
Gavin King
@gavinking
Mar 01 2016 15:45 UTC
the thing is it was working last night
David Festal
@davidfestal
Mar 01 2016 15:45 UTC
I don't see how it can be related to any pushed change
after reinstalling everything from Scratch ?
so you don't have any error in the plugin project, as well as in ceylon-ide-common
?
Gavin King
@gavinking
Mar 01 2016 15:47 UTC
no, no errors
exactly which projects should i have open in the ws?
David Festal
@davidfestal
Mar 01 2016 15:48 UTC
The same as you had before I assume, in your case
com.redhat.ceylon.eclipse.ui
com.redhat.ceylon.eclipse.ui.jdt.debug.fragment
Gavin King
@gavinking
Mar 01 2016 15:49 UTC
yep
David Festal
@davidfestal
Mar 01 2016 15:49 UTC
and ceylon-ide-common
Gavin King
@gavinking
Mar 01 2016 15:49 UTC
i have those two
i don’t have android shit
David Festal
@davidfestal
Mar 01 2016 15:49 UTC
yeah, it's not necessary
Can you still have a look to the plugins tab of the run configuration you're using ?
Gavin King
@gavinking
Mar 01 2016 15:50 UTC
it looks fine to me
David Festal
@davidfestal
Mar 01 2016 15:50 UTC
can you have a look to the CAR module generated by the plugin project ?
Gavin King
@gavinking
Mar 01 2016 15:51 UTC
what file?
that will finally be included inside the Ceylon IDE bundle
just unzip it to try to find the CeylonStartup class
it should be there
Gavin King
@gavinking
Mar 01 2016 15:53 UTC
it is there, with size 578,387
David Festal
@davidfestal
Mar 01 2016 15:53 UTC
but if you open it
with unzip
do you find the CeylonStartup class
that corresponds to your error ?
it should be there
Gavin King
@gavinking
Mar 01 2016 15:55 UTC
him, no, it’s not there
David Festal
@davidfestal
Mar 01 2016 15:55 UTC
that's not normal afaik
and if you run a clean build ?
Gavin King
@gavinking
Mar 01 2016 15:56 UTC
i have done that several times
David Festal
@davidfestal
Mar 01 2016 15:56 UTC
:-(
Gavin King
@gavinking
Mar 01 2016 15:57 UTC
the .class fine is in com.redhat.ceylon.eclipse.ui/target/classes
but it never finds its way into the car
David Festal
@davidfestal
Mar 01 2016 15:58 UTC
which means that the ceylon compiler didn't compile it
this is strange
since the ceylon compiler should generate classes inside the CAR for both Ceylon and Java files of course
try to build it from the command line then
(after cleaning it)
Gavin King
@gavinking
Mar 01 2016 15:59 UTC
building from the command line works fine
but doesn’t help me debug this shit
David Festal
@davidfestal
Mar 01 2016 16:00 UTC
after a command line build, is the CeylonStartup class inside the car ?
if yes you should be able to debug then
Gavin King
@gavinking
Mar 01 2016 16:00 UTC
well, surely, since when i install the plugin it works
David Festal
@davidfestal
Mar 01 2016 16:01 UTC
So it seems this is the workaround
until I fix this (if it is proven as a regression in the build)
I'll check this here also
David Festal
@davidfestal
Mar 01 2016 17:12 UTC
@gavinking : can you open an issue about class files from java files not being added inside the CAR ?
it seems it's a regression about my last abstraction
I'm fixing it
Bastien Jansen
@bjansen
Mar 01 2016 17:35 UTC
I'm also experiencing slowness in Eclipse, during builds
David Festal
@davidfestal
Mar 01 2016 17:36 UTC
with the master plugin ?
Bastien Jansen
@bjansen
Mar 01 2016 17:36 UTC
yes
mars.2
David Festal
@davidfestal
Mar 01 2016 17:36 UTC
yes, but I'm implementing incrementall refactorings that also might (temporarily) slow down things
Bastien Jansen
@bjansen
Mar 01 2016 17:36 UTC
ok
David Festal
@davidfestal
Mar 01 2016 17:37 UTC
As soon as I've released the 1.2.2 IDE (with the non-abstracted build)
it'll be easier to conclude on this point I assume