avadheshsingh151 / android-sparql

Automatically exported from code.google.com/p/android-sparql
0 stars 0 forks source link

Cannot build because android-sparql uses XMLGregorianCalendar indirectly #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Created an Android project with Eclipse.
2. Copied the code from android-sparql in src
3. Imported openrdf-sesame-2.4.2-onejar.jar and slf4j-android-1.6.1-RC1.jar

What is the expected output? What do you see instead?
It does not compile since NativeLiteral imports LiteralImpl from 
openrdf-sesame, which uses XMLGregorianCalendar.

"The project was not built since its build path is incomplete. Cannot find the 
class file for javax.xml.datatype.XMLGregorianCalendar. Fix the build path then 
try building this project"

What version of the product are you using? On what operating system?
The ones provided in this site.

Please provide any additional information below.

Error messages:

"The project was not built since its build path is incomplete. Cannot find the 
class file for javax.xml.datatype.XMLGregorianCalendar. Fix the build path then 
try building this project"

"Description    Resource    Path    Location    Type
The type javax.xml.datatype.XMLGregorianCalendar cannot be resolved. It is 
indirectly referenced from required .class 
files   NativeLiteral.java  /SesameAndroid/src/uk/ac/open/kmi/smartproducts/sesame/
sail/model  line 1  Java Problem"

Original issue reported on code.google.com by aitor.go...@deusto.es on 4 Mar 2012 at 4:53

GoogleCodeExporter commented 8 years ago
Sorry, it was my bad.

I was trying to deploy it in a 2.1 android (API version 7) and the 
XMLGregorianCalendar was not available till the version 8.

Original comment by aitor.go...@deusto.es on 5 Mar 2012 at 8:53