OK, I set up eclipse to use the JDK instead ot the JRE for running the program 
and it worked! Thanks.

Now I have to figure out how to make the custom rule-set running on sesame 
workbench, which is something that I have done using the precompiled rule-sets 
only. 

Have not tried it yet. I'll get back to you if I encounter any problems. 
Are there any points that I should specially consider?

Cheers,
Babis



----- Original Message ----
From: Ivan Peikov <[email protected]>
To: [email protected]
Cc: Babis Doulaverakis <[email protected]>
Sent: Fri, December 10, 2010 4:47:32 PM
Subject: Re: [Owlim-discussion] Error using custom rule-set

Hi Babis,

Another thing I can think of is that you need to have full JDK installed (and 
configured in your IDE) in order to compile ruleset files. Could it be the 
case that you only have JRE configured?

Cheers,
Ivan


On Friday 10 December 2010 16:18:57 Babis Doulaverakis wrote:
> Hi Ivan,
> 
> thank you for your prompt reply. I have set the "java.io.tmpdir" to a
>  writable directory and although now a folder structure is created under
>  the tmpdir after I run my program, I still get the same error message.
> The folders "tmp697595644591013f\com\ontotext\trree\owlim_ext" are created,
> which are all empty. Is there anything else I have to set?
> 
> Cheers,
> Babis
> 
> 
> ----- Original Message ----
> From: Ivan Peikov <[email protected]>
> To: [email protected]
> Cc: Babis Doulaverakis <[email protected]>
> Sent: Fri, December 10, 2010 2:51:14 PM
> Subject: Re: [Owlim-discussion] Error using custom rule-set
> 
> Hi Babis,
> 
> The documentation is misleading in this version - you need to set the
> java.io.tmpdir (instead of java.io.tmpfile) system property to point to a
> valid writable folder on your file system. Please try it out and let us
>  know if you are still unable to compile that ruleset file.
> 
> Cheers,
> Ivan
> 
> On Friday 10 December 2010 13:00:35 Babis Doulaverakis wrote:
> > Hello all,
> >
> > I am having problem using a custom rule-set with SwiftOWLIM v3.3. I get
> > an Exception that the .pie file "does not correspond to a valid existing
> > PIE rule file" although the rule files that I used for testing are the
> > ones supplied with the SwiftOWLIM distribution. I even used a much
> > simpler rule file with one rule only but I get the same error.
> > Actually, the .pie file does compile but immediately after the successful
> > compilation message, the error message appears. I use Eclipse IDE v3.4.2
> >
> > I use the getting-started ttl file for configuring the repository and
> > additionally I have set the "java.io.tmpfile" to point to a temp file on
> > my C: drive. This is the error that I get:
> >
> > ruleSet=rules/HorstRules_builtin.pie, partialRdfs=false
> > Unknown ruleset 'rules/HorstRules_builtin.pie' specified in
> > InferencerFactory.createInferencer()
> > Compiled: 'rules/HorstRules_builtin.pie'
> > Rule set 'rules/HorstRules_builtin.pie' does not match none of the
> >  precompiled rule sets, nor does it correspond to a valid existing PIE
> > rule file org.openrdf.repository.RepositoryException: Unknown rule set:
> > rules/HorstRules_builtin.pie
> >     at
> > org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java
> >:9 3) at
> > org.openrdf.repository.manager.LocalRepositoryManager.createRepository(Lo
> >ca lRepositoryManager.java:152)
> >
> >     at
> > org.openrdf.repository.manager.RepositoryManager.getRepository(Repository
> >Ma nager.java:263)
> >
> >     at
> > gr.iti.mklab.OWLIM.OWLIMRepository.connectToNativeRepository_OWLIM(OWLIMR
> >ep ository.java:57)
> >
> >     at gr.iti.mklab.OWLIM.OWLIMRepository.main(OWLIMRepository.java:100)
> > Caused by: org.openrdf.sail.SailException: Unknown rule set:
> > rules/HorstRules_builtin.pie
> >     at com.ontotext.trree.owlim_ext.SailImpl.initialize(Unknown Source)
> >     at
> > org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java
> >:8 4) ... 4 more
> >
> >
> > Could anyone help please?
> >
> > Thanks in advance,
> > Babis
> >
> >
> >
> >
> > _______________________________________________
> > OWLIM-discussion mailing list
> > [email protected]
> > http://ontotext.com/mailman/listinfo/owlim-discussion
> 
> _______________________________________________
> OWLIM-discussion mailing list
> [email protected]
> http://ontotext.com/mailman/listinfo/owlim-discussion
> 



      
_______________________________________________
OWLIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/owlim-discussion

Reply via email to