Hello Thierry

this is EXACTLY the NASTY state ;)

Unfortunately, you know the Murphy's law, and If I repeat the following steps, 
now it works (even on a different workspace.. )!!
 1 - create acceleo project witha main module
2 - import the gendoc2 common bundle
Acceleo complains, as expected
3 - I added the plugin in the MANIFEST, save the MANIFEST,
Now Acceleo does not complain anymore (which is completely different from the 
behavior you have, and I had)

So, the most I can do is to propose you two sorcery spells  

1 - Magic clean and rebuild spell
a - clean and build again

OR, if the previous does not work, try the 

2 - Enchanted Manifestation spell
a - remove the org.topcased.gendoc2.bundle.acceleo.commons from the Manifest 
(it prevent you from adding the next in the MANIFEST gui)
b - add the org.topcased.gendoc2.bundle.acceleo.commons.files to the imported 
package
c - add (again) the org.topcased.gendoc2.bundle.acceleo.commons 
d - remove the acceleo import statement
e - build
f - paste the acceleo statement again
g - pray and use any fairy powder, or magical item you have (see Dr M'bala 
M'bala on ebay, he says doing miracles)

And then it shall work

Tell me if any worked...

PS : the good one is [import 
org::topcased::gendoc2::bundle::acceleo::commons::files::commons/]
________________________________________
De : [email protected] 
[[email protected]] de la part de Topcased user list 
where issues are discussed [[email protected]]
Date d'envoi : mardi 11 juin 2013 15:36
À : [email protected]
Objet : Re: [Topcased-users] RE :  Acceleo script using getSortedContent()

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

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to