[JBoss JIRA] (FORGE-2338) UIProgressMonitor prints 0-based in shell
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2338?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2338:
----------------------------------------
I browsed at the source code and the [] at the end doesn't seem to be placed by the Forge core implementation.
Why do you want the "..." to go away? It seems to fit nicely with the message (it's a running job, not already done).
I am not entirely sure about your last statement. Why not pass the formatted String directly as a subtask name?
> UIProgressMonitor prints 0-based in shell
> -----------------------------------------
>
> Key: FORGE-2338
> URL: https://issues.jboss.org/browse/FORGE-2338
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.15.2.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.16.2.Final
>
>
> UIProgressMonitor prints 0-based in shell
> ***INFO*** Executing Rules: [0/1205] ...
> ***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_1: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [0/1205] ...
> ***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_2: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [1/1205] ...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2338) UIProgressMonitor prints 0-based in shell
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/FORGE-2338?page=com.atlassian.jira.plugin... ]
Ondrej Zizka commented on FORGE-2338:
-------------------------------------
George, what's the [] at the end? And perhaps could the "..." go away? And could the string given to the API be a pattern allowing FQCN, CN, rule ID in custom format?
> UIProgressMonitor prints 0-based in shell
> -----------------------------------------
>
> Key: FORGE-2338
> URL: https://issues.jboss.org/browse/FORGE-2338
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.15.2.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.16.2.Final
>
>
> UIProgressMonitor prints 0-based in shell
> ***INFO*** Executing Rules: [0/1205] ...
> ***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_1: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [0/1205] ...
> ***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_2: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [1/1205] ...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2338) UIProgressMonitor prints 0-based in shell
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2338?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2338.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.16.2.Final
Resolution: Done
> UIProgressMonitor prints 0-based in shell
> -----------------------------------------
>
> Key: FORGE-2338
> URL: https://issues.jboss.org/browse/FORGE-2338
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.15.2.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.16.2.Final
>
>
> UIProgressMonitor prints 0-based in shell
> ***INFO*** Executing Rules: [0/1205] ...
> ***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_1: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [0/1205] ...
> ***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_2: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [1/1205] ...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2338) UIProgressMonitor prints 0-based in shell
by Ondrej Zizka (JIRA)
Ondrej Zizka created FORGE-2338:
-----------------------------------
Summary: UIProgressMonitor prints 0-based in shell
Key: FORGE-2338
URL: https://issues.jboss.org/browse/FORGE-2338
Project: Forge
Issue Type: Bug
Components: UI - Shell
Affects Versions: 2.15.2.Final
Reporter: Ondrej Zizka
Priority: Minor
UIProgressMonitor prints 0-based in shell
***INFO*** Executing Rules: [0/1205] ...
***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_1: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [0/1205] ...
***INFO*** Executing Rules: :GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_2: class org.jboss.windup.config.phase.InitializationPhase - ArchiveIdentificationConfigLoadingRuleProvider [] [1/1205] ...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2337) Make promptBoolean() print the message and assume the default value in shell.
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2337?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2337.
----------------------------------
Fix Version/s: 2.16.2.Final
Resolution: Done
> Make promptBoolean() print the message and assume the default value in shell.
> -----------------------------------------------------------------------------
>
> Key: FORGE-2337
> URL: https://issues.jboss.org/browse/FORGE-2337
> Project: Forge
> Issue Type: Enhancement
> Components: UI - API, UI - Shell
> Affects Versions: 2.15.2.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
> Fix For: 2.16.2.Final
>
>
> Please make prompt() to print the text and assume the default value when INTERACTIVE=false.
> This does nothing if INTERACTIVE=false :
> {code:java}
> @Override
> public Result execute(UIExecutionContext uiExecContext) throws Exception
> {
> uiExecContext.getPrompt().promptBoolean("AAAAA", true);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month