Menu

Custom Code Generator (e.g. for Matlab or Python)

Daniel
2014-08-28
2014-09-29
  • Daniel

    Daniel - 2014-08-28

    Hi,

    does WhiteStarUML foresee extension of the code generation feature by user, i.e. is it possible to prvide a custom code generator and reverse engineering plugin for additional programming languages like Matlab or Python?

    Thanks,

    Daniel

     
  • Janusz Szpilewski

    Yes, all existing code generators are coded as plugins based on the Microsoft COM model and StarUML's Open API: http://staruml.sourceforge.net/docs/developer-guide(en)/ch04.html

     
  • Anonymous

    Anonymous - 2014-09-29

    Wonderful extension which allows expending the tool to generate automatically e.g. documentation but also API class description in XML format, etc. Thanks to you Janusz to port this new StarUML project <3
    However, I have a concern: I use abusively large external StarUML scripts (including activeX) on a winXP machine and they works fine; when I try to use them on a Win7 machine al well using starUML than WhiteStarUML, the execution failed indicating:
    [6:09:50 PM] Document creation starts.(1)
    [6:09:50 PM] Generation 01-xml-dbus-generic starts.
    [6:09:50 PM] Connected to WhiteStarUML.
    [6:09:50 PM] Starting document generation
    [6:09:50 PM] Error : -2146828260,Out of stack space
    [6:09:50 PM] Release WhiteStarUML.
    [6:09:50 PM] The following reason causes 01-xml-dbus-generic not to be created.
    Reason : Fail reason is not displayed.
    [6:09:50 PM] Document creation is done. (Elapsed time : 0 sec)

    I known that with WinXP I was at the limits of the capacity of StarUml (Out of stack space or Out of memory) but it runs fine and I thought that with Win7 there will be no reason to go immediately on error. I modify the Win7 OS SharedMemory characteristics in the Registry without any success... Do you have an idea to solve this problem ?
    Best regards

     
  • Janusz Szpilewski

    It seems that the error comes from Windows JavaScript Engine. So maybe you could verify if shorter scripts (like design patterns generator) work correctly. As the JavaScript engine is supported by Internet Explorer maybe updating it could help. If it still does not work search the Web for that error code and some other hints should show up.

    At the end the 64 bit build of WhiteStarUML is not far away so maybe that will help with memory running out.

     

Anonymous
Anonymous

Add attachments
Cancel