Clarity

  • 1.  GEL script in Clarity V13

    Posted Mar 28, 2012 03:04 PM
    I'm trying to run GEL scripts in V13 for the first time.Started of with a simple 'Hello World' program, but the XOG client wouldn't accept the command 'gel <filename.xml>'. Has it changed in V13?


  • 2.  RE: GEL script in Clarity V13
    Best Answer

    Posted Mar 28, 2012 03:21 PM
    I've been playing with GEL scripts in V13 a lot the last few days (both from teh command line and through the V13 application) - all works fine as far as I'm concerned compared to earlier versions (so far!).

    --

    Bit confused with your question though ; the command 'gel <filename.xml>' is something you'd type at the command line and has nothing to do with the 'XOG client'. Indeed simple command line GEL scripts aren't even talking "to" Clarity (whatever version).

    Have you picked up the simple GEL documents in the ZIP file attached to the FAQ THREAD? There are a couple of simple scripts in those documents as well as a "hello world" example that can be used to make sure that your local XOG installation is all setup right.


  • 3.  RE: GEL script in Clarity V13

    Posted Mar 28, 2012 03:33 PM
    I just have a simple Hello world program as below in my XOG/bin folder as below:

    <gel:script
    xmlns:g="jelly:com.niku.union.gel.GELTagLibrary"
    <g:out>Hello World!</g:out>
    </gel:script>

    trying to execute it from XOG client command prompt using gel -script HelloWorld.xml and got the following error:

    "Error unmarshalling config file: properties.xml"

    what am i missing?

    Thanks,
    Harsha


  • 4.  RE: GEL script in Clarity V13

    Posted Mar 28, 2012 04:03 PM
    OK if you get those documents that I referred to (specifically the "Why Hello World is useful" one) - this would give you the clue that you need.

    You need to copy your application's properties.xml file to a directory under the XOG client install area - that document tells you where (I had to do this for a number of application "config" files I think).

    I guess this MIGHT have changed in the V13 XOG setup (but you always needed to copy the properties.xml file to somewhere that the local XOG client could access it in earlier Clarity versions when you were running GEL from the command line)


  • 5.  RE: GEL script in Clarity V13

    Posted Mar 28, 2012 04:33 PM
    Thanks, Those docs are wonderful!!


  • 6.  Re: GEL script in Clarity V13

    Posted Aug 25, 2016 08:18 AM

    Hi, Can you post the zip file here?

     

    Thanks,

    Sri



  • 7.  Re: GEL script in Clarity V13

    Posted Aug 25, 2016 08:26 AM

    Its on the CA Clarity General Discussion - FAQs  thread (updated link)



  • 8.  Re: GEL script in Clarity V13

    Posted Aug 25, 2016 09:08 AM

    Thank you