limit of String length [message #49228] |
Tue, 09 September 2008 18:43  |
Eclipse User |
|
|
|
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] |
Wed, 10 September 2008 20:55  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.05575 seconds