ligasgr / intellij-xquery

Plugin to support XQuery in Intellij Idea
Apache License 2.0
35 stars 23 forks source link

Run/Debug relative to a XQuery main module #101

Closed lucasia closed 10 years ago

lucasia commented 10 years ago

Oxygen supports running with Saxon using the path of the XQuery main module, which allows us to use relative paths for imports.

With the Intellij plugin, I can get this to work by setting the Working Directory under Java Configuration in the Run/Debug Configurations (see screenshot). However, it is a pain to set this each time for different module paths.

One solution could be to have a setting in the the plugin to default the path to the main module directory, but sure there are other options.

Thanks! -ian

image

ligasgr commented 10 years ago

Hi,

I've introduced Saxon (native) data source type in this release. After some testing it looks like this issue is not affecting it. Can you please try it out? I'll try to also prepare a fix for xqj version of runner to support it as well.

lucasia commented 10 years ago

Saxon (native) fixes the issue, so closing the ticket. Thanks!