Basex with JSmooth

Monday, 10 April 2017 · 3 messages
TD
Tushar Deshmukh10 Apr 2017 04:49 #
Namaste, I want to start Basex HTTP server using Jsmooth (I want to make .exe file from BasexHTTP.jar.) I am not able to do so because which class is to be instantiate. Any link/Help is appreciated. Mangal Bhavna Sahit, Tushar
MG
Maximilian Gärber10 Apr 2017 09:11 #
Hi, it is org.basex.BaseXHTTP just have a look at the start script: https://github.com/BaseXdb/basex/blob/0f970efc419bc067bd03a66438177eb7f884d82a/basex-api/etc/basexhttp.bat#L18 Br, Max 2017-04-10 4:49 GMT+02:00 Tushar Deshmukh <tdlwala at gmail.com>:
Quoted text · Tushar Deshmukh · 9 lines
> Namaste, > > I want to start Basex HTTP server using Jsmooth > (I want to make .exe file from BasexHTTP.jar.) > I am not able to do so because which class is to be instantiate. Any > link/Help is appreciated. > > Mangal Bhavna Sahit, > Tushar
MG
Maximilian Gärber10 Apr 2017 10:36 #
Hi, you might need to check that all needed libs are on your classpath, the .bat does this with this line: set CP=%MAIN%/target/classes;%MAIN%/lib/*;%MAIN%/../basex-core/lib/* Replace %MAIN% with wathever JSmooth gives you as the project directory variable in such a way that e.g. %PROJECT%/target/classes will match your new setup. NOTE: * Please always post to the list as well, others might add valuable feedback anytime * If you include more infos, e.g. error messages, more people might be able to help Br, Max 2017-04-10 9:34 GMT+02:00 Tushar Deshmukh <tdlwala at gmail.com>:
Quoted text · Maximilian Gärber · 38 lines
> Namaste Max, > > PFA a screen shot for making .exe file. I m not able to create it. > > I am not able to instantiate BaseXHTTP class in java also (after importing > org.basex.*;). Please what is going wrong. > > For normal user .exe file is more appropriate than yajsw. > > Mangal Bhavna Sahit, > Tushar > > On Mon, Apr 10, 2017 at 12:41 PM, Maximilian Gärber <mgaerber at arcor.de> > wrote: >> >> Hi, >> >> it is org.basex.BaseXHTTP >> >> just have a look at the start script: >> >> https://github.com/BaseXdb/basex/blob/0f970efc419bc067bd03a66438177eb7f884d82a/basex-api/etc/basexhttp.bat#L18 >> >> Br, >> Max >> >> 2017-04-10 4:49 GMT+02:00 Tushar Deshmukh <tdlwala at gmail.com>: >> > Namaste, >> > >> > I want to start Basex HTTP server using Jsmooth >> > (I want to make .exe file from BasexHTTP.jar.) >> > I am not able to do so because which class is to be instantiate. Any >> > link/Help is appreciated. >> > >> > Mangal Bhavna Sahit, >> > Tushar > >

⚡Generated with XQuery