diff options
author | Sylvestre Ledru <sylvestre.ledru@scilab.org> | 2011-05-09 20:36:23 +0200 |
---|---|---|
committer | Vincent COUVERT <vincent.couvert@scilab.org> | 2011-05-10 10:58:20 +0200 |
commit | 0506c1885f79f8cae9579a0df8f5581cf87f1ddc (patch) | |
tree | c5697146ac95a8b91122101def83f54057a7f909 /scilab/modules | |
parent | 1461503766e0be2e3818d7acb40cabf4aed853be (diff) | |
download | scilab-0506c1885f79f8cae9579a0df8f5581cf87f1ddc.zip scilab-0506c1885f79f8cae9579a0df8f5581cf87f1ddc.tar.gz |
Display more information in case of error
Change-Id: I3100b926d8462eea7a632c8177a020e918e83c94
Diffstat (limited to 'scilab/modules')
-rw-r--r-- | scilab/modules/helptools/sci_gateway/cpp/sci_buildDoc.cpp | 1 | ||||
-rw-r--r-- | scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scilab/modules/helptools/sci_gateway/cpp/sci_buildDoc.cpp b/scilab/modules/helptools/sci_gateway/cpp/sci_buildDoc.cpp index 747b566..e16c58f 100644 --- a/scilab/modules/helptools/sci_gateway/cpp/sci_buildDoc.cpp +++ b/scilab/modules/helptools/sci_gateway/cpp/sci_buildDoc.cpp | |||
@@ -244,6 +244,7 @@ extern "C" | |||
244 | { | 244 | { |
245 | Scierror(999,_("%s: Error while building documentation: %s.\n"), fname, ex.getJavaDescription().c_str()); | 245 | Scierror(999,_("%s: Error while building documentation: %s.\n"), fname, ex.getJavaDescription().c_str()); |
246 | Scierror(999,_("%s: Execution Java stack %s.\n"), fname, ex.getJavaStackTrace().c_str()); | 246 | Scierror(999,_("%s: Execution Java stack %s.\n"), fname, ex.getJavaStackTrace().c_str()); |
247 | Scierror(999,_("If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1\n")); | ||
247 | return FALSE; | 248 | return FALSE; |
248 | } | 249 | } |
249 | 250 | ||
diff --git a/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp b/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp index d06c2e2..7235b6e 100644 --- a/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp +++ b/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp | |||
@@ -227,7 +227,7 @@ extern "C" | |||
227 | { | 227 | { |
228 | doc->setWorkingLanguage((char *) language.c_str()); | 228 | doc->setWorkingLanguage((char *) language.c_str()); |
229 | doc->setExportFormat((char *) exportFormat.c_str()); | 229 | doc->setExportFormat((char *) exportFormat.c_str()); |
230 | doc->setIsToolbox(Rhs == 4); | 230 | doc->setIsToolbox(Rhs == 4); |
231 | doc->process((char *) masterXML.c_str(), (char *) styleSheet.c_str()); | 231 | doc->process((char *) masterXML.c_str(), (char *) styleSheet.c_str()); |
232 | } | 232 | } |
233 | else | 233 | else |
@@ -240,6 +240,7 @@ extern "C" | |||
240 | { | 240 | { |
241 | Scierror(999,_("%s: Error while building documentation: %s.\n"), fname, ex.getJavaDescription().c_str()); | 241 | Scierror(999,_("%s: Error while building documentation: %s.\n"), fname, ex.getJavaDescription().c_str()); |
242 | Scierror(999,_("%s: Execution Java stack: %s.\n"), fname, ex.getJavaStackTrace().c_str()); | 242 | Scierror(999,_("%s: Execution Java stack: %s.\n"), fname, ex.getJavaStackTrace().c_str()); |
243 | Scierror(999,_("If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1\n")); | ||
243 | return FALSE; | 244 | return FALSE; |
244 | } | 245 | } |
245 | 246 | ||