I start by replying to myself :)
I had a look at the method FAMIXFileAnchor>>completeText, which contains
this line:
fsReference := (FSFilesystem onDisk referenceTo: self rootFolder, self
fileName).
by printing rootFolder I get this content:
'/Applications/Moose.app/Contents/Resources/src/output/'
and by printing fileName (I just put an example):
'/Users/sback/Desktop/java/2009-03-23-argoUML_0.28/argouml/src/argouml-app/src/org/argouml/uml/cognitive/critics/CrMultiComposite.java'
the fileName is taken by the MSE generated by Verveine-J.
By composing the rootFolder and the fileName, the method cannot locate the
correct file.
Simply by changing the aforementioned line to:
fsReference := (FSFilesystem onDisk referenceTo: self fileName).
the method worked and I got the source file of the class
(it is very nice that it just outputs the declaration of the class within
the containing file ;).
So, it seems to be an inconsistency between Verveine-J (head on the
repository) and Moose 4.6.
What should be done?
Cheers,
Alberto
--
View this message in context:
http://moose-dev.97923.n3.nabble.com/Getting-the-source-code-of-a-FAMIXClas…
Sent from the moose-dev mailing list archive at
Nabble.com.