Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » suppress documentation
suppress documentation [message #881815] Tue, 05 June 2012 09:46 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
I am generating EMF code from an xsd (eclipselink orm) which contains invalid documentation. Meaning if the
documentation from the xsd is included in the java code I get compile errors.

Is there a way to suppress documentation generation in the java code? Or to prevent it being transferred from the xsd to
the ecore model?

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: suppress documentation [message #881893 is a reply to message #881815] Tue, 05 June 2012 12:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33147
Registered: July 2009
Senior Member
Martin,

No, there's no way to exclude that. What does it look like?


On 05/06/2012 11:46 AM, Martin Taal wrote:
> Hi,
> I am generating EMF code from an xsd (eclipselink orm) which contains
> invalid documentation. Meaning if the documentation from the xsd is
> included in the java code I get compile errors.
>
> Is there a way to suppress documentation generation in the java code?
> Or to prevent it being transferred from the xsd to the ecore model?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: suppress documentation [message #881905 is a reply to message #881893] Tue, 05 June 2012 13:18 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
The documentation in the xsd contains javadoc start and end tags (/* and */) so these are placed in the javadoc
resulting in an early end of the comment.

gr. Martin

On 06/05/2012 02:51 PM, Ed Merks wrote:
> Martin,
>
> No, there's no way to exclude that. What does it look like?
>
>
> On 05/06/2012 11:46 AM, Martin Taal wrote:
>> Hi,
>> I am generating EMF code from an xsd (eclipselink orm) which contains invalid documentation. Meaning if the
>> documentation from the xsd is included in the java code I get compile errors.
>>
>> Is there a way to suppress documentation generation in the java code? Or to prevent it being transferred from the xsd
>> to the ecore model?
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: suppress documentation [message #881928 is a reply to message #881905] Tue, 05 June 2012 14:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33147
Registered: July 2009
Senior Member
Martin,

We should probably handle that someone in the conversion process or in
the generator...


On 05/06/2012 3:18 PM, Martin Taal wrote:
> The documentation in the xsd contains javadoc start and end tags (/*
> and */) so these are placed in the javadoc
> resulting in an early end of the comment.
>
> gr. Martin
>
> On 06/05/2012 02:51 PM, Ed Merks wrote:
>> Martin,
>>
>> No, there's no way to exclude that. What does it look like?
>>
>>
>> On 05/06/2012 11:46 AM, Martin Taal wrote:
>>> Hi,
>>> I am generating EMF code from an xsd (eclipselink orm) which
>>> contains invalid documentation. Meaning if the
>>> documentation from the xsd is included in the java code I get
>>> compile errors.
>>>
>>> Is there a way to suppress documentation generation in the java
>>> code? Or to prevent it being transferred from the xsd
>>> to the ecore model?
>>>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[TENEO] Multiple inheritance, MappedSuperclass+SINGLE_TABLE
Next Topic:[CDO 4.1] : Adapter of ResourceSet of remote user not notified on Resource add/remove
Goto Forum:
  


Current Time: Tue May 14 08:53:55 GMT 2024

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

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

Back to the top