{"push_id":718715146,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"85f72b8a9dac990dd082431799722d6c853ca552","before":"91612a6445b68aac2b05bb30b6250f598becd814","commits":[{"sha":"7b545cfd3d33978417bc073b42d53d9c9fff410c","author":{"email":"b1ea47da69e23acd1c4508031bf2e20bd2d68af1@lpphysics.com","name":"Henning Burdack"},"message":"CeylonClassLoader causing NoClassDefFoundError\n\nWhen doing ClassLoader magic like I do in `ceylon.build` (file `ceylon/build/tasks/GatewayClassLoader.java`) the anonymous `Enumeration` class distorts the classloader for the Ant wrapper in ceylon.build.\r\n\r\nThis pull request enables ceylon.build calling Ant calling ceylon-plugin of ceylon-ant.jar\r\n\r\nOtherwise the following error occurs:\r\n```\r\nceylon.build.tasks.ant.AntBuildException \"Error running Ceylon plugin tool (an exception was thrown, run ant with -v parameter to see the exception)\"\r\n        at ceylon.build.tasks.ant.Gateway.buildAntException$priv$(Gateway.ceylon:59)\r\n        at ceylon.build.tasks.ant.Gateway.invoke$canonical$(Gateway.ceylon:96)\r\n        at ceylon.build.tasks.ant.Gateway.invoke(Gateway.ceylon:88)\r\n        at ceylon.build.tasks.ant.AntProject.execute$canonical$(AntProject.ceylon:91)\r\n        at ceylon.build.tasks.ant.AntProject.execute(AntProject.ceylon:86)\r\n        at build.scripts_.scripts(build.ceylon:243)\r\n        at com.redhat.ceylon.compiler.java.runtime.metamodel.AppliedFunction.$call$(AppliedFunction.java:251)\r\n        at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1371)\r\n        at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.apply(Metamodel.java:1646)\r\n        at com.redhat.ceylon.compiler.java.runtime.metamodel.AppliedFunction.apply(AppliedFunction.java:403)\r\n        at com.redhat.ceylon.compiler.java.runtime.metamodel.AppliedFunction.apply(AppliedFunction.java:394)\r\n        at ceylon.build.runner.functionModelToFunction_$1.$call$(goal-annotations.ceylon:87)\r\n        at ceylon.build.engine.executeTask_.executeTask(execution.ceylon:66)\r\n        at ceylon.build.engine.executeGoal_.executeGoal(execution.ceylon:57)\r\n        at ceylon.build.engine.runGoals_.runGoals(execution.ceylon:32)\r\n        at ceylon.build.engine.processGoals_.processGoals(build.ceylon:43)\r\n        at ceylon.build.engine.runEngine_.runEngine(build.ceylon:16)\r\n        at ceylon.build.runner.start_.start(run.ceylon:45)\r\n        at ceylon.build.runner.run_.run(run.ceylon:27)\r\n        at ceylon.build.runner.run_.main(run.ceylon)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at ceylon.modules.api.runtime.SecurityActions.invokeRunInternal(SecurityActions.java:57)\r\n        at ceylon.modules.api.runtime.SecurityActions.invokeRun(SecurityActions.java:48)\r\n        at ceylon.modules.api.runtime.AbstractRuntime.invokeRun(AbstractRuntime.java:110)\r\n        at ceylon.modules.api.runtime.AbstractRuntime.execute(AbstractRuntime.java:176)\r\n        at ceylon.modules.api.runtime.AbstractRuntime.execute(AbstractRuntime.java:160)\r\n        at ceylon.modules.Main.execute(Main.java:69)\r\n        at ceylon.modules.Main.main(Main.java:42)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.jboss.modules.Module.run(Module.java:312)\r\n        at org.jboss.modules.Main.main(Main.java:460)\r\n        at ceylon.modules.bootstrap.CeylonRunTool.run(CeylonRunTool.java:245)\r\n        at com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:390)\r\n        at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:327)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:114)\r\n        at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:41)\r\n        at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:34)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at com.redhat.ceylon.launcher.Bootstrap.run(Bootstrap.java:55)\r\n        at com.redhat.ceylon.launcher.Bootstrap.main(Bootstrap.java:32)\r\nCaused by: ceylon.build.tasks.ant.sealed.SealedAntBuildException: Error running Ceylon plugin tool (an exception was thrown, run ant with -v parameter to see th\r\ne exception)\r\n        at ceylon.build.tasks.ant.sealed.SealedAnt.execute(SealedAnt.java:146)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at ceylon.build.tasks.ant.GatewayCaller.invoke(GatewayCaller.java:65)\r\n        at ceylon.build.tasks.ant.Gateway.invoke$canonical$(Gateway.ceylon:94)\r\n        ... 51 more\r\nCaused by: Error running Ceylon plugin tool (an exception was thrown, run ant with -v parameter to see the exception)\r\n        at com.redhat.ceylon.ant.CeylonAntTask.executeCommandline(CeylonAntTask.java:228)\r\n        at com.redhat.ceylon.ant.CeylonAntTask.execute(CeylonAntTask.java:173)\r\n        at ceylon.build.tasks.ant.sealed.SealedAnt.execute(SealedAnt.java:144)\r\n        ... 57 more\r\nCaused by: java.lang.NoClassDefFoundError: com/redhat/ceylon/launcher/CeylonClassLoader$1\r\n        at com.redhat.ceylon.launcher.CeylonClassLoader.getResources(CeylonClassLoader.java:225)\r\n        at com.redhat.ceylon.common.tool.ServiceToolLoader.getServiceMeta(ServiceToolLoader.java:36)\r\n        at com.redhat.ceylon.common.tool.ServiceToolLoader.toolClassNames(ServiceToolLoader.java:71)\r\n        at com.redhat.ceylon.common.tool.ToolLoader.getToolClassName(ToolLoader.java:60)\r\n        at com.redhat.ceylon.common.tools.CeylonToolLoader.getToolClassName(CeylonToolLoader.java:40)\r\n        at com.redhat.ceylon.common.tool.ToolLoader.loadToolModelMemoised(ToolLoader.java:110)\r\n        at com.redhat.ceylon.common.tool.ToolLoader.loadToolModel(ToolLoader.java:103)\r\n        at com.redhat.ceylon.common.tools.CeylonTool.getToolModel(CeylonTool.java:488)\r\n        at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:323)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:114)\r\n        at com.redhat.ceylon.ant.CeylonAntTask.executeCommandline(CeylonAntTask.java:216)\r\n        ... 59 more\r\n```","distinct":true,"url":"https://api.github.com/repos/ceylon/ceylon-compiler/commits/7b545cfd3d33978417bc073b42d53d9c9fff410c"},{"sha":"85f72b8a9dac990dd082431799722d6c853ca552","author":{"email":"cb72c4d63d62f079d0906f01d581fabfb620abd8@codejive.org","name":"Tako Schotanus"},"message":"Merge pull request #2230 from HenningB/patch-1\n\nCeylonClassLoader causing NoClassDefFoundError","distinct":true,"url":"https://api.github.com/repos/ceylon/ceylon-compiler/commits/85f72b8a9dac990dd082431799722d6c853ca552"}]}