Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » Use gendoc with external eObject references
Use gendoc with external eObject references [message #1781107] Thu, 01 February 2018 13:29 Go to next message
Jim 20100 is currently offline Jim 20100Friend
Messages: 69
Registered: June 2016
Member
Hello,

I have a model called Output.
This model has a reference to a Quote Object located in another file.

<?xml version="1.0" encoding="UTF-8"?>
<output:Output xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:output="http://www.astron.biz/output/1.0" name="Mon output">
<outputHasChapters name="Chapitre 1"/>
<outputHasChapters name="Chapitre 2"/>
<outputHasQuote href="../Quotes/BatteriePourTestsS355.cypq#PRICEPARENTBatteriecomplteoupresqueS355principal"/>
</output:Output>

In my very simple template I would like to use:

[self.name/]:[self.outputHasQuote.name]
[for (chapter: Chapter| self.outputHasChapters)]<drop/>
[chapter.name/]
[/for] <drop/>
</gendoc><drop/>

I cannot generate the result. I have an error.

See details.
The execution of a script failed: Error during generation of Gendoc script :The invocation isn't terminated

Do you have a solution?
As you may understand I have a model to define an output in one file, the real data model is in another file.
I thought a direct reference to an object would be good.
What is the best solution?








Re: Use gendoc with external eObject references [message #1781110 is a reply to message #1781107] Thu, 01 February 2018 14:01 Go to previous message
Jim 20100 is currently offline Jim 20100Friend
Messages: 69
Registered: June 2016
Member
In fact it works I made a mistake in the template I forgot a /

[self.outputHasQuote.name/]
Previous Topic:Simple loop in EMF File - cannot find operation
Next Topic:External EMF reference: InvalidType
Goto Forum:
  


Current Time: Tue Sep 25 05:56:45 GMT 2018

Powered by FUDForum. Page generated in 0.02947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top