[JBoss JIRA] (FORGE-2025) Top level package still causes Java package calculation/class generation failures
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-2025:
-----------------------------------------
Summary: Top level package still causes Java package calculation/class generation failures
Key: FORGE-2025
URL: https://issues.jboss.org/browse/FORGE-2025
Project: Forge
Issue Type: Feature Request
Components: Builtin Plugins, Java EE
Affects Versions: 2.10.1.Final
Reporter: Lincoln Baxter III
Priority: Critical
Fix For: 2.x Future
{code}
[Desktop]$ project-new --named forge-test-2
***SUCCESS*** Project named 'forge-test-2' has been created.
[forge-test-2]$ jpa-new-entity --named Speaker
***ERROR*** 2 is not a valid Java identifier.
[forge-test-2]$
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGE-2019) Compilation errors in JDK 1.8.0_20
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2019?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2019:
-----------------------------------
Assignee: (was: George Gastaldi)
> Compilation errors in JDK 1.8.0_20
> ----------------------------------
>
> Key: FORGE-2019
> URL: https://issues.jboss.org/browse/FORGE-2019
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 2.10.1.Final
> Environment: Fedora 20
> java version "1.8.0_20"
> Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
> Reporter: George Gastaldi
> Priority: Blocker
> Fix For: 2.x Future
>
>
> {code}
> [ERROR] /usr/local/workspace/forge-core-2.0/shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java:[89,27] cannot access org.jboss.forge.furnace.container.simple.Service
> class file for org.jboss.forge.furnace.container.simple.Service not found
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project javaee-impl: Compilation failure
> [ERROR] /usr/local/workspace/forge-core-2.0/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java:[42,65] cannot access org.jboss.forge.furnace.container.simple.Service
> [ERROR] class file for org.jboss.forge.furnace.container.simple.Service not found
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGE-2019) Compilation errors in JDK 1.8.0_20
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2019?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2019:
-----------------------------------
Priority: Blocker (was: Major)
> Compilation errors in JDK 1.8.0_20
> ----------------------------------
>
> Key: FORGE-2019
> URL: https://issues.jboss.org/browse/FORGE-2019
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 2.10.1.Final
> Environment: Fedora 20
> java version "1.8.0_20"
> Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Priority: Blocker
> Fix For: 2.x Future
>
>
> {code}
> [ERROR] /usr/local/workspace/forge-core-2.0/shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java:[89,27] cannot access org.jboss.forge.furnace.container.simple.Service
> class file for org.jboss.forge.furnace.container.simple.Service not found
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project javaee-impl: Compilation failure
> [ERROR] /usr/local/workspace/forge-core-2.0/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java:[42,65] cannot access org.jboss.forge.furnace.container.simple.Service
> [ERROR] class file for org.jboss.forge.furnace.container.simple.Service not found
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months
[JBoss JIRA] (FORGE-2021) Forge UI should not call UICommand.validate() if required inputs are not populated
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2021?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2021.
----------------------------------
Fix Version/s: 2.10.2.Final
(was: 2.x Future)
Resolution: Done
> Forge UI should not call UICommand.validate() if required inputs are not populated
> ----------------------------------------------------------------------------------
>
> Key: FORGE-2021
> URL: https://issues.jboss.org/browse/FORGE-2021
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Affects Versions: 2.10.1.Final
> Reporter: Lincoln Baxter III
> Assignee: George Gastaldi
> Fix For: 2.10.2.Final
>
>
> This command:
> {code}public class WindupWizard implements UIWizard, UICommand
> @Inject
> @WithAttributes(label = "Input", required = true, description = "Input File or Directory (a Directory is required for source mode)")
> private UIInput<FileResource<?>> input;
> @Override
> public void validate(UIValidationContext context)
> {
> FileResource<?> inputValue = this.input.getValue();
> File inputFile = inputValue.getUnderlyingResourceObject();
> {code}
> Results in an NPE when the command is called using guided execution:
> {code}
> [Desktop]$ windup-migrate-app
> Exception when parsing/running: windup-migrate-app , null
> [Desktop]$
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 2 months