[JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugi... ]
George Gastaldi closed ROASTER-124.
-----------------------------------
Resolution: Done
> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
> Key: ROASTER-124
> URL: https://issues.jboss.org/browse/ROASTER-124
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.19.4.Final
> Environment: intelliJ IDEA, MacOS - Sierra
> Reporter: Ondrej Zoricak
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.20.1.Final
>
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
> at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
> at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugi... ]
George Gastaldi commented on ROASTER-124:
-----------------------------------------
I fixed it and it should be available in the next release
> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
> Key: ROASTER-124
> URL: https://issues.jboss.org/browse/ROASTER-124
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.19.4.Final
> Environment: intelliJ IDEA, MacOS - Sierra
> Reporter: Ondrej Zoricak
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.20.1.Final
>
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
> at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
> at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugi... ]
George Gastaldi reopened ROASTER-124:
-------------------------------------
> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
> Key: ROASTER-124
> URL: https://issues.jboss.org/browse/ROASTER-124
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.19.4.Final
> Environment: intelliJ IDEA, MacOS - Sierra
> Reporter: Ondrej Zoricak
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.20.1.Final
>
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
> at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
> at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugi... ]
George Gastaldi updated ROASTER-124:
------------------------------------
Component/s: JDT
(was: API)
> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
> Key: ROASTER-124
> URL: https://issues.jboss.org/browse/ROASTER-124
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.19.4.Final
> Environment: intelliJ IDEA, MacOS - Sierra
> Reporter: Ondrej Zoricak
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.20.1.Final
>
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
> at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
> at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugi... ]
George Gastaldi closed ROASTER-124.
-----------------------------------
Fix Version/s: 2.20.1.Final
Assignee: George Gastaldi
Resolution: Done
> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
> Key: ROASTER-124
> URL: https://issues.jboss.org/browse/ROASTER-124
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.19.4.Final
> Environment: intelliJ IDEA, MacOS - Sierra
> Reporter: Ondrej Zoricak
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.20.1.Final
>
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
> at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
> at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugi... ]
George Gastaldi commented on ROASTER-124:
-----------------------------------------
You need to break into their respective calls instead:
{code:java}
AnnotationSource<?> ann = method.addAnnotation(annotationStructure.getName());
ann.setClassValue("clazz",ComprehensionTool.class);
ann.setStringValue("method","startAnalyse");
{code}
> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
> Key: ROASTER-124
> URL: https://issues.jboss.org/browse/ROASTER-124
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.19.4.Final
> Environment: intelliJ IDEA, MacOS - Sierra
> Reporter: Ondrej Zoricak
> Priority: Critical
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
> at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
> at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (FORGE-2749) Subfolders and files are copied to the destination folder but under same origin folder
by Charles Moulliard (JIRA)
Charles Moulliard created FORGE-2749:
----------------------------------------
Summary: Subfolders and files are copied to the destination folder but under same origin folder
Key: FORGE-2749
URL: https://issues.jboss.org/browse/FORGE-2749
Project: Forge
Issue Type: Enhancement
Reporter: Charles Moulliard
When I run this command within the Forge shell
{code}
cp -r ../../scripts/front/modified src/main/resources/static/
{code}
the folder "modified" is also copied to the destination while in fact we want to copy the files and subfolders under the "origin" folder
{code}
demo/cdfront/src/main/resources/static
demo/cdfront/src/main/resources/static/modified
demo/cdfront/src/main/resources/static/modified/app.html
demo/cdfront/src/main/resources/static/modified/fonts
....
{code}
Is there a trick to copy all the files + subfolders under the folder "modified" only ?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (FORGE-2748) NoUIWizardControllerDecorator class doesn't show the stack trace
by Charles Moulliard (JIRA)
Charles Moulliard created FORGE-2748:
----------------------------------------
Summary: NoUIWizardControllerDecorator class doesn't show the stack trace
Key: FORGE-2748
URL: https://issues.jboss.org/browse/FORGE-2748
Project: Forge
Issue Type: Enhancement
Reporter: Charles Moulliard
The NoUIWizardControllerDecorator class doesn't show the stack trace, if there is an ambiguous dependency and Forge will display on the shell "***ERROR*** Error while moving to the next wizard step"
https://github.com/metacosm/core/blob/master/ui/impl/src/main/java/org/jb...
***ERROR*** Error while moving to the next wizard step
When you debug, you will get this error
{code:java}
java.lang.IllegalStateException: Cannot resolve Ambiguous dependencies: [org.jboss.forge.addon.springboot.commands.jpa.SpringBootJPASetupWizard from addon org.jboss.forge.addon:spring-boot,1.0.0-SNAPSHOT,
org.jboss.forge.addon.javaee.jpa.ui.setup.JPASetupWizardImpl from addon org.jboss.forge.addon:javaee,3.6.2-SNAPSHOT]
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months