You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/05/21 19:03:17 UTC

[jira] [Commented] (OFBIZ-6317) Missing BIRT libs in eclipse .classpath file

    [ https://issues.apache.org/jira/browse/OFBIZ-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554664#comment-14554664 ] 

Jacques Le Roux commented on OFBIZ-6317:
----------------------------------------

You should better ask or make propositions independently on the dev ML if you expect some feedbak, this said, here we go:
{quote}
It would be beneficial, at least for simple contribution of jira issue fixes, if the default configuration of OFBiz from trunk is runnable as is (in a common development scenario like the above), without the need to modify config files which are under version control (.classpath for example). The alternative could be to not put files under version control, that are related to individual development environments.
{quote}
For the .classpath file I think we prefer to have to add 4 files than all the other ~180 entries...

{quote}
By the way, it would also be nice to have the framework/base/config folder as src in the .classpath file as described in the wiki article above, so that the configuration of an eclipse debug/run target for starting OFBiz in eclipse is done by only selecting the project + start-class and giving some JVM args.
{quote}
I see no problem with that. Note that this way (hot classes) was added long ago by a contributor, and it seems he did not care enough about...


> Missing BIRT libs in eclipse .classpath file
> --------------------------------------------
>
>                 Key: OFBIZ-6317
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6317
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework, specialpurpose/birt
>    Affects Versions: Trunk
>            Reporter: Martin Becker
>            Assignee: Michael Brohl
>            Priority: Minor
>         Attachments: OFBIZ-6317.patch
>
>
> Because of missing JARs from the specialpurpose component birt in the eclipse .classpath file OFBiz could not be startet within eclipse without errors (NoClassDefFoundError while starting birt component).
> With "starting within eclipse" I mean the configuration with hot code replacement like this: https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-debuggingInEclipseHotClasses
> I will provide a patch for the .classpath file with 4 added libs from the specialpurpose/birt/lib folder.
> It would be beneficial, at least for simple contribution of jira issue fixes, if the default configuration of OFBiz from trunk is runnable as is (in a common development scenario like the above), without the need to modify config files which are under version control (.classpath for example). The alternative could be to not put files under version control, that are related to individual development environments.
> By the way, it would also be nice to have the framework/base/config folder as src in the .classpath file as described in the wiki article above, so that the configuration of an eclipse debug/run target for starting OFBiz in eclipse is done by only selecting the project + start-class and giving some JVM args.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)