[JBoss JIRA] (FORGE-750) DependencyFacet.addXDependency ignores order
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-750?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-750:
----------------------------------
Fix Version/s: 2.x Future
(was: 1.x Future)
> DependencyFacet.addXDependency ignores order
> --------------------------------------------
>
> Key: FORGE-750
> URL: https://issues.jboss.org/browse/FORGE-750
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build Tools - Maven
> Affects Versions: 1.2.0.Final
> Reporter: Aslak Knutsen
> Fix For: 2.x Future
>
>
> When DependencyFacet.addXDependency is called, it first removes the existing Dependency if it exists, then adds the new.
> The problem is the index of the original dependency is lost and the new is just appended. In Maven 3 dependency order matters.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (FORGE-1888) REST resource generation is aborted instead of gracefully failing for unsupported features.
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1888?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1888.
----------------------------------
> REST resource generation is aborted instead of gracefully failing for unsupported features.
> -------------------------------------------------------------------------------------------
>
> Key: FORGE-1888
> URL: https://issues.jboss.org/browse/FORGE-1888
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java EE
> Affects Versions: 2.6.0.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.7.0.Final
>
>
> An exception is reported with the following stack trace when REST resource generation fails for JPA entities with composite keys ({{@EmbeddedId}}:
> {noformat}
> java.lang.RuntimeException: Could not determine @Id field and getter method for @Entity [org.jboss.tools.example.html5.model.FilmActor]. Aborting.
> at org.jboss.forge.addon.javaee.rest.generator.ResourceGeneratorUtil.resolveIdGetterName(ResourceGeneratorUtil.java:145)
> at org.jboss.forge.addon.javaee.rest.generator.impl.EntityBasedResourceGenerator.generateFrom(EntityBasedResourceGenerator.java:56)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.javaee.rest.generator.impl.EntityBasedResourceGenerator_$$_javassist_d10f5401-9972-4f96-ba89-8e8833705b48.generateFrom(EntityBasedResourceGenerator_$$_javassist_d10f5401-9972-4f96-ba89-8e8833705b48.java)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.generateEndpoints(JSONRestResourceFromEntityCommand.java:187)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.execute(JSONRestResourceFromEntityCommand.java:167)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand_$$_javassist_b26e6b41-cbde-47b0-a4a2-7879059dbd3e.execute(JSONRestResourceFromEntityCommand_$$_javassist_b26e6b41-cbde-47b0-a4a2-7879059dbd3e.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:103)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:76)
> at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_be645963-85e1-45bb-bcdb-002e62a409fe.execute(CommandController_$$_javassist_be645963-85e1-45bb-bcdb-002e62a409fe.java)
> at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:90)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (FORGE-1855) Simple Container should support singleton services
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1855?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III reassigned FORGE-1855:
-----------------------------------------
Assignee: Lincoln Baxter III (was: Matej Briskar)
> Simple Container should support singleton services
> --------------------------------------------------
>
> Key: FORGE-1855
> URL: https://issues.jboss.org/browse/FORGE-1855
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Furnace Simple
> Affects Versions: 2.6.0.Final
> Reporter: George Gastaldi
> Assignee: Lincoln Baxter III
> Fix For: 2.7.0.Final
>
>
> In CDI we use @Singleton to make a bean a singleton, however there is no equivalent on the simple container.
> I propose a {{public interface SingletonService extends Service}} that could be checked while creating instances in {{SimpleExportedInstanceImpl}}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (FORGEPLUGINS-164) REST resource generation is aborted instead of gracefully failing for unsupported features.
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-164?page=com.atlassian.jira.... ]
Vineet Reynolds resolved FORGEPLUGINS-164.
------------------------------------------
Resolution: Done
Merged: https://github.com/forge/angularjs-addon/commit/8a2ab255491854d7999c80c44...
The list of JPA entities is filtered for now, to exclude entities with composite keys.
> REST resource generation is aborted instead of gracefully failing for unsupported features.
> -------------------------------------------------------------------------------------------
>
> Key: FORGEPLUGINS-164
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-164
> Project: Forge Plugins
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: AngularJS Scaffold
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
>
> An exception is reported with the following stack trace when REST resource generation fails for JPA entities with composite keys ({{@EmbeddedId}}:
> {noformat}
> java.lang.RuntimeException: Could not determine @Id field and getter method for @Entity [org.jboss.tools.example.html5.model.FilmActor]. Aborting.
> at org.jboss.forge.addon.javaee.rest.generator.ResourceGeneratorUtil.resolveIdGetterName(ResourceGeneratorUtil.java:145)
> at org.jboss.forge.addon.javaee.rest.generator.impl.EntityBasedResourceGenerator.generateFrom(EntityBasedResourceGenerator.java:56)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.javaee.rest.generator.impl.EntityBasedResourceGenerator_$$_javassist_d10f5401-9972-4f96-ba89-8e8833705b48.generateFrom(EntityBasedResourceGenerator_$$_javassist_d10f5401-9972-4f96-ba89-8e8833705b48.java)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.generateEndpoints(JSONRestResourceFromEntityCommand.java:187)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.execute(JSONRestResourceFromEntityCommand.java:167)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand_$$_javassist_b26e6b41-cbde-47b0-a4a2-7879059dbd3e.execute(JSONRestResourceFromEntityCommand_$$_javassist_b26e6b41-cbde-47b0-a4a2-7879059dbd3e.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:103)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:76)
> at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_be645963-85e1-45bb-bcdb-002e62a409fe.execute(CommandController_$$_javassist_be645963-85e1-45bb-bcdb-002e62a409fe.java)
> at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:90)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (FORGE-1888) REST resource generation is aborted instead of gracefully failing for unsupported features.
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1888?page=com.atlassian.jira.plugin... ]
Vineet Reynolds resolved FORGE-1888.
------------------------------------
Fix Version/s: 2.7.0.Final
Resolution: Done
Merged: https://github.com/forge/core/commit/c32d36561442ef3b150e7a44ed86c1f7e6dd...
The list of JPA entities is now filtered to exclude entities with composite keys.
> REST resource generation is aborted instead of gracefully failing for unsupported features.
> -------------------------------------------------------------------------------------------
>
> Key: FORGE-1888
> URL: https://issues.jboss.org/browse/FORGE-1888
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java EE
> Affects Versions: 2.6.0.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.7.0.Final
>
>
> An exception is reported with the following stack trace when REST resource generation fails for JPA entities with composite keys ({{@EmbeddedId}}:
> {noformat}
> java.lang.RuntimeException: Could not determine @Id field and getter method for @Entity [org.jboss.tools.example.html5.model.FilmActor]. Aborting.
> at org.jboss.forge.addon.javaee.rest.generator.ResourceGeneratorUtil.resolveIdGetterName(ResourceGeneratorUtil.java:145)
> at org.jboss.forge.addon.javaee.rest.generator.impl.EntityBasedResourceGenerator.generateFrom(EntityBasedResourceGenerator.java:56)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.javaee.rest.generator.impl.EntityBasedResourceGenerator_$$_javassist_d10f5401-9972-4f96-ba89-8e8833705b48.generateFrom(EntityBasedResourceGenerator_$$_javassist_d10f5401-9972-4f96-ba89-8e8833705b48.java)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.generateEndpoints(JSONRestResourceFromEntityCommand.java:187)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.execute(JSONRestResourceFromEntityCommand.java:167)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand_$$_javassist_b26e6b41-cbde-47b0-a4a2-7879059dbd3e.execute(JSONRestResourceFromEntityCommand_$$_javassist_b26e6b41-cbde-47b0-a4a2-7879059dbd3e.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:103)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:76)
> at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_be645963-85e1-45bb-bcdb-002e62a409fe.execute(CommandController_$$_javassist_be645963-85e1-45bb-bcdb-002e62a409fe.java)
> at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:90)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months