<plugins>
<plugin>
<groupId>net.jangaroo</groupId>
<artifactId>jangaroo-maven-plugin</artifactId>
<extensions>true</extensions>
<version>${jangaroo_version}</version>
<configuration>
<verbose>true</verbose>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Needed for Maven not to fail because we have no web.xml. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven_war_plugin_version}</version>
<configuration>
<webResources>
<resource>
<directory>${project.build.directory}/jangaroo-output</directory>
<targetPath>/</targetPath>
</resource>
<resource>
<directory>${project.build.directory}/classes</directory>
<targetPath>/</targetPath>
</resource>
</webResources>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
Assertion failed: Facet type id 'jangaroo' is already registered
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
at com.intellij.facet.impl.FacetTypeRegistryImpl.registerFacetType(FacetTypeRegistryImpl.java:51)
at com.intellij.facet.impl.FacetTypeRegistryImpl$2.extensionAdded(FacetTypeRegistryImpl.java:103)
at com.intellij.facet.impl.FacetTypeRegistryImpl$2.extensionAdded(FacetTypeRegistryImpl.java:101)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.addExtensionPointListener(ExtensionPointImpl.java:338)
at com.intellij.facet.impl.FacetTypeRegistryImpl.a(FacetTypeRegistryImpl.java:101)
at com.intellij.facet.impl.FacetTypeRegistryImpl.findFacetType(FacetTypeRegistryImpl.java:93)
at com.intellij.dmserver.facet.DMFacetSupportProviderBase.<init>(DMFacetSupportProviderBase.java:28)
at com.intellij.dmserver.facet.DMBundleSupportProvider.<init>(DMBundleSupportProvider.java:65)
at com.intellij.dmserver.facet.DMServerSupportProvider.<init>(DMServerSupportProvider.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:74)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:111)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:241)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:185)
at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:111)
at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:98)
at com.intellij.openapi.extensions.ExtensionPointName.getExtensions(ExtensionPointName.java:48)
at com.intellij.ide.util.frameworkSupport.FrameworkSupportUtil.getAllProviders(FrameworkSupportUtil.java:53)
at com.intellij.ide.util.frameworkSupport.FrameworkSupportUtil.getProviders(FrameworkSupportUtil.java:64)
at com.intellij.ide.util.projectWizard.ProjectWizardStepFactoryImpl.createSupportForFrameworksStep(ProjectWizardStepFactoryImpl.java:139)
at com.intellij.openapi.module.JavaModuleType.createWizardSteps(JavaModuleType.java:84)
at com.intellij.openapi.module.JavaModuleType.createWizardSteps(JavaModuleType.java:36)
at com.intellij.ide.util.projectWizard.ModuleBuilder.createWizardSteps(ModuleBuilder.java:90)
at com.intellij.platform.templates.TemplateModuleBuilder.createWizardSteps(TemplateModuleBuilder.java:89)
at com.intellij.ide.util.newProjectWizard.StepSequence.addStepsForBuilder(StepSequence.java:59)
at com.intellij.ide.util.newProjectWizard.modes.CreateFromTemplateMode.createSteps(CreateFromTemplateMode.java:119)
at com.intellij.ide.util.newProjectWizard.modes.WizardMode.getSteps(WizardMode.java:51)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.a(AddModuleWizard.java:136)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.<init>(AddModuleWizard.java:78)
at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:73)
at com.intellij.ide.actions.NewProjectAction.actionPerformed(NewProjectAction.java:26)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:169)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:132)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
<baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>
../my-joo-lib/target/classes/META-INF/resources,
target/jangaroo-output,
src/main/webapp
</resourcesAsCSV>Should we need to add one line per lib ?What are the static web resources in that case, the .js files ?
I tried the branch you did but didn't work I then spent hours trying to understand why when I applied the structure from the master, I had errors in my version I was running on a 8086 and not yours on 8080, until I understood Chrome was caching the JS, so, I still had refs from 2.0.6 :P
Btw, something made me weird in the jetty conf :<baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>
../my-joo-lib/target/classes/META-INF/resources,
target/jangaroo-output,
src/main/webapp
</resourcesAsCSV>Should we need to add one line per lib ?What are the static web resources in that case, the .js files ?
I guess I have to reconsider that part...