lock [Solved] Cannot package module (in developer's tutorial)

4 years 5 months ago - 4 years 5 months ago #3197 by elcado.net
Hi,

I've been trying to walk through the "Module developer's guide" ( forge.modelio.org/projects/modelio3-modu...-devguide/wiki/Index ) and the "Hello World module" tutorial ( www.modelio.org/tutorials/create-a-hello-world-module.html ) to get a module for Modelio (open source) 3.3.

But I get an error a the packaging step, maven ends on a java.io.FileNotFoundException when trying to reach the zip packaged file.

I provide the whole debug stack trace here:

File Attachment:

File Name: trace-modelio.txt
File Size:83 KB


However the jmdac file is built... but I can't load it in Modelio. Nothing happens (or seems to) when I add it to the "Modules catalog".

Can someone help me ?

Thanks,
Fred

PS: by the way, I'm running on Linux x64
Attachments:
The topic has been locked.
4 years 5 months ago #3198 by ebr
Hi elcado,

Could you zip and share your sources ?

Thanks a lot,

EBR
The topic has been locked.
4 years 5 months ago - 4 years 5 months ago #3207 by elcado.net
Hi,

I rebuilt the project as I tried many times to get it works...

But I still have the same issue with the source enclosed here:

File Attachment:

File Name: jCFModule.zip
File Size:676 KB


Thx !
Attachments:
The topic has been locked.
4 years 4 months ago #3219 by elcado.net
Up :)

Any clue ?
The topic has been locked.
4 years 4 months ago - 4 years 4 months ago #3221 by pan
Hello elcado.net,

I think there is a problem with the archetype for the Modelio 3.3 modules. We will fix it asap.

It is possible to make your module work.
You should modify the module.xml file (which is located on src/main/conf/).
I attached the modified and fixed module.xml

File Attachment:

File Name: module.zip
File Size:1 KB


What we changed:
- We added a missing
<Dependencies/>
tag
- For Command tag, it was missing an attribute modify-model
- It was missing handler for creating some elements :
<Handler class="GenericDiagramCreationHandler">
                    <HParameter name="metaclass" value="ClassDiagram"/>
                    <HParameter name="stereotype" value="stereotype2"/>
                </Handler>
and
<Handler class="GenericElementCreationHandler">
                    <HParameter name="metaclass" value="Class"/>
                    <HParameter name="stereotype" value="stereotype1"/>
                </Handler>

Hope this helps.

BR
Attachments:
The topic has been locked.
4 years 4 months ago #3247 by elcado.net
Hi !

sorry for my late answer...

I will try your proposition asap !

I keep you in touch, thx !
The topic has been locked.
Moderators: tmachmaab
Time to create page: 0.063 seconds
^ Back to Top