Hi Jose, sorry for the delay ...

I haven't experience with JRuby and Jython (only tried them few
times), and probably even other Pivot developers.
You found some of our subprojects at Apache-Extras I created some time
ago, where to put all additional stuff, from us and even by our users,
but as you can see some of them are near-empty due to lack of time
(and probably lack of interest from users).

Your error seems to be related to the loading of bxml file:
> self.window = self.bxmlSerializer.readObject("file:///home/myuser/test.bxml")
try with a relative path for the bxml file, starting from the package
of your main class ... for example start to put it in the same folder
of your application main class, and move it later.
I can suggest to take a minimal sample, like our "Hello BXML" (
http://pivot.apache.org/tutorials/hello-bxml.html ) and try to convert
it to Jython ... and this could then be put somewhere under
pivot-contrib if you are interested.
As minimal sample, take a look at:
http://svn.codespot.com/a/apache-extras.org/pivot-stuff/trunk/scala-use-pivot2/


Anyway, if you are interested in help us improving Pivot usage with
Jython (and maybe even JRuby), could you create a jira issue in Pivot
usual Bug tracker (or if you prefer, an issue under pivot-multilang),
and attach there a minimal project (if possible an eclipse, or a
maven, or gradle) project ?
What release of OS , Java, Jython are you using ? If you add an issue,
please write even there.
Or at least, attach here that minimal sample, but in a zip (or it
won't be accepted by our mailing lists) ...

As soon as I'll find some time I could take a look at it, and even
improve my Scala examples/support files, and even a Groovy example
there.


Thank you very much,
Sandro

Reply via email to