Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » limit of String length
limit of String length [message #49228] Tue, 09 September 2008 22:43 Go to next message
Cyril Faucher is currently offline Cyril Faucher
Messages: 63
Registered: July 2009
Member
Hi,

I am using the mechanism of EAnnotation in Ecore in order to add Java
code in EOperation then I am creating a genmodel for generating with my
own Java code.

I am launching the generation process using JET, but this one is
stopped. I think the problem comes from an EAnnotation that contains a
big Java source, that implies a very long String/line in the xmi
(*.ecore) file. All the Java code seems there.

So, my question is: is there a strong limit in Jet for the length of String.

Best regards,
Cyril.
Re: limit of String length [message #49315 is a reply to message #49228] Thu, 11 September 2008 00:55 Go to previous message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Cyril:

The only limit I can think if is that of String and char[], which is bounded
by MAX_INT (2^31 - 1 ?) - I doubt your string is that big.

Can you share a little bit of your code and how it is accessing the
annotation?

Paul

"Cyril Faucher" <cfaucher@irisa.fr> wrote in message
news:ga6u73$k4r$1@build.eclipse.org...
> Hi,
>
> I am using the mechanism of EAnnotation in Ecore in order to add Java code
> in EOperation then I am creating a genmodel for generating with my own
> Java code.
>
> I am launching the generation process using JET, but this one is stopped.
> I think the problem comes from an EAnnotation that contains a big Java
> source, that implies a very long String/line in the xmi (*.ecore) file.
> All the Java code seems there.
>
> So, my question is: is there a strong limit in Jet for the length of
> String.
>
> Best regards,
> Cyril.
Previous Topic:What is the ideal EMF model to use as input to JET?
Next Topic:JET Error Handling
Goto Forum:
  


Current Time: Sat Sep 20 20:14:52 GMT 2014

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

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