Modello

replace javasource fork with Castor's original source

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Component/s: modello-plugin-java
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

original component is in Castor
need at least CASTOR-2604 to be fixed before we can get Castor's version

Issue Links

Activity

Hide
Ludovic Maître added a comment -

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.

Show
Ludovic Maître added a comment - 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.
Hide
Ludovic Maître added a comment -

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).

Show
Ludovic Maître added a comment - 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).
Hide
Ludovic Maître added a comment -

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)

Show
Ludovic Maître added a comment - 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)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: