[JBoss JIRA] (FORGE-1216) FacetNotFoundException, project can not find a facet that was just installed.
by R Searls (JIRA)
[ https://issues.jboss.org/browse/FORGE-1216?page=com.atlassian.jira.plugin... ]
R Searls updated FORGE-1216:
----------------------------
Attachment: (was: facets-SwitchYardFacet.zip)
> FacetNotFoundException, project can not find a facet that was just installed.
> -----------------------------------------------------------------------------
>
> Key: FORGE-1216
> URL: https://issues.jboss.org/browse/FORGE-1216
> …
[View More]Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Environment: Fedora 16
> Java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Priority: Minor
> Attachments: facets-SwitchYardFacet_Alpha12.zip
>
>
> This is occurring in plugin-switchyard code.
> A project object can not find the SwitchYardFacet that was just installed using
> the FacetFactory. The following exception is thrown.
> org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
> 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:92)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:68)
> at org.jboss.forge.addon.projects.AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.getFacet(AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.java)
> at org.jboss.forge.DemoApp.process(DemoApp.java:44)
> at org.jboss.forge.DemoApp.main(DemoApp.java:59)
> Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> ... 11 more
--
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
[View Less]
11 years, 6 months
[JBoss JIRA] (FORGE-1214) FacetNotFoundException ... JavaSourceFacet on switchYardConfigurator.createServiceTest()
by R Searls (JIRA)
[ https://issues.jboss.org/browse/FORGE-1214?page=com.atlassian.jira.plugin... ]
R Searls updated FORGE-1214:
----------------------------
Attachment: facets-JavaSourceFacet-Alpha12.zip
> FacetNotFoundException ... JavaSourceFacet on switchYardConfigurator.createServiceTest()
> -----------------------------------------------------------------------------------------
>
> Key: FORGE-1214
> URL: https://issues.jboss.org/browse/FORGE-1214
…
[View More]> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 2.0.0.Alpha12
> Environment: Fedora 16
> Java 1.7.0_25
> maven 3.1.0
> Reporter: R Searls
> Priority: Minor
> Labels: FacetNotFoundException, JavaSourceFacet, createServiceTest, switchyard
> Attachments: facets-JavaSourceFacet-Alpha12.zip, facets-JavaSourceFacet.zip
>
>
> The offending method is in plugin-switchyard.
> A call to switchYardConfigurator.createServiceTest(project, className, packageName); produces the following exception below.
> org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
> at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
> at org.switchyard.tools.forge.plugin.SwitchYardConfigurator.createServiceTest(SwitchYardConfigurator.java:210)
> 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:52)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
> at org.switchyard.tools.forge.plugin.SwitchYardConfigurator_$$_javassist_f0558708-2813-450d-a3c3-25d5afb55590.createServiceTest(SwitchYardConfigurator_$$_javassist_f0558708-2813-450d-a3c3-25d5afb55590.java)
> 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:92)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:68)
> at org.switchyard.tools.forge.plugin.SwitchYardConfigurator_$$_javassist_c592178f-920d-4d68-962d-2bc6b4a52cde.createServiceTest(SwitchYardConfigurator_$$_javassist_c592178f-920d-4d68-962d-2bc6b4a52cde.java)
> at org.jboss.forge.DemoApp.createService(DemoApp.java:80)
> at org.jboss.forge.DemoApp.processActions(DemoApp.java:60)
> at org.jboss.forge.DemoApp.process(DemoApp.java:32)
> at org.jboss.forge.DemoApp.main(DemoApp.java:92)
> Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
> ... 22 more
--
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
[View Less]
11 years, 6 months
[JBoss JIRA] (FORGE-1216) FacetNotFoundException, project can not find a facet that was just installed.
by R Searls (JIRA)
[ https://issues.jboss.org/browse/FORGE-1216?page=com.atlassian.jira.plugin... ]
R Searls updated FORGE-1216:
----------------------------
Attachment: facets-SwitchYardFacet_Alpha12.zip
This is the proper app to use. The other attachment is obsolete.
> FacetNotFoundException, project can not find a facet that was just installed.
> -----------------------------------------------------------------------------
>
> Key: FORGE-1216
> …
[View More] URL: https://issues.jboss.org/browse/FORGE-1216
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Environment: Fedora 16
> Java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Priority: Minor
> Attachments: facets-SwitchYardFacet.zip, facets-SwitchYardFacet_Alpha12.zip
>
>
> This is occurring in plugin-switchyard code.
> A project object can not find the SwitchYardFacet that was just installed using
> the FacetFactory. The following exception is thrown.
> org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
> 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:92)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:68)
> at org.jboss.forge.addon.projects.AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.getFacet(AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.java)
> at org.jboss.forge.DemoApp.process(DemoApp.java:44)
> at org.jboss.forge.DemoApp.main(DemoApp.java:59)
> Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> ... 11 more
--
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
[View Less]
11 years, 6 months
[JBoss JIRA] (FORGE-1219) --createMain doesn't work with --type war
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1219?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1219.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 1.4.2.Final
Resolution: Done
Fixed
> --createMain doesn't work with --type war
> -----------------------------------------
>
> Key: FORGE-1219
> URL: https://issues.jboss.org/browse/FORGE-1219
> Project: …
[View More]Forge
> Issue Type: Bug
> Affects Versions: 1.4.1.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 1.4.2.Final
>
>
> Hi,
> I'm creating a web app and I would like to have a {{Main}} class. If I do this, the {{Main}} class is not generated
> {code}
> new-project --named test --topLevelPackage org.javaone.javaee7 --type war --createMain --finalName javaone2013
> {code}
> If I take the {{--type war}} out, the {{Main}} class is generated
> {code}
> new-project --named test --topLevelPackage org.javaone.javaee7 --createMain --finalName javaone2013
> {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
[View Less]
11 years, 6 months
[JBoss JIRA] (FORGE-1219) --createMain doesn't work with --type war
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1219?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1219:
-------------------------------------------
Odd... this probably shouldn't even be a feature for --war project types. What would a main class in a WAR be used for? What do you want it to do? :)
> --createMain doesn't work with --type war
> -----------------------------------------
>
> Key: FORGE-1219
> URL:…
[View More] https://issues.jboss.org/browse/FORGE-1219
> Project: Forge
> Issue Type: Bug
> Affects Versions: 1.4.1.Final
> Reporter: Antonio Goncalves
>
> Hi,
> I'm creating a web app and I would like to have a {{Main}} class. If I do this, the {{Main}} class is not generated
> {code}
> new-project --named test --topLevelPackage org.javaone.javaee7 --type war --createMain --finalName javaone2013
> {code}
> If I take the {{--type war}} out, the {{Main}} class is generated
> {code}
> new-project --named test --topLevelPackage org.javaone.javaee7 --createMain --finalName javaone2013
> {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
[View Less]
11 years, 6 months
[JBoss JIRA] (FORGE-1219) --createMain doesn't work with --type war
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1219:
----------------------------------------
Summary: --createMain doesn't work with --type war
Key: FORGE-1219
URL: https://issues.jboss.org/browse/FORGE-1219
Project: Forge
Issue Type: Bug
Affects Versions: 1.4.1.Final
Reporter: Antonio Goncalves
Hi,
I'm creating a web app and I would like to have a {{Main}} class. If I do this, the {{Main}} class is not generated
{code}…
[View More]
new-project --named test --topLevelPackage org.javaone.javaee7 --type war --createMain --finalName javaone2013
{code}
If I take the {{--type war}} out, the {{Main}} class is generated
{code}
new-project --named test --topLevelPackage org.javaone.javaee7 --createMain --finalName javaone2013
{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
[View Less]
11 years, 6 months
[JBoss JIRA] (FORGE-1213) ConfigurableFacets could monitor the config file
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1213?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1213:
-------------------------------------------
All facets could possibly do something like this to maintain that their configuration is up-to-date, but we might want to add a more general feature for this or something later.
> ConfigurableFacets could monitor the config file
> ------------------------------------------------
>
> …
[View More] Key: FORGE-1213
> URL: https://issues.jboss.org/browse/FORGE-1213
> Project: Forge
> Issue Type: Enhancement
> Components: Brainstorming
> Reporter: George Gastaldi
> Priority: Minor
> Fix For: 2.x Future
>
>
> In JavaEE, most of the facets extend ConfigurableFacet, which provides a configuration file. This facet could monitor the configuration file changes to reload the model contents and perhaps even uninstall the facet if the configuration file is gone, for example.
--
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
[View Less]
11 years, 6 months