Hello Cedric,
Thank you very much for the hint. But, I still don't manage to get it work.
For instance, I added
org.topcased.gendoc2.bundle.acceleo.commons in the required plug-ins of
the Manifest.mf
and
[import org::topcased::gendoc2::bundle::acceleo::commons::files::commons
/] in my .mtl file.
But this still makes Eclipse grumble "Module org::... not found"
(the same goes for org::topcased::gendoc2::bundle::acceleo::commons::files)
Note that the class folder containing the plugin is explicitely
referenced in the Java build path...
Anything else I should have missed ?
Regards,
Thierry.
Topcased user list where issues are discussed a écrit :
Hello Thierry
I ran into the same trouble as you, some noticeably naugty, and requred the
explicit help of some fellowers to find (and even with their help, it was not
easy...)
The solution is to have, both
-> in the required plug-ins of the Manifest, the name of the Plugin (ex:
org.topcased.gendoc2.bundle.acceleo.commons
-> [import org::topcased::gendoc2::bundle::acceleo::commons::files::commons /]
I've been told that the package
org.topcased.gendoc2.bundle.acceleo.commons.files shall be imported too, but it
seems not necessary
Cheers
Cedric
De : [email protected]
[[email protected]] de la part de Topcased user list
where issues are discussed [[email protected]]
Date d'envoi : lundi 27 mai 2013 14:06
À : [email protected]
Objet : Re: [Topcased-users] RE : Acceleo script using getSortedContent()
Hi Cedric and topcased users,
Thank you for your kind answer.
I tried to use the [import] feature. In the "overrides" view, I found
getSortedContent() under :
org.topcased.gendoc2.bundle.acceleo.topcased[plugin] / topcased
So I tried :
[import org::topcased::gendoc2::bundle::acceleo::topcased/]
into my acceleo script.
However, I got an error saying :
"Module org::topcased::gendoc2::bundle::acceleo::topcased not found"
By the way, in the "overrides" view, even if all methods appears when
unfolding entries, all the plugin entries are tagged with a red icon
(and not a green checked box)...
I explicitely added the org.topcased.gendoc2.bundle.acceleo.topcased jar
to the Java build path of the project, but it seemed useless.
I guess the problem is related to configuration issues, but I don't know
what to do now.
Is there any modification I should do to the MANIFEST.MF file or in the
acceleo project properties ?
Regards,
Thierry.
Topcased user list where issues are discussed a écrit :
Hello Thierry
Good news : it is possible
Bad news : it's a long time since I did it, and I don't remember exactly the
process
So I can give you some clues, and if it's too wrong some other list members
will correct :
Gendoc2 builtin services are defined as Acceleo + some extension point
parameters
So,
1st, you have to find the qualified name of the builtin Gendoc2 bundle you want
to reuse (search in the plugin list of your topcased)
And then
import the bundle, in your Acceleo module, with the syntax
[import qualified::name::of::gendoc2::builtin /]
If I remember well, you don't need to import the source of the Gendo2 bundle in
your workspace to use it BUT it might be of interest to take a look at
If you definitely don't manage to do it after few tris, feel free to send
another mail, I will dig my MTL archives to show you a full working example
Cheers
Cedric
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users