[Scilab-users] Problem to create file .Jar, is getting empty
Samuel Gougeon
sgougeon at free.fr
Wed Jun 7 23:04:08 CEST 2017
Le 07/06/2017 à 18:14, Jonas a écrit :
> I have a doubt.
> How do you create .jar used in help.
>
> When I have create, the .jar file is getting empty
>
> I do this: [1]Help_from_sci, [2]Xmltojar
>
> // first generate the .xml files
> Help_from_sci (dirname, helpdir);
Unless you have renamed functions, this does not work. The Scilab
function is help_from_sci(), without capital.
>
> // then generate the .jar file
> My_english_help_dir = my_module_path + '/ help / en_US';
> My_english_help_title = 'toolbox_test';
>
> Xmltojar (my_english_help_dir, my_english_help_title, 'en_US');
Same remark.
Independently of loading (successfully or not) the chapter, you are
reporting that the .jar file is created but empty: when you open it,
there is no file in it. Is that right ?
If so: a common reason is that a compilation error occurred when
building the help.
If you are running Scilab on MSWindows, compilation errors are sent to
an external terminal named the "consolebox", instead to the Scilab
console. To get them in order to debug your pages, you may type:
--> consolebox on
and then see and take into account messages displayed in it.
HTH
Samuel Gougeon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170607/8efbe4c2/attachment.htm>
More information about the users
mailing list