daniel sti

Avatar
  • Total activity 278
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 1 user
  • Votes 6
  • Subscriptions 79
  • Created

    Model2Model - 1 node should result in 2 generated nodes

    Hi forum,i wrote a top-level forms UI language with which i generate code for another language i wrote. So i m really doing a model2model transformation. However i have a serious problem with the $...
    • 4 followers
    • 6 comments
    • 0 votes
  • Created

    How can i copy a File after Crtl-F9 ?

    Dear Mps-Experts,i have to copy a json - configuration file into the class_gen / source_gen directory after MPS has done the built. How can i automate that? Is it necessary to run a shell script ex...
    • 5 followers
    • 5 comments
    • 0 votes
  • Created

    How can i change file encoding of generated baseLanguage

    Hi,i have a simple string with ä in a classfile likestring st = "Getränke";and when i generate java it becomes: "Getr\u00e4nke"... instead of "Getränke". Shouldn´t ä become simply c3 a4 in utf-8, w...
    • 3 followers
    • 6 comments
    • 0 votes
  • Created

    Generate into subdirectory ..

    Hi,i have a question regarding generator output directories:(1) i have a concept BusinessObject(2) i create a instance of that BusinessObject in my Solution model - sandbox.sandbox.TestBusinessObje...
    • 7 followers
    • 9 comments
    • 0 votes
  • Created

    How can i display only substring of a property?

    Hi,in order to remove the "set" from Setter-Methods, i created an attribute concept with a reference to the setter-Method (InstanceMethodDeclaration). In this attribute concept i used a constraint ...
    • 2 followers
    • 4 comments
    • 0 votes
  • Created

    Why do i not get an mps error?

    As one can see above, i have forgotten a return statement in the second if(). The current statement does not lead to an error - should n t it be one? I already stumbled over forgetting the return s...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Very strange behaviour of smodel lang.

    Hi,if i write the following code in a $LOOP$ macro:(node, genContext, operationContext)->sequence<node< >> {   sequence<node<BusinessProperty>> props = node.getGivenBusinessObject().getPersistentBu...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    no null pointer exception

    Hi,i m using the list<> type from the collection language. As described i do not get a null pointer exception when executing the statements ..list<position> mylist;mylist.add(new position());althou...
    • 2 followers
    • 6 comments
    • 0 votes
  • Created

    Strange behaviour of $LOOP$

    Hi,when i use the LOOP macro as in the attached file, i get the following output ...     {      int id = object2Save.getId();    }    {      int kopfId = object2Save.getKopfId();    }    {      int...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    using "can be parent"

    Hi,i derived a PersistantProperty from baselang.Property. I could restrict the user to only use int and String for the type field by using childConcept... e.g.    can be parent     (operationContex...
    • 2 followers
    • 2 comments
    • 0 votes