Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Constant Pool Limit Reached(Siruis ecore and generate all step from Gen model)
Constant Pool Limit Reached [message #1815809] Fri, 11 October 2019 08:30
rajni choudhary is currently offline rajni choudharyFriend
Messages: 6
Registered: September 2019
Junior Member
We have too many UI elements In our sirius project.
When we do "generate all" in gen model after all the codes are generated we get a compile time error in our RootPackage interface it says "Too many constants, the constant pool for RootPackage would exceed 65536 entries".

How do we overcome the above problem while preserving what we have done before (no time for rework) and any steps we may need to follow from now.

Solutions attempted so far :

  1. All elements are currently in the root package. We need to divide it efficiently under other sub packages.
    Problem for the above The sub package is again generated and used as a private static variable in the RootPackage. Its been ineffective so far. We still have the same error
  2. I made two package and inside other package we link our new patern as child and other as super.
    Some how we were able to generate genmodel without any error saying too many constant.
    Problem We made UI but when we try to generate the test cases it throws the exception saying class cast exception no changes in .design module

Previous Topic:Can someone give proper structure of sirius to handle different packages in same ecore?
Next Topic:Tutorial about animation
Goto Forum:
  


Current Time: Mon Feb 17 06:12:18 GMT 2020

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

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

Back to the top