siwiwit / model2roo

Automatically exported from code.google.com/p/model2roo
0 stars 0 forks source link

Problem executing roo script #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Design a model with Papyrus.
2. Open the .uml generated file with the default UML editor.
3. Click over and select the Model node.
4. Click on the menu option "Model2Roo - Transform UML to Spring Roo".

What is the expected output? What do you see instead?
I expected the .roo file generated and properly executed.

Obtaining instead the following message:

Generating script for package: Model...
Generating Roo script: Model.roo...
Roo script successfully generated!
Executing Roo script...
The Roo script could not be successfully executed: Cannot run program "roo" (in 
directory 
"/Users/oscarboubou/Documents/workspace-sts-2.7.1.RELEASE/GesConsultor_Roo/src/m
ain/java"): error=2, No such file or directory

What version of the product are you using? On what operating system?
Last Model2Roo version with last STS version.

Please provide any additional information below.

Original issue reported on code.google.com by altairpo...@gmail.com on 22 Aug 2011 at 1:11

GoogleCodeExporter commented 9 years ago
Hi,

Please make sure the Roo executable is available in the command line:

 - Windows users: add %ROO_HOME%\bin to your path
 - *nix users: create a symbolic link to $ROO_HOME/bin/roo.sh (eg sudo ln -s ~/spring-roo-1.x.x/bin/roo.sh /usr/bin/roo)

Best regards

Original comment by jccastrejon on 22 Aug 2011 at 3:35

GoogleCodeExporter commented 9 years ago
After creating the symbolic link Model2Roo executed the .roo script perfectly 
each time.

I'm newbie on Mac.

Thanks!

Original comment by altairpo...@gmail.com on 22 Aug 2011 at 10:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, 

It's good to know it all worked as expected =). I'll look into the other issues 
as soon as I can, but please consider using Ecore diagrams in the meantime, 
support for the Papyrus project is still in the early phases.

Best regards.

Original comment by jccastrejon on 22 Aug 2011 at 10:27