[jira] [Commented] (JENA-464) Errors in the example code supplied with the Jena download

2013-06-03 Thread John Ringland (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673154#comment-13673154
 ] 

John Ringland commented on JENA-464:


You guys are awesome :)

> Errors in the example code supplied with the Jena download
> --
>
> Key: JENA-464
> URL: https://issues.apache.org/jira/browse/JENA-464
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ, Jena
>Affects Versions: ARQ 2.9.4, Jena 2.10.1
> Environment: I don't think this is relevant, however just in case: 
> Eclipse Juno Service Release 2, Java 1.7, Ubuntu 12.04 64-bit, Jena 2.10.1
>Reporter: John Ringland
>Assignee: Andy Seaborne
>Priority: Trivial
>  Labels: code, error, examples
> Fix For: Jena 2.10.2
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Two types of errors in the example code:
> Error 1: (simple solution given)
> When trying to run the example code in src-examples/arq/examples/update I got 
> the error message:
> Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: 
> Encountered "  " "" at line 1, column 38.
> Was expecting:
> "graph" ...
> An example of the offending code from UpdateExecuteOperations.java is:
> UpdateFactory.parse(request, "LOAD  INTO 
> ") ;
> When I tried changing "INTO" to "INTO GRAPH" the examples worked fine.
> Error 2: (solution unknown)
> After importing all the src-examples into an eclipse project (properly 
> configured with all the libraries in apache-jena-2.10.1/lib) all the example 
> code compiled except for src-examples/org/apache/jena/example/Base.java
> Because several examples depend on Base.java those examples cannot be run.
> In Base.java Eclipse complains that org.apache.commons.cli.* cannot be 
> resolved.
> Furthermore there are numerous other compile errors throughout that file, 
> which may be related to the missing import.
> I resolved the error re CommandLine by importing jena.cmdline.CommandLine
> To resolve the error re ParseException there are multiple possible imports 
> and it is not clear which is required.
> Regarding the other errors (Options, GnuParser, HelpFormatter) eclipse could 
> not find anything from the Jena libraries to suggest for import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-464) Errors in the example code supplied with the Jena download

2013-06-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673101#comment-13673101
 ] 

Hudson commented on JENA-464:
-

Integrated in Jena__Development_Test #672 (See 
[https://builds.apache.org/job/Jena__Development_Test/672/])
JENA-464: Include jena-examples/ whole (Revision 1488982)

 Result = SUCCESS
andy : 
Files : 
* /jena/trunk/apache-jena/assembly-jena-zip.xml
* /jena/trunk/jena-examples/pom.xml


> Errors in the example code supplied with the Jena download
> --
>
> Key: JENA-464
> URL: https://issues.apache.org/jira/browse/JENA-464
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ, Jena
>Affects Versions: ARQ 2.9.4, Jena 2.10.1
> Environment: I don't think this is relevant, however just in case: 
> Eclipse Juno Service Release 2, Java 1.7, Ubuntu 12.04 64-bit, Jena 2.10.1
>Reporter: John Ringland
>Assignee: Andy Seaborne
>Priority: Trivial
>  Labels: code, error, examples
> Fix For: Jena 2.10.2
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Two types of errors in the example code:
> Error 1: (simple solution given)
> When trying to run the example code in src-examples/arq/examples/update I got 
> the error message:
> Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: 
> Encountered "  " "" at line 1, column 38.
> Was expecting:
> "graph" ...
> An example of the offending code from UpdateExecuteOperations.java is:
> UpdateFactory.parse(request, "LOAD  INTO 
> ") ;
> When I tried changing "INTO" to "INTO GRAPH" the examples worked fine.
> Error 2: (solution unknown)
> After importing all the src-examples into an eclipse project (properly 
> configured with all the libraries in apache-jena-2.10.1/lib) all the example 
> code compiled except for src-examples/org/apache/jena/example/Base.java
> Because several examples depend on Base.java those examples cannot be run.
> In Base.java Eclipse complains that org.apache.commons.cli.* cannot be 
> resolved.
> Furthermore there are numerous other compile errors throughout that file, 
> which may be related to the missing import.
> I resolved the error re CommandLine by importing jena.cmdline.CommandLine
> To resolve the error re ParseException there are multiple possible imports 
> and it is not clear which is required.
> Regarding the other errors (Options, GnuParser, HelpFormatter) eclipse could 
> not find anything from the Jena libraries to suggest for import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-464) Errors in the example code supplied with the Jena download

2013-06-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673095#comment-13673095
 ] 

