Results 1 to 4 of 4

Thread: command line generation

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    3

    command line generation

    when I want to generate panel code, I type:

    > ivfstudio my_project.iva

    And then graphically [Application --> Generate All]

    is there a way to do it using only command line ? it is usefull for makefiles !

  2. #2
    Junior Member
    Join Date
    Oct 2012
    Posts
    29
    Hello Guardina,
    Yes, using the non-interactive mode.

    I've never tested it but the below command shoudl match your needs:
    ivfstudio my_project.iva -execute GenerateAll

    As a reminder, any command know to Studio can be launched from the command line using the '-execute' option.
    See $ILVHOME/doc/html/views.html#page/Studio/panels.7.2.html#ww151933

    HTH

  3. #3
    Junior Member
    Join Date
    Jul 2014
    Posts
    3

    Wink

    Thank you so much for your answer.

    "ivfstudio my_project.iva -execute GenerateAll -execute Quit" does nearly work, I just need to find a way for ivfstudio to close without asking... I haven't found any option for that yet.

  4. #4
    Junior Member
    Join Date
    Jul 2014
    Posts
    3
    My ugly solution...

    Code:
    ( ivfstudio my_project.iva -execute GenerateAll & ) && ( sleep 30 && kill `ps aux | grep -i ivfs | grep my_user| grep -i generateall | awk -F " " '{print $2}' `;  )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •