Hello
I suppose I had it working in the former GenJ development environment. But I don't manage to read a gedcom file in a stand-alone main class in Ancestris. In the Jena-upgrade thread I explain which development environment I'm using. Below how I'm trying with Ancestris installed on Windows.
thanks in advance for helping out again
>echo %CLASSPATH%
;C:\Users\XXX\Appdata\Roaming\.ancestris\trunk\modules\genjreports-rdf.jar;C:\Users\XXX\Appdata\Roaming\.ancestris\trunk\modules\docs\genjreports-rdf.jar;C:\Users\XXX\Appdata\Roaming\.ancestris\trunk\modules\ext\*;C:\Users\XXX\Documents\ancestris-20121002\ancestris\ancestris\modules\ancestris-core.jar;C:\Users\XXX\Documents\ancestris-20121002\ancestris\ancestris\modules\ancestris-libs-genj.jar;C:\Users\XXX\Documents\ancestris-20121002\ancestris\platform\lib\*
>java -Xmx1024M -Dlog4j.configuration=file:log4j.properties -Dnetbeans.user.dir=C:\Users\XXX\Documents\ancestris-20121002\ancestris\bin -Dnetbeans.home=C:\Users\XXX\Documents\ancestris-20121002\ancestris\platform -Dnetbeans.user=C:\Users\XXX\Appdata\Roaming\.ancestris\trunk -Dnetbeans.dirs=C:\Users\XXX\Documents\ancestris-20121002\ancestris\ancestris genjreports.rdf.gedsem.Convert -gedcom C:\Users\XXX\Documents\ancestris-20121002\ancestris\ancestris\exemples\gen-kennedy\kennedy.ged -uri http://my.domain.com/gedcom/ -format ttl 1>gedcom.ttl
Exception in thread "main" genj.io.GedcomIOException: java.lang.NullPointerException
at genj.io.GedcomReaderFactory$Impl.read(GedcomReaderFactory.java:195)
at genjreports.rdf.gedsem.Convert.readGedcom(Convert.java:155)
at genjreports.rdf.gedsem.Convert.main(Convert.java:58)
The log4j.properties can be found here:
http://arvernes.dyndns.org/fgenj/trunk/AncestrisExtensions/report.rdf/javahelp/genjreports/rdf/docs/mashup/