Clarity

 View Only
  • 1.  I am trying to validate gel script

    Posted Dec 11, 2018 04:28 AM

    hi 

    I have installed xog client in my app server

    have created the hello world xml file saved it in XOG\bin folder

    when I validate this file I recieve this: picture bellow

    and when I skip this and write "gel -script bin\hello.xml" I recieve an error saying script is invalid



  • 2.  Re: I am trying to validate gel script
    Best Answer

    Broadcom Employee
    Posted Dec 11, 2018 04:44 AM

    Could you please try validating the script as below,

     

    To validate your Gel Script,

    G:\XOG\bin>gel -script hello.xml -validate

     

    For executing the gel script,

    G:\XOG\bin>gel -script hello.xml



  • 3.  Re: I am trying to validate gel script

    Posted Dec 11, 2018 04:54 AM

    I get this error

    this is my script



  • 4.  Re: I am trying to validate gel script

    Posted Dec 11, 2018 06:35 AM

    Sorry I got the solution I was making a mistake

    changing the path to Xog\bin then write command gel -validate bin\hello.xml

    write way is to:

    change the path to XOG folder then write command gel -validate bin\hello.xml

     

    thank you so much



  • 5.  Re: I am trying to validate gel script

    Posted Dec 11, 2018 08:33 PM

    Personally, I wouldn't be storing custom code in the bin folder.  Appreciate that you may be experimenting at this time, but better to implement good practice, and store the hello.xml in a custom folder somewhere.