Hudson commented on JENA-464:
-

Integrated in Jena__Development_Test #671 (See 
[https://builds.apache.org/job/Jena__Development_Test/671/])
JENA-464 : Use strict SPARQL 1.1 syntax for LOAD ... INTO GRAPH ... 
(Revision 1488979)

 Result = SUCCESS
andy : 
Files : 
* 
/jena/trunk/jena-arq/src-examples/arq/examples/update/UpdateExecuteOperations.java


> Errors in the example code supplied with the Jena download
> --
>
> Key: JENA-464
> URL: https://issues.apache.org/jira/browse/JENA-464
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ, Jena
>Affects Versions: ARQ 2.9.4, Jena 2.10.1
> Environment: I don't think this is relevant, however just in case: 
> Eclipse Juno Service Release 2, Java 1.7, Ubuntu 12.04 64-bit, Jena 2.10.1
>Reporter: John Ringland
>Priority: Trivial
>  Labels: code, error, examples
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Two types of errors in the example code:
> Error 1: (simple solution given)
> When trying to run the example code in src-examples/arq/examples/update I got 
> the error message:
> Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: 
> Encountered "  " "" at line 1, column 38.
> Was expecting:
> "graph" ...
> An example of the offending code from UpdateExecuteOperations.java is:
> UpdateFactory.parse(request, "LOAD  INTO 
> ") ;
> When I tried changing "INTO" to "INTO GRAPH" the examples worked fine.
> Error 2: (solution unknown)
> After importing all the src-examples into an eclipse project (properly 
> configured with all the libraries in apache-jena-2.10.1/lib) all the example 
> code compiled except for src-examples/org/apache/jena/example/Base.java
> Because several examples depend on Base.java those examples cannot be run.
> In Base.java Eclipse complains that org.apache.commons.cli.* cannot be 
> resolved.
> Furthermore there are numerous other compile errors throughout that file, 
> which may be related to the missing import.
> I resolved the error re CommandLine by importing jena.cmdline.CommandLine
> To resolve the error re ParseException there are multiple possible imports 
> and it is not clear which is required.
> Regarding the other errors (Options, GnuParser, HelpFormatter) eclipse could 
> not find anything from the Jena libraries to suggest for import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-464) Errors in the example code supplied with the Jena download

2013-06-03 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673093#comment-13673093
 ] 

ASF subversion and git services commented on JENA-464:
--

