Hi Dilshan,

it seems that the options for the Java VM were used as command line options for the main method of VXQuqery’s CLI.
Probably there’s a different box for the VM options in Eclipse.

Cheers,
Till

On 5 Mar 2016, at 2:39, Dilshan Pathirana wrote:

I get the following erroe when debugging using eclipse
Exception in thread "main" java.io.FileNotFoundException: File
'JAVA_OPTS=-Xmx1024m -Xdebug -Xrunjdwp:transport=dt_socket,address=
127.0.0.1:8000,server=y,suspend=y' does not exist
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:136) at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:961)
 at org.apache.vxquery.cli.VXQuery.slurp(VXQuery.java:349)
 at org.apache.vxquery.cli.VXQuery.runQueries(VXQuery.java:177)
 at org.apache.vxquery.cli.VXQuery.execute(VXQuery.java:156)
 at org.apache.vxquery.cli.VXQuery.main(VXQuery.java:115)

On 5 March 2016 at 15:34, Dilshan Pathirana <[email protected]>
wrote:

I can anyone please help me with how to run a sample query in eclipse
after setting up vxquery in eclipse

On 5 March 2016 at 06:19, Preston Carman (JIRA) <[email protected]> wrote:


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

Preston Carman commented on VXQUERY-184:
----------------------------------------

Please confirm the fix is on master. If so, resolve this issue.

Unordered result of order-by
----------------------------

             Key: VXQUERY-184
             URL: https://issues.apache.org/jira/browse/VXQUERY-184
         Project: VXQuery
      Issue Type: Question
        Reporter: Christina Pavlopoulou
        Assignee: Preston Carman
        Priority: Minor

I tried to run the following query in VXQUERY:
for $x in doc("books.xml")/bookstore/book
order by $x/title
return $x/title
The result I got was not ordered. But if I change the second line to
this:
order by data($x/title) the result is correct.
Why does this happen?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)



Reply via email to