[JBoss JIRA] (FORGE-1540) Have Project extends MutableFaceted<ProjectFacet> instead of Faceted<ProjectFacet>
by Max Barkley (JIRA)
Max Barkley created FORGE-1540:
----------------------------------
Summary: Have Project extends MutableFaceted<ProjectFacet> instead of Faceted<ProjectFacet>
Key: FORGE-1540
URL: https://issues.jboss.org/browse/FORGE-1540
Project: Forge
Issue Type: Enhancement
Components: Plugin API
Affects Versions: 2.0.0.Final
Reporter: Max Barkley
Priority: Minor
In order to try and uninstall a facet from a project I must check if it is an instance of MutableFaceted and then cast like so:
{code}
if (project instanceof MutableFaceted) {
((MutableFaceted<ProjectFacet>) project).uninstall(someFacet);
}
{code}
But as far as I can tell, every Project implementation implements MutableFaceted, so it would be nice if Project extended MutableFaceted so that I could avoid casting.
Alternatively, if there is a good reason for having Project implementations which are not MutableFaceted, perhaps there could be a MutableProject interface for convenience:
{code}
public interface MutableProject extends Project, MutableFaceted<ProjectFacet> {}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1534) Being able to create transient fields in an entity
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1534?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1534.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.1.Final
(was: 2.x Future)
Resolution: Done
> Being able to create transient fields in an entity
> --------------------------------------------------
>
> Key: FORGE-1534
> URL: https://issues.jboss.org/browse/FORGE-1534
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.0.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.0.1.Final
>
>
> At the moment this is not way to create a transient attribute in an entity. It could be useful to add a {{transient}} parameter to the {{jpa-new-field }} command, like that :
> {code}
> jpa-new-field --named age --typeName int --transient
> {code}
> This would produce :
> {code}
> @Transient
> private int age
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1532) No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin... ]
Antonio Goncalves closed FORGE-1532.
------------------------------------
Resolution: Won't Fix
Due to wildcard import (e.g. import javax.persistence.*)
> No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
> -------------------------------------------------------------------------------------
>
> Key: FORGE-1532
> URL: https://issues.jboss.org/browse/FORGE-1532
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Affects Versions: 1.4.4.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 1.x Future
>
>
> After generating a few entities, I generate REST enpoints with :
> {code}
> rest endpoint-from-entity ~.model.*
> {code}
> And it's ok. Then, I scaffold the JSF pages but I get the following :
> {code}
> [forge144] forge144 $ scaffold setup --scaffoldType faces
> ***SUCCESS*** Installed [forge.spec.cdi] successfully.
> ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
> ***SUCCESS*** Installed [faces] successfully.
> [forge144] forge144 $ scaffold from-entity ~.model.*
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> I get the same if I point to only one entity :
> {code}
> [forge144] forge144 $ scaffold from-entity ~.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> And if I add the full path
> {code}
> [forge144] model $ scaffold from-entity org.test.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1539) Error generating default scaffolding
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1539?page=com.atlassian.jira.plugin... ]
Antonio Goncalves closed FORGE-1539.
------------------------------------
Resolution: Won't Fix
Due to wildcard import (e.g. import javax.persistence.*)
> Error generating default scaffolding
> ------------------------------------
>
> Key: FORGE-1539
> URL: https://issues.jboss.org/browse/FORGE-1539
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.0.0.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> I cannot generate JSF pages from an entity. This is what happens when I do it :
> {code}
> [Musician.java]$ scaffold-generate --targets com.pluralsight.persistence.module07.model.Author
> ***ERROR*** Error generating default scaffolding: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
> {code}
> {code}
> 17:50:51,004 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 1) class org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be immutable, but appears to have a setter method (public void org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
> 17:50:51,010 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 1) Failed to execute [scaffold-generate] due to exception.: java.lang.RuntimeException: Error generating default scaffolding: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
> at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:774)
> at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFrom(FacesScaffoldProvider.java:222)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_da16e6c2-7f13-4b8f-ad13-e107abfb062a.generateFrom(AbstractFacet_$$_javassist_da16e6c2-7f13-4b8f-ad13-e107abfb062a.java)
> at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:63)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_javassist_206fec9e-77af-4da1-83ef-afb4376c2e2f.execute(ScaffoldExecuteGenerationStep_$$_javassist_206fec9e-77af-4da1-83ef-afb4376c2e2f.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:152) [ui-impl-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:149) [ui-impl-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:69) [shell-impl-2.0.0.Final.jar:2.0.0.Final]
> at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:295) [aesh-0.48.jar:0.48]
> at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:41) [aesh-0.48.jar:0.48]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
> Caused by: org.metawidget.inspector.iface.InspectorException: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
> at org.metawidget.inspector.iface.InspectorException.newException(InspectorException.java:45)
> at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.inspectProperties(ForgePropertyStyle.java:141)
> at org.metawidget.inspector.impl.propertystyle.BasePropertyStyle.getUncachedTraits(BasePropertyStyle.java:172)
> at org.metawidget.inspector.impl.BaseTraitStyle.getTraits(BaseTraitStyle.java:126)
> at org.metawidget.inspector.impl.propertystyle.BasePropertyStyle.getProperties(BasePropertyStyle.java:54)
> at org.metawidget.inspector.impl.BaseObjectInspector.getProperties(BaseObjectInspector.java:499)
> at org.metawidget.inspector.impl.BaseObjectInspector.inspectTraits(BaseObjectInspector.java:341)
> at org.metawidget.inspector.impl.BaseObjectInspector.inspectAsDom(BaseObjectInspector.java:243)
> at org.metawidget.inspector.impl.BaseObjectInspector.inspectAsDom(BaseObjectInspector.java:69)
> at org.metawidget.inspector.composite.CompositeInspector.runInspector(CompositeInspector.java:241)
> at org.metawidget.inspector.composite.CompositeInspector.runInspectors(CompositeInspector.java:220)
> at org.metawidget.inspector.composite.CompositeInspector.inspectAsDom(CompositeInspector.java:167)
> at org.metawidget.inspector.composite.CompositeInspector.inspectAsDom(CompositeInspector.java:151)
> at org.metawidget.inspector.composite.CompositeInspector.inspectAsDom(CompositeInspector.java:53)
> at org.metawidget.pipeline.base.BasePipeline.inspectAsDom(BasePipeline.java:344)
> at org.metawidget.statically.StaticMetawidget.inspect(StaticMetawidget.java:332)
> at org.metawidget.statically.StaticMetawidget.write(StaticMetawidget.java:278)
> at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:689)
> ... 26 more
> Caused by: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
> at org.jboss.forge.parser.java.impl.AbstractJavaSource.getImportResolvers(AbstractJavaSource.java:382)
> at org.jboss.forge.parser.java.impl.AbstractJavaSource.resolveType(AbstractJavaSource.java:350)
> at org.jboss.forge.parser.java.impl.MethodImpl.getQualifiedReturnType(MethodImpl.java:238)
> at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.lookupGetters(ForgePropertyStyle.java:203)
> at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.inspectClassProperties(ForgePropertyStyle.java:156)
> at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.inspectProperties(ForgePropertyStyle.java:135)
> ... 42 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1539) Error generating default scaffolding
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1539:
----------------------------------------
Summary: Error generating default scaffolding
Key: FORGE-1539
URL: https://issues.jboss.org/browse/FORGE-1539
Project: Forge
Issue Type: Sub-task
Components: Scaffold
Affects Versions: 2.0.0.Final
Reporter: Antonio Goncalves
Priority: Critical
Fix For: 2.x Future
I cannot generate JSF pages from an entity. This is what happens when I do it :
{code}
[Musician.java]$ scaffold-generate --targets com.pluralsight.persistence.module07.model.Author
***ERROR*** Error generating default scaffolding: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
{code}
{code}
17:50:51,004 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 1) class org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be immutable, but appears to have a setter method (public void org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
17:50:51,010 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 1) Failed to execute [scaffold-generate] due to exception.: java.lang.RuntimeException: Error generating default scaffolding: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:774)
at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFrom(FacesScaffoldProvider.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_da16e6c2-7f13-4b8f-ad13-e107abfb062a.generateFrom(AbstractFacet_$$_javassist_da16e6c2-7f13-4b8f-ad13-e107abfb062a.java)
at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_javassist_206fec9e-77af-4da1-83ef-afb4376c2e2f.execute(ScaffoldExecuteGenerationStep_$$_javassist_206fec9e-77af-4da1-83ef-afb4376c2e2f.java)
at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:152) [ui-impl-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:149) [ui-impl-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:69) [shell-impl-2.0.0.Final.jar:2.0.0.Final]
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:295) [aesh-0.48.jar:0.48]
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:41) [aesh-0.48.jar:0.48]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.metawidget.inspector.iface.InspectorException: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
at org.metawidget.inspector.iface.InspectorException.newException(InspectorException.java:45)
at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.inspectProperties(ForgePropertyStyle.java:141)
at org.metawidget.inspector.impl.propertystyle.BasePropertyStyle.getUncachedTraits(BasePropertyStyle.java:172)
at org.metawidget.inspector.impl.BaseTraitStyle.getTraits(BaseTraitStyle.java:126)
at org.metawidget.inspector.impl.propertystyle.BasePropertyStyle.getProperties(BasePropertyStyle.java:54)
at org.metawidget.inspector.impl.BaseObjectInspector.getProperties(BaseObjectInspector.java:499)
at org.metawidget.inspector.impl.BaseObjectInspector.inspectTraits(BaseObjectInspector.java:341)
at org.metawidget.inspector.impl.BaseObjectInspector.inspectAsDom(BaseObjectInspector.java:243)
at org.metawidget.inspector.impl.BaseObjectInspector.inspectAsDom(BaseObjectInspector.java:69)
at org.metawidget.inspector.composite.CompositeInspector.runInspector(CompositeInspector.java:241)
at org.metawidget.inspector.composite.CompositeInspector.runInspectors(CompositeInspector.java:220)
at org.metawidget.inspector.composite.CompositeInspector.inspectAsDom(CompositeInspector.java:167)
at org.metawidget.inspector.composite.CompositeInspector.inspectAsDom(CompositeInspector.java:151)
at org.metawidget.inspector.composite.CompositeInspector.inspectAsDom(CompositeInspector.java:53)
at org.metawidget.pipeline.base.BasePipeline.inspectAsDom(BasePipeline.java:344)
at org.metawidget.statically.StaticMetawidget.inspect(StaticMetawidget.java:332)
at org.metawidget.statically.StaticMetawidget.write(StaticMetawidget.java:278)
at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:689)
... 26 more
Caused by: java.lang.IllegalStateException: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath.
at org.jboss.forge.parser.java.impl.AbstractJavaSource.getImportResolvers(AbstractJavaSource.java:382)
at org.jboss.forge.parser.java.impl.AbstractJavaSource.resolveType(AbstractJavaSource.java:350)
at org.jboss.forge.parser.java.impl.MethodImpl.getQualifiedReturnType(MethodImpl.java:238)
at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.lookupGetters(ForgePropertyStyle.java:203)
at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.inspectClassProperties(ForgePropertyStyle.java:156)
at org.jboss.forge.addon.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle.inspectProperties(ForgePropertyStyle.java:135)
... 42 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1532) No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1532:
-------------------------------------
Affects Version/s: 1.4.4.Final
(was: 2.0.0.Final)
> No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
> -------------------------------------------------------------------------------------
>
> Key: FORGE-1532
> URL: https://issues.jboss.org/browse/FORGE-1532
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Affects Versions: 1.4.4.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> After generating a few entities, I generate REST enpoints with :
> {code}
> rest endpoint-from-entity ~.model.*
> {code}
> And it's ok. Then, I scaffold the JSF pages but I get the following :
> {code}
> [forge144] forge144 $ scaffold setup --scaffoldType faces
> ***SUCCESS*** Installed [forge.spec.cdi] successfully.
> ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
> ***SUCCESS*** Installed [faces] successfully.
> [forge144] forge144 $ scaffold from-entity ~.model.*
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> I get the same if I point to only one entity :
> {code}
> [forge144] forge144 $ scaffold from-entity ~.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> And if I add the full path
> {code}
> [forge144] model $ scaffold from-entity org.test.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1532) No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1532:
-------------------------------------
Fix Version/s: 2.x Future
(was: 1.x Future)
> No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
> -------------------------------------------------------------------------------------
>
> Key: FORGE-1532
> URL: https://issues.jboss.org/browse/FORGE-1532
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> After generating a few entities, I generate REST enpoints with :
> {code}
> rest endpoint-from-entity ~.model.*
> {code}
> And it's ok. Then, I scaffold the JSF pages but I get the following :
> {code}
> [forge144] forge144 $ scaffold setup --scaffoldType faces
> ***SUCCESS*** Installed [forge.spec.cdi] successfully.
> ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
> ***SUCCESS*** Installed [faces] successfully.
> [forge144] forge144 $ scaffold from-entity ~.model.*
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> I get the same if I point to only one entity :
> {code}
> [forge144] forge144 $ scaffold from-entity ~.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> And if I add the full path
> {code}
> [forge144] model $ scaffold from-entity org.test.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1532) No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1532:
-------------------------------------
Fix Version/s: 1.x Future
(was: 2.x Future)
> No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
> -------------------------------------------------------------------------------------
>
> Key: FORGE-1532
> URL: https://issues.jboss.org/browse/FORGE-1532
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Affects Versions: 1.4.4.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 1.x Future
>
>
> After generating a few entities, I generate REST enpoints with :
> {code}
> rest endpoint-from-entity ~.model.*
> {code}
> And it's ok. Then, I scaffold the JSF pages but I get the following :
> {code}
> [forge144] forge144 $ scaffold setup --scaffoldType faces
> ***SUCCESS*** Installed [forge.spec.cdi] successfully.
> ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
> ***SUCCESS*** Installed [faces] successfully.
> [forge144] forge144 $ scaffold from-entity ~.model.*
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> I get the same if I point to only one entity :
> {code}
> [forge144] forge144 $ scaffold from-entity ~.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> And if I add the full path
> {code}
> [forge144] model $ scaffold from-entity org.test.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1532) No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1532:
-------------------------------------
Priority: Critical (was: Major)
> No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
> -------------------------------------------------------------------------------------
>
> Key: FORGE-1532
> URL: https://issues.jboss.org/browse/FORGE-1532
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Affects Versions: 1.4.4.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 1.x Future
>
>
> After generating a few entities, I generate REST enpoints with :
> {code}
> rest endpoint-from-entity ~.model.*
> {code}
> And it's ok. Then, I scaffold the JSF pages but I get the following :
> {code}
> [forge144] forge144 $ scaffold setup --scaffoldType faces
> ***SUCCESS*** Installed [forge.spec.cdi] successfully.
> ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
> ***SUCCESS*** Installed [faces] successfully.
> [forge144] forge144 $ scaffold from-entity ~.model.*
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> I get the same if I point to only one entity :
> {code}
> [forge144] forge144 $ scaffold from-entity ~.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> And if I add the full path
> {code}
> [forge144] model $ scaffold from-entity org.test.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1532) No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1532:
-------------------------------------
Affects Version/s: 2.0.0.Final
(was: 1.4.4.Final)
> No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*
> -------------------------------------------------------------------------------------
>
> Key: FORGE-1532
> URL: https://issues.jboss.org/browse/FORGE-1532
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 1.x Future
>
>
> After generating a few entities, I generate REST enpoints with :
> {code}
> rest endpoint-from-entity ~.model.*
> {code}
> And it's ok. Then, I scaffold the JSF pages but I get the following :
> {code}
> [forge144] forge144 $ scaffold setup --scaffoldType faces
> ***SUCCESS*** Installed [forge.spec.cdi] successfully.
> ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
> ***SUCCESS*** Installed [faces] successfully.
> [forge144] forge144 $ scaffold from-entity ~.model.*
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
> ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> I get the same if I point to only one entity :
> {code}
> [forge144] forge144 $ scaffold from-entity ~.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
> And if I add the full path
> {code}
> [forge144] model $ scaffold from-entity org.test.model.Author.java
> ***INFO*** Using currently installed scaffold [faces]
> ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months