[JBoss JIRA] (FORGE-2386) Introduce UIProvider.isEmbedded()
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2386:
--------------------------------------
Summary: Introduce UIProvider.isEmbedded()
Key: FORGE-2386
URL: https://issues.jboss.org/browse/FORGE-2386
Project: Forge
Issue Type: Enhancement
Components: UI - API
Affects Versions: 2.16.2.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.17.0.Final
This is needed to detect when Forge is being executed embedded in an application (eg: Shell inside IDE Eclipse)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FURNACE-58) Provide default @Deployment if it does not exist
by George Gastaldi (JIRA)
George Gastaldi created FURNACE-58:
--------------------------------------
Summary: Provide default @Deployment if it does not exist
Key: FURNACE-58
URL: https://issues.jboss.org/browse/FURNACE-58
Project: Forge: Furnace
Issue Type: Feature Request
Components: Test Harness
Affects Versions: 2.19.0.Final
Reporter: George Gastaldi
Fix For: 2.x Future
In order to avoid writing the deployment method (considered a boilerplate code) {{FurnaceDeploymentScenarioGenerator}} should generate a default @Deployment if a deployment method is not found.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (FORGE-2184) GenerateDot fails with Maven 3.2.5 and 3.3.3: NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2184?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2184.
----------------------------------
Fix Version/s: (was: 2.14.0.Final)
Resolution: Out of Date
This is fixed in recent Furnace versions
> GenerateDot fails with Maven 3.2.5 and 3.3.3: NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> -------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-2184
> URL: https://issues.jboss.org/browse/FORGE-2184
> Project: Forge
> Issue Type: Bug
> Components: Build Tools - Maven
> Affects Versions: 2.12.1.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
>
> STR:
> Use Maven 3.2.5 and run the generate-dot goal on anything.
> Should give you:
> {code}
> --- furnace-maven-plugin:2.12.1.Final:generate-dot (generate-dot) @ windup-victims ---
> Generating /home/ondra/work/Migration/WindupQuickstarts/victi.ms/target/classes/META-INF/resources/windup-victims-2.0.0-SNAPSHOT.dot
> Exception in thread "pool-5-thread-1" Exception in thread "pool-6-thread-1" Exception in thread "DefaultMetadataResolver-3-1" Exception in thread "DefaultMetadataResolver-3-0" java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (FORGE-2054) UIInput<Boolean> is always defaulted (making requiring it as an input impossible)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2054?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2054.
----------------------------------
Resolution: Won't Fix
Closing it as Won't fix. An enumeration should be used instead
> UIInput<Boolean> is always defaulted (making requiring it as an input impossible)
> ---------------------------------------------------------------------------------
>
> Key: FORGE-2054
> URL: https://issues.jboss.org/browse/FORGE-2054
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.10.1.Final
> Reporter: Jess Sightler
>
> If you set a UIInput<Boolean> as follows:
> @WithAttributes(label = "fake", required = true, description = "just put something")
> It will never require the user to enter a value. This is because the default is "false" even though no default was specified and the field is labelled as required. This should support tri-state booleans, and it should be possible to have a required boolean.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (ROASTER-77) JavaType#isLocalClass() is required to avoid some bugs
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-77?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on ROASTER-77:
----------------------------------------
I believe the appropriate place is JavaClass instead of JavaType. And it should be called {{isLocal()}}
> JavaType#isLocalClass() is required to avoid some bugs
> ------------------------------------------------------
>
> Key: ROASTER-77
> URL: https://issues.jboss.org/browse/ROASTER-77
> Project: Roaster
> Issue Type: Enhancement
> Components: API, JDT, Tests
> Affects Versions: 2.14.0.Final
> Environment: Win 8.1 Pro 64bit, Java 8, Eclipse Mars
> Reporter: Shoji Kuzukami
>
> Although a local class (JSL 14.3. Local Class Declarations) is not fully supported and located in the Roaster, the Roaster library emits a JavaType object corresponds to a local class in some cases. To avoid these not-supported JavaType objects in my application, I introduced an API 'JavaType#isLocalClass()'.
> It's considered that the API will be required even if the local class specification is fully supported in the Roaster. Therefore this introduction of API will not constraint the design of future API.
> Some tests are applied on the API, then the result seems good.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months