gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GORA-11) Create new Gora-examples module for containing sample code or examples for Gora
Date Mon, 01 Nov 2010 04:55:23 GMT

    [ https://issues.apache.org/jira/browse/GORA-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926822#action_12926822

Enis Soztutar commented on GORA-11:

That was the initial layout of the code back at the early days at github. But we have chosen
to refactor the examples code into each module (http://github.com/enis/gora/issues/closed#issue/31)

The main reasons for that decison was as quoted below: 
Having a separate gora-examples module is very logical and useful for the users. However,
all of the tests for gora-core and the other modules depend on the data structures, and jobs
at gora-examples. Until now, thanks to ivy, we have managed this as follows:
gora-core compile configuration does not depend on anything,
gora-examples compile dependency depends on gora-core
gora-core tests dependency depends on gora-examples.

What seems a cyclic dependency above was resolved by a clever build order among compile and
test dependencies. However, this has proven to be a major source of headaches.

However, a gora-tutorial module is on the way. We can collect the example code, on which no
tests depend, into gora-tutorial. Would that work? 

> Create new Gora-examples module for containing sample code or examples for Gora
> -------------------------------------------------------------------------------
>                 Key: GORA-11
>                 URL: https://issues.apache.org/jira/browse/GORA-11
>             Project: Gora
>          Issue Type: Task
>            Reporter: Henry Saputra
>            Priority: Minor
> I think its a good idea to create new module gora-examples to contain all examples/demo
for Gora instead of putting it inside each scattered inside different components.
> This new module should have examples/demo for all datasource supported by Gora and also
can be used for sanity tests when adding new features.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message