[forge-issues] [JBoss JIRA] (FORGE-2604) IDEA/Eclipse development - Make it possible to log to log/eventlog

Claus Ibsen (JIRA) issues at jboss.org
Fri Feb 26 03:24:00 EST 2016


    [ https://issues.jboss.org/browse/FORGE-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168743#comment-13168743 ] 

Claus Ibsen commented on FORGE-2604:
------------------------------------

Took me a while to track down that this results.fail in my addon is not logged anywhere, and my command complete with success it says
https://github.com/fabric8io/fabric8-forge/blob/master/addons/camel/src/main/java/io/fabric8/forge/camel/commands/project/ConfigureEndpointPropertiesStep.java#L271

In the IDEA event log all I see is
9:17:17 AM Command executed successfully

With my poor man logger I could see the facet.getResource returned null, and the reason is that the name of the resource was the absolute name and not relative.

> IDEA/Eclipse development - Make it possible to log to log/eventlog
> ------------------------------------------------------------------
>
>                 Key: FORGE-2604
>                 URL: https://issues.jboss.org/browse/FORGE-2604
>             Project: Forge
>          Issue Type: Feature Request
>          Components: UI - API
>    Affects Versions: 3.0.0.CR1
>            Reporter: Claus Ibsen
>            Priority: Critical
>
> Developing forge addons is really painful when developing and testing for GUIs such as IDEA or Eclipse.
> There is no logging or visibility what happens. And logging on IDEA or Eclipse is different, and you as a forge addon developed dont really know where the log files of IDEA/Eclipse are stored and how to log to them. 
> Forge should have an easy API that you can use to
> - log in IDEA/Eclipse log
> - log to custom log file which you can easily configure
> - log to IDEA/Eclipse event log / console.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list