[JBoss JIRA] (FORGE-1221) scaffold views template uses backslashes instead of forward slashes
by Gerry Matte (JIRA)
Gerry Matte created FORGE-1221:
----------------------------------
Summary: scaffold views template uses backslashes instead of forward slashes
Key: FORGE-1221
URL: https://issues.jboss.org/browse/FORGE-1221
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.4.1.Final
Environment: Windows
Reporter: Gerry Matte
Priority: Minor
In every generated view page (…
[View More]search.xhtml, create.xhtml, view.xhtml) the file prolog contains a template reference which uses backslashes.
This causes a java.io.FileNotFoundException whenever such a page is displayed.
The template references should contain forward slashes instead of backslashes.
--
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-1215) Switchyard service promotion issues
by R Searls (JIRA)
[ https://issues.jboss.org/browse/FORGE-1215?page=com.atlassian.jira.plugin... ]
R Searls commented on FORGE-1215:
---------------------------------
With the update to 2.0.0.Alpha12 for furnace and forge the call to
project.getFacet(PackagingFacet.class).createBuilder().build(); fails with msg
INFO: < Stopping container [org.switchyard.forge:switchyard-forge-plugin,1.0.0-SNAPSHOT] [/home/rsearls/.windup]
[ERROR] Error executing Maven.
[ERROR] zip file closed
But once this cmd is …
[View More]working again. The issue for the report will be seen.
> Switchyard service promotion issues
> -----------------------------------
>
> Key: FORGE-1215
> URL: https://issues.jboss.org/browse/FORGE-1215
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 2.0.0.Alpha12
> Environment: Fedora 16
> java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Attachments: service-promotion_Alpha12.zip
>
>
> This issue is in the plugin-switchyard code.
> A created service can not be promoted until the service classes are compiled.
> The underlying code does not see the service until it is compile. There is
> code in the generated switchyard maven project pom.xml to introspect class files.
> The generated XML in the switchyard.xml file of a promoted service is not
> correct. A service element as a direct child of composite element is required,
> but is not generated.
> ------- switchyard.xml contents that is generated for a promoted service -----------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
> ------- switchyard.xml contents that is needed for a promoted service --------------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <service name="SimpleListener" promote="SimpleListener">
> <binding.sca/>
> </service>
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
--
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-1215) Switchyard service promotion issues
by R Searls (JIRA)
[ https://issues.jboss.org/browse/FORGE-1215?page=com.atlassian.jira.plugin... ]
R Searls updated FORGE-1215:
----------------------------
Attachment: service-promotion_Alpha12.zip
> Switchyard service promotion issues
> -----------------------------------
>
> Key: FORGE-1215
> URL: https://issues.jboss.org/browse/FORGE-1215
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> …
[View More]Affects Versions: 2.0.0.Alpha12
> Environment: Fedora 16
> java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Attachments: service-promotion_Alpha12.zip
>
>
> This issue is in the plugin-switchyard code.
> A created service can not be promoted until the service classes are compiled.
> The underlying code does not see the service until it is compile. There is
> code in the generated switchyard maven project pom.xml to introspect class files.
> The generated XML in the switchyard.xml file of a promoted service is not
> correct. A service element as a direct child of composite element is required,
> but is not generated.
> ------- switchyard.xml contents that is generated for a promoted service -----------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
> ------- switchyard.xml contents that is needed for a promoted service --------------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <service name="SimpleListener" promote="SimpleListener">
> <binding.sca/>
> </service>
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
--
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-1215) Switchyard service promotion issues
by R Searls (JIRA)
[ https://issues.jboss.org/browse/FORGE-1215?page=com.atlassian.jira.plugin... ]
R Searls updated FORGE-1215:
----------------------------
Attachment: (was: service-promotion.zip)
> Switchyard service promotion issues
> -----------------------------------
>
> Key: FORGE-1215
> URL: https://issues.jboss.org/browse/FORGE-1215
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> …
[View More]Affects Versions: 2.0.0.Alpha12
> Environment: Fedora 16
> java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Attachments: service-promotion_Alpha12.zip
>
>
> This issue is in the plugin-switchyard code.
> A created service can not be promoted until the service classes are compiled.
> The underlying code does not see the service until it is compile. There is
> code in the generated switchyard maven project pom.xml to introspect class files.
> The generated XML in the switchyard.xml file of a promoted service is not
> correct. A service element as a direct child of composite element is required,
> but is not generated.
> ------- switchyard.xml contents that is generated for a promoted service -----------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
> ------- switchyard.xml contents that is needed for a promoted service --------------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <service name="SimpleListener" promote="SimpleListener">
> <binding.sca/>
> </service>
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
--
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: (was: facets-JavaSourceFacet.zip)
> FacetNotFoundException ... JavaSourceFacet on switchYardConfigurator.createServiceTest()
> -----------------------------------------------------------------------------------------
>
> Key: FORGE-1214
> URL: https://issues.jboss.org/browse/FORGE-…
[View More]1214
> 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
>
>
> 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