I tried and I found that the first path is
Hi again,
Just a note: this only works for non stub classes. In the case of ArgoUML you should only select classes from all model classes.
To debug:
1. inspect the model
2. Print the following:
(self allModelClasses detect: [:each | each name = 'CPPParser']) self sourceAnchor fileName
This should provide a path like this:
'src/argouml-cpp/src/org/argouml/language/cpp/reveng/CPPParser.java'
3. Now print:
self rootFolder
This should provide a path to the root folder
4. Concatenate the two paths and lookup in the filesystem the file and see what is missing
Cheers,
Doru
"What is more important: To be happy, or to make happy?"
On 21 Jun 2011, at 20:07, Santiago Vidal wrote:
> Hi Doru,
> I also followed your explanation but it didn't work for me neither. After selecting browse->source the screen is empty
> Cheers
> Santiago
>
> 2011/6/21 Tudor Girba <tudor@tudorgirba.com>
> Hi,
>
> What exactly did you do?
>
> One way to do it is like this:
>
> - download the mse file for argouml 0.28.1 and load it in Moose
> http://themoosebook.org/download/ArgoUML-0-28-1.zip
>
> - download and unzip the corresponding sources
> http://argouml-downloads.tigris.org/nonav/argouml-0.28.1/ArgoUML-0.28.1-src.zip
>
> - you should get the following folders
> ArgoUML-0.28.1/
> src/
>
> - select the model in Moose Panel, right click and then Utilities/Set root folder
>
> - point it to the ArgoUML-0.28.1 folder
>
> Cheers,
> Doru
>
>
>
> On 21 Jun 2011, at 17:48, Franco Sabadini wrote:
>
> >
> >
> > ---------- Forwarded message ----------
> > From: Franco Sabadini <fsabadi@gmail.com>
> > Date: 2011/6/21
> > Subject: problems linking code
> > To: info@moosetechnology.org
> > Cc: juan.yue@hotmail.com, Santiago Vidal <santiago.a.vidal@gmail.com>
> >
> >
> > Hello,
> >
> > We're trying to use Moose to analyze code replication on a Java application, but we haven't been able to link the model with the code, we already tried the 2 possibilities that are shown on the moose book and nothing worked, also we tried to do it with ArgoUML app and we couldn't do it either.
> >
> > The Moose versions we tried are from 4.0 to 4.5, and we tried it in linux, windows and in mac OS.
> >
> > Do you have any idea what could be happening?
> >
> > Thanks.
> >
> >
> > - Franco
> >
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev@iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Speaking louder won't make the point worthier."
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> Ing. Santiago A. Vidal
> ISISTAN Research Institute
> UNICEN University
> Paraje Arroyo Seco
> Campus Universitario
> (B7001BBO) Tandil,
> Bs. As. - Argentina
> Phone: 54 2293 439840 Ext. 42
> Fax: 54 2293 439681
> Email: svidal@exa.unicen.edu.ar
> http://www.exa.unicen.edu.ar/~svidal
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev