Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JoPol

Pages: [1] 2
1
ENGLISH / svg export
« on: August 06, 2014, 15:44:14 »
An SVG export of the dynamic tree view would be on my wish list, or something with similar content. I tried to import a .ged file with yEd, it does a fine job except that it only shows names and optionally dates. I like the freedom of the blueprints but also like the freedom of SVG to make specific changes with a common purpose editor, all depending on the story I want to tell with a diagram.

2
ENGLISH / Re: problems reading gedcom
« on: January 13, 2013, 18:18:05 »
Please ignore this request for help. I'm moving the batch commands to http://gedcom2sem.googlecode.com and switched to gedcom4j for parsing. That way I can help myself much better.

3
ENGLISH / Re: problems reading gedcom
« on: January 06, 2013, 11:59:54 »
At least I did not break the build. But I seem to need corrections for the CLASSPATH and/or JAVA_OPTS for the desired batch execution. I don't understand what.

I tried it with http://anonymous:password@arvernes.dyndns.org/fgenj/trunk/AncestrisExtensions/report.rdf/javahelp/genjreports/rdf/docs/mashup/reports.bat
you would have to adjust line 7,8 and 35 and will get the following error on line 45

Exception in thread "main" java.lang.NoClassDefFoundError: org/openide/filesystems/FileStateInvalidException
        at genjreports.rdf.gedsem.Convert.readGedcom(Convert.java:194)
        at genjreports.rdf.gedsem.Convert.main(Convert.java:76)
Caused by: java.lang.ClassNotFoundException: org.openide.filesystems.FileStateInvalidException
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 2 more

PS: see also http://anonymous:password@arvernes.dyndns.org/fgenj/trunk/AncestrisExtensions/report.rdf/javahelp/genjreports/rdf/docs/rdf-mashup.html#batches

4
ENGLISH / Re: problems reading gedcom
« on: January 03, 2013, 19:54:02 »
I pinned down the problem to files. The command line conversion works fine when I save the gedcom file using the property filter by excluding the FILE tag.

Specifying the full path did not help. Any suggestions or a fix?

5
ENGLISH / problems reading gedcom
« on: November 14, 2012, 12:12:36 »
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
 
Code: [Select]
>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/

6
ENGLISH / Re: jena upgrade
« on: November 07, 2012, 15:18:32 »
thanks Daniel.

It should allow to create proper a classpath in the .bat / .sh files.

The promised background and another problem:

I'm an eclipse-maven developer and trying some stand-alone development for my plugin. The screenshot shows my improvised environment to implement some new main classes. The new mashup page explains these batch commands under construction. The rewritten to-do page explains how they could be embedded in the GUI, but don't feel obliged, definitely not yet: I need to do further tests.

The pom.xml is mavens equivalent of ANT's build ==edit: maven resolves the indirect dependenceis automatically==. The semweb package is happy with just jena. Most sources compile when I also add open-ide to the pom, and add ancestris-core.jar manually to the classpath. I don't mind that the plugin class does not compile and the gui-class might not run, but it was a nasty surprise to see that the gedcom reader relies on on genj.util.swing: how many more jars would I need? The gedcom I tried to read does not even contain embedded images.

Jo

7
ENGLISH / Re: jena upgrade
« on: November 06, 2012, 12:40:45 »
Hello Daniel

You are pointing at the command line tools, I just need some libraries. The linked pages in the first message contain download links in tables that look more or less like:

Artifact    Download (JAR) (2.3 MB)
POM File    View
HomePage    
Organization    
Issue Tracker

Hope that helps for now, I will give some more background later.
Jo

8
ENGLISH / Re: jena upgrade
« on: November 05, 2012, 20:37:13 »
It will have to wait until tomorrow.

9
ENGLISH / jena upgrade
« on: November 02, 2012, 20:45:43 »
Hello

I would like to upgrade to the latest jena version for the SPARQL plugin. It should be more efficient and I could fix the spooky workaround in mashup.bat
The upgrade would mean replacing ancestris.libs.jena/2.6.4 and ancestris.libs.apache.log4j/1.2.13 in project.xml
But I don’t want to break the nightly build again, there might be conflicts with components using another version of log4j. I have no Idea where to place the jars themselves but I do know where to find them.

We need at least:

http://mvnrepository.com/artifact/org.apache.jena/jena-arq/2.9.3
http://mvnrepository.com/artifact/org.apache.jena/jena-core/2.7.3
http://mvnrepository.com/artifact/org.apache.jena/jena-iri/0.9.3
http://mvnrepository.com/artifact/log4j/log4j/1.2.16
http://mvnrepository.com/artifact/org.slf4j/slf4j-api/1.6.4
http://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12/1.6.4
http://mvnrepository.com/artifact/xerces/xercesImpl/2.10.0
http://mvnrepository.com/artifact/xml-apis/xml-apis/1.4.01

eclipse shows also the following jars in the maven dependency hierarchy, currently it seems to work without (like it used to do without the log4j ;-)

http://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient/4.1.2
http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore/4.1.3
http://mvnrepository.com/artifact/commons-codec/commons-codec/1.5

Jo

10
ENGLISH / Re: missing menu entry
« on: October 29, 2012, 17:50:42 »
OK I'll wait.

By the way, I tried several times to reply to the broken build message. From the later update I understand someone managed to fix. Sorry for the inconvenience.

Jo

11
ENGLISH / missing menu entry
« on: October 27, 2012, 18:21:15 »
I wanted to make some screenshots but the gedcom menu entry only appears in the 0.7 version with the SPARQL plugin deactivated. See attached screenshot. I have both the 0.7 and trunk version installed.

12
ENGLISH / Re: about - versions : incomplete
« on: October 14, 2012, 16:26:03 »
please go ahead, I'm afraid it is outside of my scope.

13
ENGLISH / about - versions : incomplete
« on: October 14, 2012, 14:22:05 »
The versions overview of the about dialog does not list the SPARQL report plugin.
Ancestris version 0.8beta - 3539

14
FRANÇAIS / Re: Exporter la table
« on: October 09, 2012, 18:08:20 »
Glad to be of service.

Hints:

WHERE {?a a t:INDI; p:id ?id.
WHERE {?a a t:FAM; p:id ?id.

then you don't need the filter or sex.

Dates could be improved by implementing the TODO's in
http://anonymous:password@arvernes.dyndns.org/fgenj/trunk/AncestrisExtensions/report.rdf/src/genjreports/rdf/SemanticGedcomUtil.java
But I no longer have a proper development environment. So if anyone else feels up to that task...

15
ENGLISH / Re: geo plugin collecting data for sparql plugin
« on: October 08, 2012, 21:48:52 »
On second thoughts I think it is better to have an export for the list of places  in a csv file, or whatever commonly supported format you prefer. It keeps the code of both plugins separate and the export might sooner or later serve other purposes. For me I need only the values for all jurisdictions and the geoNameId or geoNameUri.

Pages: [1] 2