Commit 1488982 from [~andy.seaborne]
[ https://svn.apache.org/r1488982 ]

JENA-464: Include jena-examples/ whole

> Errors in the example code supplied with the Jena download
> --
>
> Key: JENA-464
> URL: https://issues.apache.org/jira/browse/JENA-464
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ, Jena
>Affects Versions: ARQ 2.9.4, Jena 2.10.1
> Environment: I don't think this is relevant, however just in case: 
> Eclipse Juno Service Release 2, Java 1.7, Ubuntu 12.04 64-bit, Jena 2.10.1
>Reporter: John Ringland
>Priority: Trivial
>  Labels: code, error, examples
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Two types of errors in the example code:
> Error 1: (simple solution given)
> When trying to run the example code in src-examples/arq/examples/update I got 
> the error message:
> Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: 
> Encountered "  " "" at line 1, column 38.
> Was expecting:
> "graph" ...
> An example of the offending code from UpdateExecuteOperations.java is:
> UpdateFactory.parse(request, "LOAD  INTO 
> ") ;
> When I tried changing "INTO" to "INTO GRAPH" the examples worked fine.
> Error 2: (solution unknown)
> After importing all the src-examples into an eclipse project (properly 
> configured with all the libraries in apache-jena-2.10.1/lib) all the example 
> code compiled except for src-examples/org/apache/jena/example/Base.java
> Because several examples depend on Base.java those examples cannot be run.
> In Base.java Eclipse complains that org.apache.commons.cli.* cannot be 
> resolved.
> Furthermore there are numerous other compile errors throughout that file, 
> which may be related to the missing import.
> I resolved the error re CommandLine by importing jena.cmdline.CommandLine
> To resolve the error re ParseException there are multiple possible imports 
> and it is not clear which is required.
> Regarding the other errors (Options, GnuParser, HelpFormatter) eclipse could 
> not find anything from the Jena libraries to suggest for import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-464) Errors in the example code supplied with the Jena download

2013-06-03 Thread Andy Seaborne (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673092#comment-13673092
 ] 

Andy Seaborne commented on JENA-464:


Error 1: fixed the syntax (was using old syntax and depending on compatibility 
extensions no longer available).

Error 2: this code needs the Apache Commons CLI which is not used in Jena 
libraries.
As this particular area has a POM file, I've changed the build of the 
distribution to include the whole of jena-examples, with its maven layout and 
POM file.

Thanks for the report and the details.

> Errors in the example code supplied with the Jena download
> --
>
> Key: JENA-464
> URL: https://issues.apache.org/jira/browse/JENA-464
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ, Jena
>Affects Versions: ARQ 2.9.4, Jena 2.10.1
> Environment: I don't think this is relevant, however just in case: 
> Eclipse Juno Service Release 2, Java 1.7, Ubuntu 12.04 64-bit, Jena 2.10.1
>Reporter: John Ringland
>Priority: Trivial
>  Labels: code, error, examples
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Two types of errors in the example code:
> Error 1: (simple solution given)
> When trying to run the example code in src-examples/arq/examples/update I got 
> the error message:
> Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: 
> Encountered "  " "" at line 1, column 38.
> Was expecting:
> "graph" ...
> An example of the offending code from UpdateExecuteOperations.java is:
> UpdateFactory.parse(request, "LOAD  INTO 
> ") ;
> When I tried changing "INTO" to "INTO GRAPH" the examples worked fine.
> Error 2: (solution unknown)
> After importing all the src-examples into an eclipse project (properly 
> configured with all the libraries in apache-jena-2.10.1/lib) all the example 
> code compiled except for src-examples/org/apache/jena/example/Base.java
> Because several examples depend on Base.java those examples cannot be run.
> In Base.java Eclipse complains that org.apache.commons.cli.* cannot be 
> resolved.
> Furthermore there are numerous other compile errors throughout that file, 
> which may be related to the missing import.
> I resolved the error re CommandLine by importing jena.cmdline.CommandLine
> To resolve the error re ParseException there are multiple possible imports 
> and it is not clear which is required.
> Regarding the other errors (Options, GnuParser, HelpFormatter) eclipse could 
> not find anything from the Jena libraries to suggest for import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-464) Errors in the example code supplied with the Jena download

2013-06-03 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673079#comment-13673079
 ] 

ASF subversion and git services commented on JENA-464:
--

Commit 1488979 from [~andy.seaborne]
[ https://svn.apache.org/r1488979 ]

JENA-464 : Use strict SPARQL 1.1 syntax for LOAD ... INTO GRAPH ...

> Errors in the example code supplied with the Jena download
> --
>
> Key: JENA-464
> URL: https://issues.apache.org/jira/browse/JENA-464
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ, Jena
>Affects Versions: ARQ 2.9.4, Jena 2.10.1
> Environment: I don't think this is relevant, however just in case: 
> Eclipse Juno Service Release 2, Java 1.7, Ubuntu 12.04 64-bit, Jena 2.10.1
>Reporter: John Ringland
>Priority: Trivial
>  Labels: code, error, examples
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Two types of errors in the example code:
> Error 1: (simple solution given)
> When trying to run the example code in src-examples/arq/examples/update I got 
> the error message:
> Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: 
> Encountered "  " "" at line 1, column 38.
> Was expecting:
> "graph" ...
> An example of the offending code from UpdateExecuteOperations.java is:
> UpdateFactory.parse(request, "LOAD  INTO 
> ") ;
> When I tried changing "INTO" to "INTO GRAPH" the examples worked fine.
> Error 2: (solution unknown)
> After importing all the src-examples into an eclipse project (properly 
> configured with all the libraries in apache-jena-2.10.1/lib) all the example 
> code compiled except for src-examples/org/apache/jena/example/Base.java
> Because several examples depend on Base.java those examples cannot be run.
> In Base.java Eclipse complains that org.apache.commons.cli.* cannot be 
> resolved.
> Furthermore there are numerous other compile errors throughout that file, 
> which may be related to the missing import.
> I resolved the error re CommandLine by importing jena.cmdline.CommandLine
> To resolve the error re ParseException there are multiple possible imports 
> and it is not clear which is required.
> Regarding the other errors (Options, GnuParser, HelpFormatter) eclipse could 
> not find anything from the Jena libraries to suggest for import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira