Re: [basex-talk] Creating a Basex database directly from tarred XML?

2014-02-15 Thread Christian Grün
Hi Constantine,

Currently, there is no such feature in BaseX, because Java does not come
with tar support, but it could surely be added. I'll keep your suggestion
in mind, and I'll give you an update if sth. is done in this direction.

Christian
 Am 14.02.2014 14:56 schrieb Hondros, Constantine (ELS-AMS) 
c.hond...@elsevier.com:

  Hello all,



 Is there a known workaround for creating a db from tarred XML using the
 Database - New menu? I can always untar the tarfile first, but it would be
 sort-of nice just to point at the tarfile and load.



 TIA,

 Constantine



 --

 Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The
 Netherlands, Registration No. 33156677, Registered in The Netherlands.

 ___
 BaseX-Talk mailing list
 BaseX-Talk@mailman.uni-konstanz.de
 https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


Re: [basex-talk] Creating a Basex database directly from tarred XML?

2014-02-15 Thread Christian Grün
Hi Constantine,

The latest BaseX snapshot now supports the import of (uncompressed)
tar files [1].

Your feedback is welcome,
Christian

[1] http://files.basex.org/releases/latest/


On Fri, Feb 14, 2014 at 2:54 PM, Hondros, Constantine (ELS-AMS)
c.hond...@elsevier.com wrote:
 Hello all,

 Is there a known workaround for creating a db from tarred XML using the
 Database - New menu? I can always untar the tarfile first, but it would be
 sort-of nice just to point at the tarfile and load.

 TIA,
 Constantine
 

 Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The
 Netherlands, Registration No. 33156677, Registered in The Netherlands.


 ___
 BaseX-Talk mailing list
 BaseX-Talk@mailman.uni-konstanz.de
 https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


Re: [basex-talk] Creating a Basex database directly from tarred XML?

2014-02-15 Thread Christian Grün
...some more news: gzipped tar files (.tgz) are now supported as well.

Hope this helps,
Christian
___

On Sat, Feb 15, 2014 at 2:02 PM, Christian Grün
christian.gr...@gmail.com wrote:
 Hi Constantine,

 The latest BaseX snapshot now supports the import of (uncompressed)
 tar files [1].

 Your feedback is welcome,
 Christian

 [1] http://files.basex.org/releases/latest/


 On Fri, Feb 14, 2014 at 2:54 PM, Hondros, Constantine (ELS-AMS)
 c.hond...@elsevier.com wrote:
 Hello all,

 Is there a known workaround for creating a db from tarred XML using the
 Database - New menu? I can always untar the tarfile first, but it would be
 sort-of nice just to point at the tarfile and load.

 TIA,
 Constantine
 

 Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The
 Netherlands, Registration No. 33156677, Registered in The Netherlands.


 ___
 BaseX-Talk mailing list
 BaseX-Talk@mailman.uni-konstanz.de
 https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


Re: [basex-talk] How do I create UNIX/Linux shell scripts that connect to BASEXCLIENT

2014-02-15 Thread Christian Grün
Hi Daiane,

please check out the start options from the BaseX client:

  http://docs.basex.org/wiki/Command-Line_Options#BaseX_Client

Cheers,
Christian


On Sat, Feb 15, 2014 at 5:57 PM, DAIANE ROBERTA CANDIDA
dair...@hotmail.com wrote:
 Hello,

 I want to create a Shell script to connect basexclient, running queries and
 put the output into a file.

 How can I do that?


 Regards,

 Daiane

 ___
 BaseX-Talk mailing list
 BaseX-Talk@mailman.uni-konstanz.de
 https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


Re: [basex-talk] How do I create UNIX/Linux shell scripts that connect to BASEXCLIENT

2014-02-15 Thread Alexander Holupirek
Hi Daiane,

Start server:

$ basexserver 

Use client to connect, execute query and store result in file:

$ basexclient -U admin -P admin -o result.tx 1+1
$ cat result.txt
2

Doing stuff like that from within a shell script should be no problem.
Are there any specific issues you are facing?

Alex

On 15.02.2014, at 17:57, DAIANE ROBERTA CANDIDA dair...@hotmail.com wrote:

 Hello,
 
 I want to create a Shell script to connect basexclient, running queries and 
 put the output into a file.
 
 How can I do that?
 
 
 Regards,
 
 Daiane

___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk