[jira] Created: (MODELLO-148) replace javasource fork with Castor's original source

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (MODELLO-148) replace javasource fork with Castor's original source

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

replace javasource fork with Castor's original source
-----------------------------------------------------

                 Key: MODELLO-148
                 URL: http://jira.codehaus.org/browse/MODELLO-148
             Project: Modello
          Issue Type: Task
          Components: modello-plugin-java
    Affects Versions: 1.0-beta-1
            Reporter: Herve Boutemy


original component is in [Castor|http://fisheye.codehaus.org/browse/castor/castor/trunk/codegen/src/main/java/org/exolab/javasource]
need at least CASTOR-2604 to be fixed before we can get Castor's version

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MODELLO-148) replace javasource fork with Castor's original source

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MODELLO-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184689#action_184689 ]

Ludovic Maître commented on MODELLO-148:
----------------------------------------

Hi Hervé, all,

I've looked at this too because i find it would be better to integrate the JavaSource package of Castor (old good days, i haven't looked at this framework since 2002 :-) ), also it supports methods, and it would be easier for me when i convert UML operations to modello in the argo2modello maven plugin: currently i need to use the code generation framework of ArgoUML to generate my operations and translate them in codeSegment, also it forbid rever engineering (from Modello to UML) of the methods.

I have a bug in JInterface, where the fields are set to null in the constructor and so the JavaSourceTest fail. If i apply my fix of issue CASTOR-2769 and the changes described in my comment in CASTOR-2604 , i think it will be ok. I will update this issue if i find other issues while integrating Castor's framework in Modello.

> replace javasource fork with Castor's original source
> -----------------------------------------------------
>
>                 Key: MODELLO-148
>                 URL: http://jira.codehaus.org/browse/MODELLO-148
>             Project: Modello
>          Issue Type: Task
>          Components: modello-plugin-java
>    Affects Versions: 1.0
>            Reporter: Herve Boutemy
>
> original component is in [Castor|http://fisheye.codehaus.org/browse/castor/castor/trunk/codegen/src/main/java/org/exolab/javasource]
> need at least CASTOR-2604 to be fixed before we can get Castor's version

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MODELLO-148) replace javasource fork with Castor's original source

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MODELLO-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ludovic Maître updated MODELLO-148:
-----------------------------------

    Attachment: integrate_castor.diff

Here is a patch to use Castor instead of the javasource forked package of Modello. It depends on 2 more issues in Castor, which are already patched, and all the tests pass without failure (but there is strange result regarding java 1.5).

> replace javasource fork with Castor's original source
> -----------------------------------------------------
>
>                 Key: MODELLO-148
>                 URL: http://jira.codehaus.org/browse/MODELLO-148
>             Project: Modello
>          Issue Type: Task
>          Components: modello-plugin-java
>    Affects Versions: 1.0
>            Reporter: Herve Boutemy
>         Attachments: integrate_castor.diff
>
>
> original component is in [Castor|http://fisheye.codehaus.org/browse/castor/castor/trunk/codegen/src/main/java/org/exolab/javasource]
> need at least CASTOR-2604 to be fixed before we can get Castor's version

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MODELLO-148) replace javasource fork with Castor's original source

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MODELLO-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184712#action_184712 ]

Ludovic Maître commented on MODELLO-148:
----------------------------------------

I cannot modify the dependencies of this issue it seems but this issue depends also on :
CASTOR-2769 - Cannot add a field to an interface: NPE is thrown due to setting of the _jfields member to null in the constructor
CASTOR-2770 - Cannot have componentized or array members ?
(patches are provided)

> replace javasource fork with Castor's original source
> -----------------------------------------------------
>
>                 Key: MODELLO-148
>                 URL: http://jira.codehaus.org/browse/MODELLO-148
>             Project: Modello
>          Issue Type: Task
>          Components: modello-plugin-java
>    Affects Versions: 1.0
>            Reporter: Herve Boutemy
>         Attachments: integrate_castor.diff
>
>
> original component is in [Castor|http://fisheye.codehaus.org/browse/castor/castor/trunk/codegen/src/main/java/org/exolab/javasource]
> need at least CASTOR-2604 to be fixed before we can get Castor's version

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email