jolie2plasma

Fabrizio Montesi famontesi at gmail.com
Mon Feb 9 18:17:45 CET 2009


Hi everyone,
after plasma2jolie in kde's playground, why not jolie2plasma? ;)
If you update jolie's and dist-install, you'll find a new little program in
your $PATH: jolie2plasma. It lets you to extract and convert jolie
interfaces from a jolie program to a plasma::service .operations file. Let's
see an example converting the whole metaservice interface:

jolie2plasma /opt/jolie/include/services/metaservice/metaservice.ol
metaservice.operations MetaServiceAdministration MetaServiceConsultation

That line tells jolie2plasma to read metaservice.ol, output the conversion
to metaservice.operations and extract the MetaServiceAdministration and
MetaServiceConsultation interfaces. The output .operations file is as one
expects.

Now we've got bi-directional conversion tools. Both have some quirks because
there are some plasma types jolie doesn't support and viceversa, but they
warn the user so that he can go there and fix them by hand. We'll polish
them as we go.

With these two tools and the work Kevin is putting in QtSodep we're making
some serious steps forward. Go Tokamak!

Cheers,
Fabrizio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090209/66ea41ec/attachment.htm 


More information about the Plasma-devel mailing list