#950 Jstub can't find its pod

mike Sun 31 Jan 2010

I've tried various ways to get Jstub to find its pod, but I'm stumped. E.g.:

/apps/fantom-1.0.49/lib/java$ java -classpath sys.jar -Dfan.home=/apps/fantom-1.0.49 fanx.tools.Jstub sys.pod
   Java Stub [sys.pod]
Exception in thread "main" sys::UnknownPodErr: sys.pod
  at fan.sys.UnknownPodErr.<init>(UnknownPodErr.java:39)
  at fan.sys.UnknownPodErr.make(UnknownPodErr.java:25)
  at fan.sys.UnknownPodErr.make(UnknownPodErr.java:22)
  at fan.sys.Pod.readFPod(Pod.java:153)
  at fan.sys.Pod.doFind(Pod.java:65)
  at fan.sys.Pod.find(Pod.java:46)
  at fanx.tools.Jstub.stub(Jstub.java:39)
  at fanx.tools.Jstub.run(Jstub.java:138)
  at fanx.tools.Jstub.main(Jstub.java:163)

brian Sun 31 Jan 2010

Just jstub <podName>:

C:\dev\fan\src>jstub gfx
  Java Stub [gfx]

KevinKelley Sun 31 Jan 2010

(ignore)

mike Sun 31 Jan 2010

ah, there's a jstub.exe, but no bash equivalent. So I made one:

#!/bin/bash

. "${0%/*}/fanlaunch" 
fanlaunch Jstub "$@"

but now it appears to not actually be generating a jar file:

/apps$ jstub fwt.pod
  Java Stub [fwt.pod]

and no jar file appears. I'll get my fantom-hg environment bootstrapped and figure it out.

msl Mon 1 Feb 2010

Is there any reason this isn't included in the standard non-windows distribution?

Login or Signup to reply.