Draft of JIMS based on external object 64/11664/3
Sylvestre Ledru [Thu, 6 Jun 2013 15:45:12 +0000 (17:45 +0200)]
Change-Id: I509102569587034b005216a5ae6e1a82ff90cab7

179 files changed:
scilab/configure
scilab/configure.ac
scilab/etc/classpath.xml.in
scilab/etc/classpath.xml.vc
scilab/etc/modules.xml.in
scilab/etc/modules.xml.vc
scilab/modules/Makefile.am
scilab/modules/Makefile.in
scilab/modules/core/includes/callinterf.h
scilab/modules/core/src/c/callinterf.c
scilab/modules/core/src/c/dynamic_gateways.c
scilab/modules/core/src/c/dynamic_gateways.h
scilab/modules/external_objects/includes/ExternalObjects.h
scilab/modules/external_objects/src/cpp/ScilabObjects.cpp
scilab/modules/external_objects/src/cpp/newInstance.cpp
scilab/modules/external_objects_java/Makefile.am [new file with mode: 0644]
scilab/modules/external_objects_java/Makefile.in [new file with mode: 0644]
scilab/modules/external_objects_java/TODO [new file with mode: 0644]
scilab/modules/external_objects_java/build.xml [new file with mode: 0644]
scilab/modules/external_objects_java/core_Import.def [new file with mode: 0644]
scilab/modules/external_objects_java/core_f_Import.def [new file with mode: 0644]
scilab/modules/external_objects_java/etc/external_objects_java.quit [new file with mode: 0644]
scilab/modules/external_objects_java/etc/external_objects_java.start [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.iss [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.rc [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.vcxproj [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.vcxproj.filters [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/addchapter.sce [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jallowClassReloading.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jarray.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jautoUnwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jcast.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jcompile.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jconvMatrixMethod.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jdeff.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jdisableTrace.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jenableTrace.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jexists.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetclassname.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetfield.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetfields.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetmethods.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jimport.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jimsgetpath.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jinvoke.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jinvoke_db.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jnewInstance.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jnull.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jremove.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jsetfield.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/junwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/junwraprem.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jvoid.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jwrapinchar.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jwrapinfloat.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/new.xml [new file with mode: 0644]
scilab/modules/external_objects_java/includes/#ScilabGateway.hxx# [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ExternalObjects.h [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ExternalObjectsFunction.h [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabAbstractInvoker.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabAbstractMemoryAllocator.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabAbstractOptionsSetter.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabAutoCleaner.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabEnvironments.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabGateway.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabGatewayOptions.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabObjects.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabOptionsSetter.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/ScilabStream.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/includes/dynlib_external_objects_java_scilab.h [new file with mode: 0644]
scilab/modules/external_objects_java/includes/gw_external_objects_java.h [new file with mode: 0644]
scilab/modules/external_objects_java/license.txt [new file with mode: 0644]
scilab/modules/external_objects_java/locales/cs_CZ.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/external_objects.pot [new file with mode: 0644]
scilab/modules/external_objects_java/locales/fr_FR.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/it_IT.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/ja_JP.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/ru_RU.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/uk_UA.po [new file with mode: 0644]
scilab/modules/external_objects_java/macros/!_deff_wrapper.sci [new file with mode: 0644]
scilab/modules/external_objects_java/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/external_objects_java/macros/buildmacros.sce [new file with mode: 0644]
scilab/modules/external_objects_java/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/c/gw_external_objects_java.c [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jallowClassReloading.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jarray.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jcast.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jcompile.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jdeff.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jdisableTrace.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jenableTrace.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jexists.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetclassname.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetfield.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetfields.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetmethods.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jimport.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jnewInstance.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jremove.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_junwrap.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_junwraprem.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jvoid.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jwrap.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/external_objects_java_gateway.xml [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JIMSwrapunwrap.h [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JavaOptionsHelper.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JavaOptionsSetter.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JavaOptionsSetter.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/NoMoreScilabMemoryException.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/NoMoreScilabMemoryException.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironment.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironment.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironmentWrapper.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironmentWrapper.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaException.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaObjectHelper.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabObjects.giws.xml [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabObjectsCPP.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/WrapAsDirectBuffer.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/WrapAsDirectBufferTemplate.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/builder_cpp.sce [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/dllMain.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/noMoreMemory.h [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/unwrap.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/wrap.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/wrapwithcast.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/FunctionArguments.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabClassLoader.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaArray.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaClass.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaCompiler.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaConstructor.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaException.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaMethod.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaObject.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabClassLoader.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabClassLoader.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaArray.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaArray.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaClass.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaClass.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaCompiler.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaCompiler.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaObject.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaObject.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabObjects.giws.xml [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/invoke.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/invoke.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jallowClassReloading.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jarray.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcast.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcompile.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcompile.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jdeff.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jdeff.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jenableTrace.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jenableTrace.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jexists.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jexists.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetclassname.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetclassname.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfield.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfield.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfields.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfields.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetmethods.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetmethods.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jimport.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jimport.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jnewInstance.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jnewInstance.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/junwraprem.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/junwraprem.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jwrap.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jwrap.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/new.tst [new file with mode: 0644]
scilab/scilab-lib.properties.in
scilab/scilab-lib.properties.vc

index 853a0ef..236e47b 100755 (executable)
@@ -39261,7 +39261,7 @@ SCI_LDFLAGS=$(echo  $LARGEFILE_LDFLAGS  $CODECOVERAGE_LDFLAGS  $DEBUG_LDFLAGS  $
 
 
 
-ac_config_files="$ac_config_files contrib/Makefile desktop/images/icons/Makefile desktop/Makefile modules/helptools/Makefile modules/data_structures/Makefile modules/differential_equations/Makefile modules/optimization/Makefile modules/elementary_functions/Makefile modules/special_functions/Makefile modules/io/Makefile modules/completion/Makefile modules/history_manager/Makefile modules/jvm/Makefile modules/commons/Makefile modules/sound/Makefile modules/statistics/Makefile modules/mexlib/Makefile modules/sparse/Makefile modules/linear_algebra/Makefile modules/polynomials/Makefile modules/symbolic/Makefile modules/signal_processing/Makefile modules/arnoldi/Makefile modules/interpolation/Makefile modules/intersci/Makefile modules/localization/Makefile modules/cacsd/Makefile modules/boolean/Makefile modules/integer/Makefile modules/double/Makefile modules/fileio/Makefile modules/spreadsheet/Makefile modules/string/Makefile modules/time/Makefile modules/graphics/Makefile modules/graphic_export/Makefile modules/graphic_objects/Makefile modules/renderer/Makefile modules/action_binding/Makefile modules/gui/Makefile modules/randlib/Makefile modules/tclsci/Makefile modules/windows_tools/Makefile modules/core/Makefile modules/prebuildjava/Makefile modules/api_scilab/Makefile modules/call_scilab/Makefile modules/types/Makefile modules/hdf5/Makefile modules/fftw/Makefile modules/umfpack/Makefile modules/scicos/Makefile modules/scicos_blocks/Makefile modules/functions/Makefile modules/dynamic_link/Makefile modules/overloading/Makefile modules/javasci/Makefile modules/m2sci/Makefile modules/compatibility_functions/Makefile modules/development_tools/Makefile modules/output_stream/Makefile modules/console/Makefile modules/demo_tools/Makefile modules/genetic_algorithms/Makefile modules/simulated_annealing/Makefile modules/parameters/Makefile modules/matio/Makefile modules/atoms/Makefile modules/xcos/Makefile modules/scinotes/Makefile modules/ui_data/Makefile modules/graph/Makefile modules/parallel/Makefile modules/modules_manager/Makefile modules/history_browser/Makefile modules/preferences/Makefile modules/xml/Makefile modules/external_objects/Makefile modules/Makefile Makefile scilab.pc etc/modules.xml etc/classpath.xml etc/Info.plist etc/logging.properties scilab.properties scilab-lib.properties scilab-lib-doc.properties modules/helptools/etc/SciDocConf.xml modules/core/includes/version.h"
+ac_config_files="$ac_config_files contrib/Makefile desktop/images/icons/Makefile desktop/Makefile modules/helptools/Makefile modules/data_structures/Makefile modules/differential_equations/Makefile modules/optimization/Makefile modules/elementary_functions/Makefile modules/special_functions/Makefile modules/io/Makefile modules/completion/Makefile modules/history_manager/Makefile modules/jvm/Makefile modules/commons/Makefile modules/sound/Makefile modules/statistics/Makefile modules/mexlib/Makefile modules/sparse/Makefile modules/linear_algebra/Makefile modules/polynomials/Makefile modules/symbolic/Makefile modules/signal_processing/Makefile modules/arnoldi/Makefile modules/interpolation/Makefile modules/intersci/Makefile modules/localization/Makefile modules/cacsd/Makefile modules/boolean/Makefile modules/integer/Makefile modules/double/Makefile modules/fileio/Makefile modules/spreadsheet/Makefile modules/string/Makefile modules/time/Makefile modules/graphics/Makefile modules/graphic_export/Makefile modules/graphic_objects/Makefile modules/renderer/Makefile modules/action_binding/Makefile modules/gui/Makefile modules/randlib/Makefile modules/tclsci/Makefile modules/windows_tools/Makefile modules/core/Makefile modules/prebuildjava/Makefile modules/api_scilab/Makefile modules/call_scilab/Makefile modules/types/Makefile modules/hdf5/Makefile modules/fftw/Makefile modules/umfpack/Makefile modules/scicos/Makefile modules/scicos_blocks/Makefile modules/functions/Makefile modules/dynamic_link/Makefile modules/overloading/Makefile modules/javasci/Makefile modules/m2sci/Makefile modules/compatibility_functions/Makefile modules/development_tools/Makefile modules/output_stream/Makefile modules/console/Makefile modules/demo_tools/Makefile modules/genetic_algorithms/Makefile modules/simulated_annealing/Makefile modules/parameters/Makefile modules/matio/Makefile modules/atoms/Makefile modules/xcos/Makefile modules/scinotes/Makefile modules/ui_data/Makefile modules/graph/Makefile modules/parallel/Makefile modules/modules_manager/Makefile modules/history_browser/Makefile modules/preferences/Makefile modules/xml/Makefile modules/external_objects/Makefile modules/external_objects_java/Makefile modules/Makefile Makefile scilab.pc etc/modules.xml etc/classpath.xml etc/Info.plist etc/logging.properties scilab.properties scilab-lib.properties scilab-lib-doc.properties modules/helptools/etc/SciDocConf.xml modules/core/includes/version.h"
 
 
 # Detection of the module for the future version of Scilab 6
@@ -40671,6 +40671,7 @@ do
     "modules/preferences/Makefile") CONFIG_FILES="$CONFIG_FILES modules/preferences/Makefile" ;;
     "modules/xml/Makefile") CONFIG_FILES="$CONFIG_FILES modules/xml/Makefile" ;;
     "modules/external_objects/Makefile") CONFIG_FILES="$CONFIG_FILES modules/external_objects/Makefile" ;;
+    "modules/external_objects_java/Makefile") CONFIG_FILES="$CONFIG_FILES modules/external_objects_java/Makefile" ;;
     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "scilab.pc") CONFIG_FILES="$CONFIG_FILES scilab.pc" ;;
index ed7519f..2af1674 100644 (file)
@@ -1906,6 +1906,7 @@ modules/history_browser/Makefile
 modules/preferences/Makefile
 modules/xml/Makefile
 modules/external_objects/Makefile
+modules/external_objects_java/Makefile
 modules/Makefile
 Makefile
 scilab.pc
index 34ecd23..3c86954 100644 (file)
@@ -189,4 +189,6 @@ The option is "disableUnderMode" and can be:
 
 <path value="$SCILAB/modules/history_browser/jar/org.scilab.modules.history_browser.jar" disableUnderMode="NW"/>
 
+<path value="$SCILAB/modules/external_objects_java/jar/org.scilab.modules.external_objects_java.jar" />
+
 </classpaths>
index 1755334..5389719 100644 (file)
@@ -189,4 +189,6 @@ The option is "disableUnderMode" and can be:
 
 <path value="$SCILAB/modules/history_browser/jar/org.scilab.modules.history_browser.jar" disableUnderMode="NW"/>
 
+<path value="$SCILAB/modules/external_objects_java/jar/org.scilab.modules.external_objects_java.jar" />
+
 </classpaths>
index e24cc00..4a27192 100644 (file)
@@ -89,5 +89,6 @@
 <module name="preferences" activate="@GUI_ENABLE@"/>
 <module name="xml" activate="yes"/>
 <module name="external_objects" activate="yes"/>
+<module name="external_objects_java" activate="yes"/>
 </modules>
 
index 71b8ea6..d57405d 100644 (file)
@@ -91,5 +91,6 @@
 <module name="preferences" activate="yes"/>
 <module name="xml" activate="yes"/>
 <module name="external_objects" activate="yes"/>
+<module name="external_objects_java" activate="yes"/>
 <!-- comments -->
 </modules>
index 4b7a400..37e020f 100644 (file)
@@ -89,7 +89,9 @@ history_browser \
 preferences \
 xml \
 types \
-external_objects
+external_objects \
+external_objects_java
+
 
 if XCOS
 SUBDIRS += scicos_blocks
@@ -129,7 +131,8 @@ GUI_LIBS = $(top_builddir)/modules/gui/libscigui.la \
        $(top_builddir)/modules/history_browser/libscihistory_browser.la \
        $(top_builddir)/modules/commons/libscicommons.la \
        $(top_builddir)/modules/tclsci/libscitclsci.la \
-       $(top_builddir)/modules/preferences/libscipreferences.la
+       $(top_builddir)/modules/preferences/libscipreferences.la \
+       $(top_builddir)/modules/external_objects_java/libsciexternal_objects_java.la 
 
 NO_GUI_LIBS = $(top_builddir)/modules/gui/libscigui-disable.la \
        $(top_builddir)/modules/graphics/libscigraphics-disable.la \
index 65e14a4..61a27e1 100644 (file)
@@ -193,8 +193,8 @@ DIST_SUBDIRS = prebuildjava fileio mexlib functions parameters boolean \
        compatibility_functions helptools umfpack demo_tools \
        genetic_algorithms simulated_annealing matio atoms graph xcos \
        scinotes parallel modules_manager ui_data history_browser \
-       preferences xml types external_objects scicos_blocks scicos . \
-       javasci
+       preferences xml types external_objects external_objects_java \
+       scicos_blocks scicos . javasci
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 am__relativize = \
   dir0=`pwd`; \
@@ -492,8 +492,8 @@ SUBDIRS = prebuildjava fileio mexlib functions parameters boolean \
        compatibility_functions helptools umfpack demo_tools \
        genetic_algorithms simulated_annealing matio atoms hdf5 graph \
        xcos scinotes parallel modules_manager ui_data history_browser \
-       preferences xml types external_objects $(am__append_1) scicos \
-       . $(am__append_2)
+       preferences xml types external_objects external_objects_java \
+       $(am__append_1) scicos . $(am__append_2)
 
 #### Basic files ####
 libscilab_la_rootdir = $(mydatadir)
@@ -516,7 +516,8 @@ GUI_LIBS = $(top_builddir)/modules/gui/libscigui.la \
        $(top_builddir)/modules/history_browser/libscihistory_browser.la \
        $(top_builddir)/modules/commons/libscicommons.la \
        $(top_builddir)/modules/tclsci/libscitclsci.la \
-       $(top_builddir)/modules/preferences/libscipreferences.la
+       $(top_builddir)/modules/preferences/libscipreferences.la \
+       $(top_builddir)/modules/external_objects_java/libsciexternal_objects_java.la 
 
 NO_GUI_LIBS = $(top_builddir)/modules/gui/libscigui-disable.la \
        $(top_builddir)/modules/graphics/libscigraphics-disable.la \
index 5933908..d996fbe 100644 (file)
@@ -93,6 +93,7 @@
 /* 69 */                        #include "dynamic_gateways.h" /* preferences */
 /* 70 */                        #include "dynamic_gateways.h" /* graphic_objects */
 /* 71 */                        #include "dynamic_gateways.h" /* external_objects */
+/* 72 */                        #include "dynamic_gateways.h" /* external_objects_java */
 
 
 /** table of interfaces **/
index 0b86baa..4399734 100644 (file)
@@ -34,7 +34,7 @@ jmp_buf jmp_env;
  ** Watch out the positions are crutial !!!
  ** @TODO : Make this less crappy...
  **/
-#define INTERFACES_MAX 71
+#define INTERFACES_MAX 72
 static OpTab Interfaces[INTERFACES_MAX] =
 {
     /* 01  */ {gw_user}, /* free position may be used */
@@ -107,7 +107,9 @@ static OpTab Interfaces[INTERFACES_MAX] =
     /* 68  */ {gw_dynamic_xml},
     /* 69  */ {gw_dynamic_preferences},
     /* 70  */ {gw_dynamic_graphic_objects},
-    /* 71  */ {gw_dynamic_external_objects}
+    /* 71  */ {gw_dynamic_external_objects},
+    /* 72  */ {gw_dynamic_external_objects_java}
+
 };
 /*--------------------------------------------------------------------------*/
 /**
index 649dd4d..51a058f 100644 (file)
@@ -449,6 +449,22 @@ int gw_dynamic_external_objects(void)
                               &ptr_gw_external_objects);
 }
 /*--------------------------------------------------------------------------*/
+/* external_objects_java module */
+#define EXTERNAL_OBJECTS_JAVA_MODULE_NAME "external_objects_java"
+static DynLibHandle hExternal_Objects_JavaLib = NULL;
+static PROC_GATEWAY ptr_gw_external_objects_java = NULL;
+static char* dynlibname_external_objects_java = NULL;
+static char* gatewayname_external_objects_java = NULL;
+/*--------------------------------------------------------------------------*/
+int gw_dynamic_external_objects_java(void)
+{
+    return gw_dynamic_generic(EXTERNAL_OBJECTS_JAVA_MODULE_NAME,
+                              &dynlibname_external_objects_java,
+                              &gatewayname_external_objects_java,
+                              &hExternal_Objects_JavaLib,
+                              &ptr_gw_external_objects_java);
+}
+/*--------------------------------------------------------------------------*/
 void freeAllDynamicGateways(void)
 {
     freeDynamicGateway(&dynlibname_special_functions,
@@ -576,6 +592,11 @@ void freeAllDynamicGateways(void)
                        &gatewayname_external_objects,
                        &hExternal_ObjectsLib,
                        &ptr_gw_external_objects);
+
+    freeDynamicGateway(&dynlibname_external_objects_java,
+                       &gatewayname_external_objects_java,
+                       &hExternal_Objects_JavaLib,
+                       &ptr_gw_external_objects_java);
 }
 /*--------------------------------------------------------------------------*/
 
index 2a7c287..0eb3f6a 100644 (file)
@@ -191,6 +191,8 @@ int gw_dynamic_history_browser(void);
 
 int gw_dynamic_external_objects(void);
 
+int gw_dynamic_external_objects_java(void);
+
 #endif /* __DYNAMIC_GATEWAYS_H__ */
 /*--------------------------------------------------------------------------*/
 
index bb92b61..faf2181 100644 (file)
@@ -16,7 +16,7 @@
 
 #define __USE_DEPRECATED_STACK_FUNCTIONS__
 
-//#define EODEBUG
+#define EODEBUG
 
 #define FIELDS_LENGTH 3
 
index 994d2f1..024e180 100644 (file)
@@ -277,7 +277,6 @@ bool ScilabObjects::unwrap(int idObj, int pos, const int envId, void * pvApiCtx)
     const ScilabAbstractEnvironmentWrapper & wrapper = env.getWrapper();
 
     type = env.isunwrappable(idObj);
-
     switch (type)
     {
         case Nothing:
index e587add..a384867 100644 (file)
@@ -112,6 +112,7 @@ int ScilabGateway::newInstance(char * fname, const int envId, void * pvApiCtx)
         delete[] args;
         ScilabObjects::removeTemporaryVars(envId, tmpvar);
         delete[] tmpvar;
+        throw;
     }
 
     delete[] args;
diff --git a/scilab/modules/external_objects_java/Makefile.am b/scilab/modules/external_objects_java/Makefile.am
new file mode 100644 (file)
index 0000000..f02c30b
--- /dev/null
@@ -0,0 +1,124 @@
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+#### Target ######
+modulename=external_objects_java
+
+
+#### external_objects_java : Conf files ####
+libsciexternal_objects_java_la_rootdir = $(mydatadir)
+libsciexternal_objects_java_la_root_DATA =  license.txt
+
+
+#### external_objects_java : init scripts & configuration files ####
+libsciexternal_objects_java_la_etcdir = $(mydatadir)/etc
+libsciexternal_objects_java_la_etc_DATA = etc/external_objects_java.quit \
+                                                                        etc/external_objects_java.start
+
+include $(top_srcdir)/Makefile.incl.am
+
+EXTERNAL_OBJECTS_JAVA_JNI_SOURCES = 
+
+EXTERNAL_OBJECTS_JAVA_C_SOURCES = 
+
+EXTERNAL_OBJECTS_JAVA_CPP_SOURCES = src/cpp/ScilabJavaEnvironment.cpp \
+src/cpp/NoMoreScilabMemoryException.cpp \
+src/cpp/JavaOptionsSetter.cpp \
+src/cpp/ScilabJavaEnvironmentWrapper.cpp \
+src/jni/ScilabJavaArray.cpp \
+src/jni/ScilabJavaCompiler.cpp \
+src/jni/ScilabJavaClass.cpp \
+src/jni/ScilabJavaObject.cpp \
+src/jni/ScilabClassLoader.cpp
+
+#src/cpp/ScilabObjectsCPP.cpp
+# src/cpp/WrapAsDirectBuffer.cpp
+GATEWAY_C_SOURCES = sci_gateway/c/gw_external_objects_java.c \
+sci_gateway/cpp/sci_jimport.cpp \
+sci_gateway/cpp/sci_jgetclassname.cpp \
+sci_gateway/cpp/sci_jwrap.cpp \
+sci_gateway/cpp/sci_jgetmethods.cpp \
+sci_gateway/cpp/sci_jgetfields.cpp \
+sci_gateway/cpp/sci_jgetfield.cpp \
+sci_gateway/cpp/sci_jcompile.cpp \
+sci_gateway/cpp/sci_jnewInstance.cpp \
+sci_gateway/cpp/sci_jremove.cpp \
+sci_gateway/cpp/sci_jexists.cpp \
+sci_gateway/cpp/sci_junwrap.cpp \
+sci_gateway/cpp/sci_junwraprem.cpp \
+sci_gateway/cpp/sci_jenableTrace.cpp \
+sci_gateway/cpp/sci_jdisableTrace.cpp \
+sci_gateway/cpp/sci_jdeff.cpp \
+sci_gateway/cpp/sci_jvoid.cpp \
+sci_gateway/cpp/sci_jarray.cpp \
+sci_gateway/cpp/sci_jcast.cpp \
+sci_gateway/cpp/sci_jallowClassReloading.cpp
+
+GIWS_WRAPPERS = src/jni/ScilabObjects.giws.xml
+
+if GIWS
+BUILT_SOURCES=giws
+endif
+
+GATEWAY_CPP_SOURCES =
+libsciexternal_objects_java_la_CFLAGS= -I$(srcdir)/includes/ \
+             -I$(top_srcdir)/libs/MALLOC/includes/ \
+             -I$(top_srcdir)/modules/core/includes \
+             -I$(top_srcdir)/modules/api_scilab/includes \
+             -I$(top_srcdir)/modules/output_stream/includes \
+             -I$(top_srcdir)/modules/string/includes \
+             -I$(top_srcdir)/modules/fileio/includes
+
+
+libsciexternal_objects_java_la_CPPFLAGS = -I$(srcdir)/includes/ \
+    -I$(srcdir)/src/cpp/ \
+    -I$(srcdir)/src/c/ \
+    -I$(srcdir)/src/jni/ \
+    -I$(top_srcdir)/libs/MALLOC/includes/ \
+    -I$(top_srcdir)/modules/localization/includes \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/output_stream/includes \
+    -I$(top_srcdir)/modules/string/includes \
+    -I$(top_srcdir)/modules/fileio/includes \
+    -I$(top_srcdir)/modules/jvm/includes \
+    -I$(top_srcdir)/modules/core/src/c \
+    -I$(top_srcdir)/modules/external_objects/includes \
+       -I$(top_srcdir)/modules/commons/src/jni/ \
+    $(JAVA_JNI_INCLUDE)
+
+
+pkglib_LTLIBRARIES = libsciexternal_objects_java.la 
+noinst_LTLIBRARIES = libsciexternal_objects_java-algo.la 
+
+libsciexternal_objects_java_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)  $(X_LIBS) $(X_EXTRA_LIBS)
+
+libsciexternal_objects_java_algo_la_SOURCES = $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(EXTERNAL_OBJECTS_JAVA_JNI_SOURCES) $(EXTERNAL_OBJECTS_JAVA_CPP_SOURCES)
+libsciexternal_objects_java_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) 
+libsciexternal_objects_java_algo_la_CFLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+libsciexternal_objects_java_algo_la_CPPFLAGS = $(libsciexternal_objects_java_la_CPPFLAGS)
+
+libsciexternal_objects_java_la_LIBADD = libsciexternal_objects_java-algo.la $(top_builddir)/modules/commons/libscicommons.la $(top_builddir)/modules/jvm/libscijvm.la
+
+# For the code check (splint)
+CHECK_SRC= $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+
+#### external_objects_java : gateway declaration ####
+libsciexternal_objects_java_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libsciexternal_objects_java_la_sci_gateway_DATA = sci_gateway/external_objects_java_gateway.xml
+
+#### external_objects_java : include files ####
+libsciexternal_objects_java_la_includedir=$(pkgincludedir)
+libsciexternal_objects_java_la_include_HEADERS =
+
+if GUI
+USEANT=1
+endif
diff --git a/scilab/modules/external_objects_java/Makefile.in b/scilab/modules/external_objects_java/Makefile.in
new file mode 100644 (file)
index 0000000..6f4cad6
--- /dev/null
@@ -0,0 +1,1550 @@
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.  The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \  ]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+DIST_COMMON = $(libsciexternal_objects_java_la_include_HEADERS) \
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am TODO
+@NEED_JAVA_TRUE@am__append_1 = java
+subdir = modules/external_objects_java
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+       $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+       $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+       $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+       $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+       $(top_srcdir)/m4/intel_compiler.m4 \
+       $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+       $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+       $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+       $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+       $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
+       $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
+       $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
+       $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
+       $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libsciexternal_objects_java_algo_la_LIBADD =
+am__objects_1 =
+am__objects_2 =  \
+       libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo \
+       libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo \
+       libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaArray.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaClass.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaObject.lo \
+       libsciexternal_objects_java_algo_la-ScilabClassLoader.lo
+am_libsciexternal_objects_java_algo_la_OBJECTS = $(am__objects_1) \
+       $(am__objects_1) $(am__objects_2)
+libsciexternal_objects_java_algo_la_OBJECTS =  \
+       $(am_libsciexternal_objects_java_algo_la_OBJECTS)
+libsciexternal_objects_java_la_DEPENDENCIES =  \
+       libsciexternal_objects_java-algo.la \
+       $(top_builddir)/modules/commons/libscicommons.la \
+       $(top_builddir)/modules/jvm/libscijvm.la
+am__objects_3 =  \
+       libsciexternal_objects_java_la-gw_external_objects_java.lo \
+       libsciexternal_objects_java_la-sci_jimport.lo \
+       libsciexternal_objects_java_la-sci_jgetclassname.lo \
+       libsciexternal_objects_java_la-sci_jwrap.lo \
+       libsciexternal_objects_java_la-sci_jgetmethods.lo \
+       libsciexternal_objects_java_la-sci_jgetfields.lo \
+       libsciexternal_objects_java_la-sci_jgetfield.lo \
+       libsciexternal_objects_java_la-sci_jcompile.lo \
+       libsciexternal_objects_java_la-sci_jnewInstance.lo \
+       libsciexternal_objects_java_la-sci_jremove.lo \
+       libsciexternal_objects_java_la-sci_jexists.lo \
+       libsciexternal_objects_java_la-sci_junwrap.lo \
+       libsciexternal_objects_java_la-sci_junwraprem.lo \
+       libsciexternal_objects_java_la-sci_jenableTrace.lo \
+       libsciexternal_objects_java_la-sci_jdisableTrace.lo \
+       libsciexternal_objects_java_la-sci_jdeff.lo \
+       libsciexternal_objects_java_la-sci_jvoid.lo \
+       libsciexternal_objects_java_la-sci_jarray.lo \
+       libsciexternal_objects_java_la-sci_jcast.lo \
+       libsciexternal_objects_java_la-sci_jallowClassReloading.lo
+am_libsciexternal_objects_java_la_OBJECTS = $(am__objects_3) \
+       $(am__objects_1)
+libsciexternal_objects_java_la_OBJECTS =  \
+       $(am_libsciexternal_objects_java_la_OBJECTS)
+libsciexternal_objects_java_la_LINK = $(LIBTOOL) --tag=CXX \
+       $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
+       $(AM_CXXFLAGS) $(CXXFLAGS) \
+       $(libsciexternal_objects_java_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
+SOURCES = $(libsciexternal_objects_java_algo_la_SOURCES) \
+       $(libsciexternal_objects_java_la_SOURCES)
+DIST_SOURCES = $(libsciexternal_objects_java_algo_la_SOURCES) \
+       $(libsciexternal_objects_java_la_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+DATA = $(libsciexternal_objects_java_la_etc_DATA) \
+       $(libsciexternal_objects_java_la_root_DATA) \
+       $(libsciexternal_objects_java_la_sci_gateway_DATA)
+HEADERS = $(libsciexternal_objects_java_la_include_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
+AMTAR = @AMTAR@
+ANT = @ANT@
+ANTLR = @ANTLR@
+AR = @AR@
+ARPACK_LIBS = @ARPACK_LIBS@
+ASM3 = @ASM3@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
+AWK = @AWK@
+BATIK = @BATIK@
+BLAS_LIBS = @BLAS_LIBS@
+CC = @CC@
+CCACHE = @CCACHE@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CHECKSTYLE = @CHECKSTYLE@
+COBERTURA = @COBERTURA@
+COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
+COMMONS_IO = @COMMONS_IO@
+COMMONS_LOGGING = @COMMONS_LOGGING@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CURL_VERSION = @CURL_VERSION@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
+DEPDIR = @DEPDIR@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+DOXYGEN_BIN = @DOXYGEN_BIN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FFTW3_LIB = @FFTW3_LIB@
+FFTW_ENABLE = @FFTW_ENABLE@
+FGREP = @FGREP@
+FLEXDOCK = @FLEXDOCK@
+FLIBS = @FLIBS@
+FOP = @FOP@
+GENHTML = @GENHTML@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GIWS_BIN = @GIWS_BIN@
+GLUEGEN2_RT = @GLUEGEN2_RT@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
+GREP = @GREP@
+GUI_ENABLE = @GUI_ENABLE@
+HDF5_CFLAGS = @HDF5_CFLAGS@
+HDF5_LIBS = @HDF5_LIBS@
+HELP_ENABLE = @HELP_ENABLE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+JAR = @JAR@
+JAVA = @JAVA@
+JAVAC = @JAVAC@
+JAVAC_DEBUG = @JAVAC_DEBUG@
+JAVADOC = @JAVADOC@
+JAVAH = @JAVAH@
+JAVASCI_ENABLE = @JAVASCI_ENABLE@
+JAVA_ENABLE = @JAVA_ENABLE@
+JAVA_G = @JAVA_G@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
+JDB = @JDB@
+JEUCLID_CORE = @JEUCLID_CORE@
+JGRAPHX = @JGRAPHX@
+JHALL = @JHALL@
+JLATEXMATH = @JLATEXMATH@
+JLATEXMATH_FOP = @JLATEXMATH_FOP@
+JOGL2 = @JOGL2@
+JROSETTA_API = @JROSETTA_API@
+JROSETTA_ENGINE = @JROSETTA_ENGINE@
+JUNIT4 = @JUNIT4@
+LAPACK_LIBS = @LAPACK_LIBS@
+LCOV = @LCOV@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBM = @LIBM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LOGGING_LEVEL = @LOGGING_LEVEL@
+LOOKS = @LOOKS@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MATIO_CFLAGS = @MATIO_CFLAGS@
+MATIO_ENABLE = @MATIO_ENABLE@
+MATIO_LIBS = @MATIO_LIBS@
+MKDIR_P = @MKDIR_P@
+MSGCAT = @MSGCAT@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLLEX = @OCAMLLEX@
+OCAMLOPT = @OCAMLOPT@
+OCAMLYACC = @OCAMLYACC@
+OPENMP_CFLAGS = @OPENMP_CFLAGS@
+OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
+OPENMP_ENABLE = @OPENMP_ENABLE@
+OPENMP_LIBS = @OPENMP_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PCRE_CFLAGS = @PCRE_CFLAGS@
+PCRE_CONFIG = @PCRE_CONFIG@
+PCRE_LIBS = @PCRE_LIBS@
+PCRE_VERSION = @PCRE_VERSION@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+POW_LIB = @POW_LIB@
+PYTHON = @PYTHON@
+RANLIB = @RANLIB@
+RELOCATABLE = @RELOCATABLE@
+RT_LIB = @RT_LIB@
+SAXON = @SAXON@
+SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
+SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
+SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
+SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
+SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
+SCIRENDERER = @SCIRENDERER@
+SCIRENDERER_CP = @SCIRENDERER_CP@
+SCI_CFLAGS = @SCI_CFLAGS@
+SCI_CXXFLAGS = @SCI_CXXFLAGS@
+SCI_FFLAGS = @SCI_FFLAGS@
+SCI_LDFLAGS = @SCI_LDFLAGS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SET_RELOCATABLE = @SET_RELOCATABLE@
+SHELL = @SHELL@
+SKINLF = @SKINLF@
+SPLINT = @SPLINT@
+STRIP = @STRIP@
+SWIG_BIN = @SWIG_BIN@
+SWIG_JAVA = @SWIG_JAVA@
+SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
+TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TK_INC_PATH = @TK_INC_PATH@
+UMFPACK_ENABLE = @UMFPACK_ENABLE@
+UMFPACK_LIB = @UMFPACK_LIB@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+WITH_OCAML = @WITH_OCAML@
+WITH_TKSCI = @WITH_TKSCI@
+XCOS_ENABLE = @XCOS_ENABLE@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+XMKMF = @XMKMF@
+XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
+XML_APIS_EXT = @XML_APIS_EXT@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+XML_VERSION = @XML_VERSION@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cxx_present = @cxx_present@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+#### Target ######
+modulename = external_objects_java
+
+#### external_objects_java : Conf files ####
+libsciexternal_objects_java_la_rootdir = $(mydatadir)
+libsciexternal_objects_java_la_root_DATA = license.txt
+
+#### external_objects_java : init scripts & configuration files ####
+libsciexternal_objects_java_la_etcdir = $(mydatadir)/etc
+libsciexternal_objects_java_la_etc_DATA = etc/external_objects_java.quit \
+                                                                        etc/external_objects_java.start
+
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_1)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED  AT THE MOMENT
+SUFFIXES = .sci 
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file 
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+EXTERNAL_OBJECTS_JAVA_JNI_SOURCES = 
+EXTERNAL_OBJECTS_JAVA_C_SOURCES = 
+EXTERNAL_OBJECTS_JAVA_CPP_SOURCES = src/cpp/ScilabJavaEnvironment.cpp \
+src/cpp/NoMoreScilabMemoryException.cpp \
+src/cpp/JavaOptionsSetter.cpp \
+src/cpp/ScilabJavaEnvironmentWrapper.cpp \
+src/jni/ScilabJavaArray.cpp \
+src/jni/ScilabJavaCompiler.cpp \
+src/jni/ScilabJavaClass.cpp \
+src/jni/ScilabJavaObject.cpp \
+src/jni/ScilabClassLoader.cpp
+
+
+#src/cpp/ScilabObjectsCPP.cpp
+# src/cpp/WrapAsDirectBuffer.cpp
+GATEWAY_C_SOURCES = sci_gateway/c/gw_external_objects_java.c \
+sci_gateway/cpp/sci_jimport.cpp \
+sci_gateway/cpp/sci_jgetclassname.cpp \
+sci_gateway/cpp/sci_jwrap.cpp \
+sci_gateway/cpp/sci_jgetmethods.cpp \
+sci_gateway/cpp/sci_jgetfields.cpp \
+sci_gateway/cpp/sci_jgetfield.cpp \
+sci_gateway/cpp/sci_jcompile.cpp \
+sci_gateway/cpp/sci_jnewInstance.cpp \
+sci_gateway/cpp/sci_jremove.cpp \
+sci_gateway/cpp/sci_jexists.cpp \
+sci_gateway/cpp/sci_junwrap.cpp \
+sci_gateway/cpp/sci_junwraprem.cpp \
+sci_gateway/cpp/sci_jenableTrace.cpp \
+sci_gateway/cpp/sci_jdisableTrace.cpp \
+sci_gateway/cpp/sci_jdeff.cpp \
+sci_gateway/cpp/sci_jvoid.cpp \
+sci_gateway/cpp/sci_jarray.cpp \
+sci_gateway/cpp/sci_jcast.cpp \
+sci_gateway/cpp/sci_jallowClassReloading.cpp
+
+GIWS_WRAPPERS = src/jni/ScilabObjects.giws.xml
+@GIWS_TRUE@BUILT_SOURCES = giws
+GATEWAY_CPP_SOURCES = 
+libsciexternal_objects_java_la_CFLAGS = -I$(srcdir)/includes/ \
+             -I$(top_srcdir)/libs/MALLOC/includes/ \
+             -I$(top_srcdir)/modules/core/includes \
+             -I$(top_srcdir)/modules/api_scilab/includes \
+             -I$(top_srcdir)/modules/output_stream/includes \
+             -I$(top_srcdir)/modules/string/includes \
+             -I$(top_srcdir)/modules/fileio/includes
+
+libsciexternal_objects_java_la_CPPFLAGS = -I$(srcdir)/includes/ \
+    -I$(srcdir)/src/cpp/ \
+    -I$(srcdir)/src/c/ \
+    -I$(srcdir)/src/jni/ \
+    -I$(top_srcdir)/libs/MALLOC/includes/ \
+    -I$(top_srcdir)/modules/localization/includes \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/output_stream/includes \
+    -I$(top_srcdir)/modules/string/includes \
+    -I$(top_srcdir)/modules/fileio/includes \
+    -I$(top_srcdir)/modules/jvm/includes \
+    -I$(top_srcdir)/modules/core/src/c \
+    -I$(top_srcdir)/modules/external_objects/includes \
+       -I$(top_srcdir)/modules/commons/src/jni/ \
+    $(JAVA_JNI_INCLUDE)
+
+pkglib_LTLIBRARIES = libsciexternal_objects_java.la 
+noinst_LTLIBRARIES = libsciexternal_objects_java-algo.la 
+libsciexternal_objects_java_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)  $(X_LIBS) $(X_EXTRA_LIBS)
+libsciexternal_objects_java_algo_la_SOURCES = $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(EXTERNAL_OBJECTS_JAVA_JNI_SOURCES) $(EXTERNAL_OBJECTS_JAVA_CPP_SOURCES)
+libsciexternal_objects_java_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) 
+libsciexternal_objects_java_algo_la_CFLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+libsciexternal_objects_java_algo_la_CPPFLAGS = $(libsciexternal_objects_java_la_CPPFLAGS)
+libsciexternal_objects_java_la_LIBADD = libsciexternal_objects_java-algo.la $(top_builddir)/modules/commons/libscicommons.la $(top_builddir)/modules/jvm/libscijvm.la
+
+# For the code check (splint)
+CHECK_SRC = $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+
+#### external_objects_java : gateway declaration ####
+libsciexternal_objects_java_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libsciexternal_objects_java_la_sci_gateway_DATA = sci_gateway/external_objects_java_gateway.xml
+
+#### external_objects_java : include files ####
+libsciexternal_objects_java_la_includedir = $(pkgincludedir)
+libsciexternal_objects_java_la_include_HEADERS = 
+@GUI_TRUE@USEANT = 1
+all: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .cpp .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+               && { if test -f $@; then exit 0; else break; fi; }; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/external_objects_java/Makefile'; \
+       $(am__cd) $(top_srcdir) && \
+         $(AUTOMAKE) --foreign modules/external_objects_java/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+       esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+         test "$$dir" != "$$p" || dir=.; \
+         echo "rm -f \"$${dir}/so_locations\""; \
+         rm -f "$${dir}/so_locations"; \
+       done
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+       @$(NORMAL_INSTALL)
+       @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+       list2=; for p in $$list; do \
+         if test -f $$p; then \
+           list2="$$list2 $$p"; \
+         else :; fi; \
+       done; \
+       test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+       }
+
+uninstall-pkglibLTLIBRARIES:
+       @$(NORMAL_UNINSTALL)
+       @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+       for p in $$list; do \
+         $(am__strip_dir) \
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+       done
+
+clean-pkglibLTLIBRARIES:
+       -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+       @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
+         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+         test "$$dir" != "$$p" || dir=.; \
+         echo "rm -f \"$${dir}/so_locations\""; \
+         rm -f "$${dir}/so_locations"; \
+       done
+libsciexternal_objects_java-algo.la: $(libsciexternal_objects_java_algo_la_OBJECTS) $(libsciexternal_objects_java_algo_la_DEPENDENCIES) $(EXTRA_libsciexternal_objects_java_algo_la_DEPENDENCIES) 
+       $(CXXLINK)  $(libsciexternal_objects_java_algo_la_OBJECTS) $(libsciexternal_objects_java_algo_la_LIBADD) $(LIBS)
+libsciexternal_objects_java.la: $(libsciexternal_objects_java_la_OBJECTS) $(libsciexternal_objects_java_la_DEPENDENCIES) $(EXTRA_libsciexternal_objects_java_la_DEPENDENCIES) 
+       $(libsciexternal_objects_java_la_LINK) -rpath $(pkglibdir) $(libsciexternal_objects_java_la_OBJECTS) $(libsciexternal_objects_java_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+       -rm -f *.$(OBJEXT)
+
+distclean-compile:
+       -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jvoid.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
+
+libsciexternal_objects_java_la-gw_external_objects_java.lo: sci_gateway/c/gw_external_objects_java.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(libsciexternal_objects_java_la_CFLAGS) $(CFLAGS) -MT libsciexternal_objects_java_la-gw_external_objects_java.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Tpo -c -o libsciexternal_objects_java_la-gw_external_objects_java.lo `test -f 'sci_gateway/c/gw_external_objects_java.c' || echo '$(srcdir)/'`sci_gateway/c/gw_external_objects_java.c
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Tpo $(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/gw_external_objects_java.c' object='libsciexternal_objects_java_la-gw_external_objects_java.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(libsciexternal_objects_java_la_CFLAGS) $(CFLAGS) -c -o libsciexternal_objects_java_la-gw_external_objects_java.lo `test -f 'sci_gateway/c/gw_external_objects_java.c' || echo '$(srcdir)/'`sci_gateway/c/gw_external_objects_java.c
+
+.cpp.o:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@  $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo: src/cpp/ScilabJavaEnvironment.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo `test -f 'src/cpp/ScilabJavaEnvironment.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironment.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/ScilabJavaEnvironment.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo `test -f 'src/cpp/ScilabJavaEnvironment.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironment.cpp
+
+libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo: src/cpp/NoMoreScilabMemoryException.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Tpo -c -o libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo `test -f 'src/cpp/NoMoreScilabMemoryException.cpp' || echo '$(srcdir)/'`src/cpp/NoMoreScilabMemoryException.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/NoMoreScilabMemoryException.cpp' object='libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo `test -f 'src/cpp/NoMoreScilabMemoryException.cpp' || echo '$(srcdir)/'`src/cpp/NoMoreScilabMemoryException.cpp
+
+libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo: src/cpp/JavaOptionsSetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Tpo -c -o libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo `test -f 'src/cpp/JavaOptionsSetter.cpp' || echo '$(srcdir)/'`src/cpp/JavaOptionsSetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/JavaOptionsSetter.cpp' object='libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo `test -f 'src/cpp/JavaOptionsSetter.cpp' || echo '$(srcdir)/'`src/cpp/JavaOptionsSetter.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo: src/cpp/ScilabJavaEnvironmentWrapper.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo `test -f 'src/cpp/ScilabJavaEnvironmentWrapper.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironmentWrapper.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/ScilabJavaEnvironmentWrapper.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo `test -f 'src/cpp/ScilabJavaEnvironmentWrapper.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironmentWrapper.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaArray.lo: src/jni/ScilabJavaArray.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaArray.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaArray.lo `test -f 'src/jni/ScilabJavaArray.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaArray.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaArray.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaArray.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaArray.lo `test -f 'src/jni/ScilabJavaArray.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaArray.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo: src/jni/ScilabJavaCompiler.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo `test -f 'src/jni/ScilabJavaCompiler.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaCompiler.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaCompiler.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo `test -f 'src/jni/ScilabJavaCompiler.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaCompiler.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaClass.lo: src/jni/ScilabJavaClass.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaClass.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaClass.lo `test -f 'src/jni/ScilabJavaClass.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaClass.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaClass.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaClass.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaClass.lo `test -f 'src/jni/ScilabJavaClass.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaClass.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaObject.lo: src/jni/ScilabJavaObject.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaObject.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaObject.lo `test -f 'src/jni/ScilabJavaObject.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaObject.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaObject.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaObject.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaObject.lo `test -f 'src/jni/ScilabJavaObject.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaObject.cpp
+
+libsciexternal_objects_java_algo_la-ScilabClassLoader.lo: src/jni/ScilabClassLoader.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabClassLoader.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabClassLoader.lo `test -f 'src/jni/ScilabClassLoader.cpp' || echo '$(srcdir)/'`src/jni/ScilabClassLoader.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabClassLoader.cpp' object='libsciexternal_objects_java_algo_la-ScilabClassLoader.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabClassLoader.lo `test -f 'src/jni/ScilabClassLoader.cpp' || echo '$(srcdir)/'`src/jni/ScilabClassLoader.cpp
+
+libsciexternal_objects_java_la-sci_jimport.lo: sci_gateway/cpp/sci_jimport.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jimport.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Tpo -c -o libsciexternal_objects_java_la-sci_jimport.lo `test -f 'sci_gateway/cpp/sci_jimport.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jimport.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jimport.cpp' object='libsciexternal_objects_java_la-sci_jimport.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jimport.lo `test -f 'sci_gateway/cpp/sci_jimport.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jimport.cpp
+
+libsciexternal_objects_java_la-sci_jgetclassname.lo: sci_gateway/cpp/sci_jgetclassname.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetclassname.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Tpo -c -o libsciexternal_objects_java_la-sci_jgetclassname.lo `test -f 'sci_gateway/cpp/sci_jgetclassname.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetclassname.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetclassname.cpp' object='libsciexternal_objects_java_la-sci_jgetclassname.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetclassname.lo `test -f 'sci_gateway/cpp/sci_jgetclassname.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetclassname.cpp
+
+libsciexternal_objects_java_la-sci_jwrap.lo: sci_gateway/cpp/sci_jwrap.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jwrap.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Tpo -c -o libsciexternal_objects_java_la-sci_jwrap.lo `test -f 'sci_gateway/cpp/sci_jwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jwrap.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jwrap.cpp' object='libsciexternal_objects_java_la-sci_jwrap.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jwrap.lo `test -f 'sci_gateway/cpp/sci_jwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jwrap.cpp
+
+libsciexternal_objects_java_la-sci_jgetmethods.lo: sci_gateway/cpp/sci_jgetmethods.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetmethods.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Tpo -c -o libsciexternal_objects_java_la-sci_jgetmethods.lo `test -f 'sci_gateway/cpp/sci_jgetmethods.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetmethods.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetmethods.cpp' object='libsciexternal_objects_java_la-sci_jgetmethods.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetmethods.lo `test -f 'sci_gateway/cpp/sci_jgetmethods.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetmethods.cpp
+
+libsciexternal_objects_java_la-sci_jgetfields.lo: sci_gateway/cpp/sci_jgetfields.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetfields.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Tpo -c -o libsciexternal_objects_java_la-sci_jgetfields.lo `test -f 'sci_gateway/cpp/sci_jgetfields.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfields.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetfields.cpp' object='libsciexternal_objects_java_la-sci_jgetfields.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetfields.lo `test -f 'sci_gateway/cpp/sci_jgetfields.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfields.cpp
+
+libsciexternal_objects_java_la-sci_jgetfield.lo: sci_gateway/cpp/sci_jgetfield.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetfield.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Tpo -c -o libsciexternal_objects_java_la-sci_jgetfield.lo `test -f 'sci_gateway/cpp/sci_jgetfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfield.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetfield.cpp' object='libsciexternal_objects_java_la-sci_jgetfield.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetfield.lo `test -f 'sci_gateway/cpp/sci_jgetfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfield.cpp
+
+libsciexternal_objects_java_la-sci_jcompile.lo: sci_gateway/cpp/sci_jcompile.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jcompile.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Tpo -c -o libsciexternal_objects_java_la-sci_jcompile.lo `test -f 'sci_gateway/cpp/sci_jcompile.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcompile.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jcompile.cpp' object='libsciexternal_objects_java_la-sci_jcompile.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jcompile.lo `test -f 'sci_gateway/cpp/sci_jcompile.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcompile.cpp
+
+libsciexternal_objects_java_la-sci_jnewInstance.lo: sci_gateway/cpp/sci_jnewInstance.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jnewInstance.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Tpo -c -o libsciexternal_objects_java_la-sci_jnewInstance.lo `test -f 'sci_gateway/cpp/sci_jnewInstance.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jnewInstance.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jnewInstance.cpp' object='libsciexternal_objects_java_la-sci_jnewInstance.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jnewInstance.lo `test -f 'sci_gateway/cpp/sci_jnewInstance.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jnewInstance.cpp
+
+libsciexternal_objects_java_la-sci_jremove.lo: sci_gateway/cpp/sci_jremove.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jremove.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Tpo -c -o libsciexternal_objects_java_la-sci_jremove.lo `test -f 'sci_gateway/cpp/sci_jremove.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jremove.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jremove.cpp' object='libsciexternal_objects_java_la-sci_jremove.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jremove.lo `test -f 'sci_gateway/cpp/sci_jremove.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jremove.cpp
+
+libsciexternal_objects_java_la-sci_jexists.lo: sci_gateway/cpp/sci_jexists.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jexists.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Tpo -c -o libsciexternal_objects_java_la-sci_jexists.lo `test -f 'sci_gateway/cpp/sci_jexists.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jexists.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jexists.cpp' object='libsciexternal_objects_java_la-sci_jexists.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jexists.lo `test -f 'sci_gateway/cpp/sci_jexists.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jexists.cpp
+
+libsciexternal_objects_java_la-sci_junwrap.lo: sci_gateway/cpp/sci_junwrap.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_junwrap.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Tpo -c -o libsciexternal_objects_java_la-sci_junwrap.lo `test -f 'sci_gateway/cpp/sci_junwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwrap.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_junwrap.cpp' object='libsciexternal_objects_java_la-sci_junwrap.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_junwrap.lo `test -f 'sci_gateway/cpp/sci_junwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwrap.cpp
+
+libsciexternal_objects_java_la-sci_junwraprem.lo: sci_gateway/cpp/sci_junwraprem.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_junwraprem.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Tpo -c -o libsciexternal_objects_java_la-sci_junwraprem.lo `test -f 'sci_gateway/cpp/sci_junwraprem.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwraprem.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_junwraprem.cpp' object='libsciexternal_objects_java_la-sci_junwraprem.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_junwraprem.lo `test -f 'sci_gateway/cpp/sci_junwraprem.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwraprem.cpp
+
+libsciexternal_objects_java_la-sci_jenableTrace.lo: sci_gateway/cpp/sci_jenableTrace.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jenableTrace.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Tpo -c -o libsciexternal_objects_java_la-sci_jenableTrace.lo `test -f 'sci_gateway/cpp/sci_jenableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jenableTrace.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jenableTrace.cpp' object='libsciexternal_objects_java_la-sci_jenableTrace.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jenableTrace.lo `test -f 'sci_gateway/cpp/sci_jenableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jenableTrace.cpp
+
+libsciexternal_objects_java_la-sci_jdisableTrace.lo: sci_gateway/cpp/sci_jdisableTrace.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jdisableTrace.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Tpo -c -o libsciexternal_objects_java_la-sci_jdisableTrace.lo `test -f 'sci_gateway/cpp/sci_jdisableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdisableTrace.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jdisableTrace.cpp' object='libsciexternal_objects_java_la-sci_jdisableTrace.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jdisableTrace.lo `test -f 'sci_gateway/cpp/sci_jdisableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdisableTrace.cpp
+
+libsciexternal_objects_java_la-sci_jdeff.lo: sci_gateway/cpp/sci_jdeff.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jdeff.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Tpo -c -o libsciexternal_objects_java_la-sci_jdeff.lo `test -f 'sci_gateway/cpp/sci_jdeff.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdeff.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jdeff.cpp' object='libsciexternal_objects_java_la-sci_jdeff.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jdeff.lo `test -f 'sci_gateway/cpp/sci_jdeff.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdeff.cpp
+
+libsciexternal_objects_java_la-sci_jvoid.lo: sci_gateway/cpp/sci_jvoid.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jvoid.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jvoid.Tpo -c -o libsciexternal_objects_java_la-sci_jvoid.lo `test -f 'sci_gateway/cpp/sci_jvoid.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jvoid.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jvoid.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jvoid.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jvoid.cpp' object='libsciexternal_objects_java_la-sci_jvoid.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jvoid.lo `test -f 'sci_gateway/cpp/sci_jvoid.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jvoid.cpp
+
+libsciexternal_objects_java_la-sci_jarray.lo: sci_gateway/cpp/sci_jarray.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jarray.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Tpo -c -o libsciexternal_objects_java_la-sci_jarray.lo `test -f 'sci_gateway/cpp/sci_jarray.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jarray.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jarray.cpp' object='libsciexternal_objects_java_la-sci_jarray.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jarray.lo `test -f 'sci_gateway/cpp/sci_jarray.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jarray.cpp
+
+libsciexternal_objects_java_la-sci_jcast.lo: sci_gateway/cpp/sci_jcast.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jcast.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Tpo -c -o libsciexternal_objects_java_la-sci_jcast.lo `test -f 'sci_gateway/cpp/sci_jcast.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcast.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jcast.cpp' object='libsciexternal_objects_java_la-sci_jcast.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jcast.lo `test -f 'sci_gateway/cpp/sci_jcast.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcast.cpp
+
+libsciexternal_objects_java_la-sci_jallowClassReloading.lo: sci_gateway/cpp/sci_jallowClassReloading.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jallowClassReloading.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Tpo -c -o libsciexternal_objects_java_la-sci_jallowClassReloading.lo `test -f 'sci_gateway/cpp/sci_jallowClassReloading.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jallowClassReloading.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jallowClassReloading.cpp' object='libsciexternal_objects_java_la-sci_jallowClassReloading.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jallowClassReloading.lo `test -f 'sci_gateway/cpp/sci_jallowClassReloading.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jallowClassReloading.cpp
+
+mostlyclean-libtool:
+       -rm -f *.lo
+
+clean-libtool:
+       -rm -rf .libs _libs
+install-libsciexternal_objects_java_la_etcDATA: $(libsciexternal_objects_java_la_etc_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_etc_DATA)'; test -n "$(libsciexternal_objects_java_la_etcdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_etcDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_etc_DATA)'; test -n "$(libsciexternal_objects_java_la_etcdir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libsciexternal_objects_java_la_rootDATA: $(libsciexternal_objects_java_la_root_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_root_DATA)'; test -n "$(libsciexternal_objects_java_la_rootdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_rootDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_root_DATA)'; test -n "$(libsciexternal_objects_java_la_rootdir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libsciexternal_objects_java_la_sci_gatewayDATA: $(libsciexternal_objects_java_la_sci_gateway_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_sci_gateway_DATA)'; test -n "$(libsciexternal_objects_java_la_sci_gatewaydir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_sci_gatewayDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_sci_gateway_DATA)'; test -n "$(libsciexternal_objects_java_la_sci_gatewaydir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libsciexternal_objects_java_la_includeHEADERS: $(libsciexternal_objects_java_la_include_HEADERS)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_include_HEADERS)'; test -n "$(libsciexternal_objects_java_la_includedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_includedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_includedir)'"; \
+         $(INSTALL_HEADER) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_includeHEADERS:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_include_HEADERS)'; test -n "$(libsciexternal_objects_java_la_includedir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       set x; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       shift; \
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+         test -n "$$unique" || unique=$$empty_fix; \
+         if test $$# -gt 0; then \
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+             "$$@" $$unique; \
+         else \
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+             $$unique; \
+         fi; \
+       fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       test -z "$(CTAGS_ARGS)$$unique" \
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+            $$unique
+
+GTAGS:
+       here=`$(am__cd) $(top_builddir) && pwd` \
+         && $(am__cd) $(top_srcdir) \
+         && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d "$(distdir)/$$file"; then \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+         else \
+           test -f "$(distdir)/$$file" \
+           || cp -p $$d/$$file "$(distdir)/$$file" \
+           || exit 1; \
+         fi; \
+       done
+check-am: all-am
+       $(MAKE) $(AM_MAKEFLAGS) check-local
+check: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+       for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
+install: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       if test -z '$(STRIP)'; then \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+             install; \
+       else \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+       fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+       clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+       distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local \
+       install-libsciexternal_objects_java_la_etcDATA \
+       install-libsciexternal_objects_java_la_includeHEADERS \
+       install-libsciexternal_objects_java_la_rootDATA \
+       install-libsciexternal_objects_java_la_sci_gatewayDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libsciexternal_objects_java_la_etcDATA \
+       uninstall-libsciexternal_objects_java_la_includeHEADERS \
+       uninstall-libsciexternal_objects_java_la_rootDATA \
+       uninstall-libsciexternal_objects_java_la_sci_gatewayDATA \
+       uninstall-pkglibLTLIBRARIES
+
+.MAKE: all check check-am install install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+       clean clean-generic clean-libtool clean-local \
+       clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES ctags \
+       distclean distclean-compile distclean-generic \
+       distclean-libtool distclean-local distclean-tags distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-data-local install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-html-local install-info \
+       install-info-am install-libsciexternal_objects_java_la_etcDATA \
+       install-libsciexternal_objects_java_la_includeHEADERS \
+       install-libsciexternal_objects_java_la_rootDATA \
+       install-libsciexternal_objects_java_la_sci_gatewayDATA \
+       install-man install-pdf install-pdf-am \
+       install-pkglibLTLIBRARIES install-ps install-ps-am \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+       pdf pdf-am ps ps-am tags uninstall uninstall-am \
+       uninstall-libsciexternal_objects_java_la_etcDATA \
+       uninstall-libsciexternal_objects_java_la_includeHEADERS \
+       uninstall-libsciexternal_objects_java_la_rootDATA \
+       uninstall-libsciexternal_objects_java_la_sci_gatewayDATA \
+       uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+       if test -d $(mydatadir)/tests; then \
+         @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+       fi
+check-code:
+       if test -f build.xml; then \
+               $(ANT) checkstyle; \
+       fi
+       if test -x "$(SPLINT)"; then \
+               $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+       fi
+@NEED_JAVA_TRUE@java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@       @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@       if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@       if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@               $(ANT); \
+@NEED_JAVA_TRUE@       fi
+
+@NEED_JAVA_TRUE@clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@       @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@       if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@       if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@               $(ANT) clean; \
+@NEED_JAVA_TRUE@       fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
+@SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+@SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
+@SWIG_TRUE@                    echo "Swig process of $$file ..."; \
+@SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@            done; \
+@SWIG_TRUE@    fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
+@GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
+@GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
+@GIWS_TRUE@                    $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
+@GIWS_TRUE@            done; \
+@GIWS_TRUE@    fi
+
+@GIWS_TRUE@giws-exception:
+@GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@    echo "GIWS: Generation of exception class ..."; \
+@GIWS_TRUE@    $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
+
+macros:
+       -@( if test ! -x $(top_builddir)/scilab-bin; then \
+               echo "Error : Cannot build $< : Scilab has not been built"; \
+       else \
+               $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+       fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+       @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+               echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+               rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+       done
+
+test:
+# More tests could be added here
+       @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+       if test -f build.xml -a $$USEANT -eq 1; then \
+               $(ANT) test; \
+       fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+       -@( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "Creating $@"; \
+       $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+       fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+       @if test -d $(srcdir)/javadoc; then \
+               cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+       fi
+# If the user wants the help sources to be installed
+@INSTALL_HELP_XML_TRUE@        @echo "-------- Install of XML sources of help files --------"; \
+@INSTALL_HELP_XML_TRUE@        for lang in $(ALL_LINGUAS); do \
+@INSTALL_HELP_XML_TRUE@         if test -d $(srcdir)/help/$$lang; then \
+@INSTALL_HELP_XML_TRUE@          $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+@INSTALL_HELP_XML_TRUE@                if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@                  for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+@INSTALL_HELP_XML_TRUE@                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+@INSTALL_HELP_XML_TRUE@                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+@INSTALL_HELP_XML_TRUE@                  done ; \
+@INSTALL_HELP_XML_TRUE@                fi; \
+@INSTALL_HELP_XML_TRUE@         fi; \
+@INSTALL_HELP_XML_TRUE@        done; \
+@INSTALL_HELP_XML_TRUE@        @echo "-------- Install of MathML sources --------"; \
+@INSTALL_HELP_XML_TRUE@         if test -d $(srcdir)/help/mml/; then \
+@INSTALL_HELP_XML_TRUE@          $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+@INSTALL_HELP_XML_TRUE@                if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@                  for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+@INSTALL_HELP_XML_TRUE@                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+@INSTALL_HELP_XML_TRUE@                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+@INSTALL_HELP_XML_TRUE@                  done ; \
+@INSTALL_HELP_XML_TRUE@                fi; \
+@INSTALL_HELP_XML_TRUE@        fi
+install-data-local:
+# Install the tests
+       @echo "-------- Install tests (if any) --------"; \
+       for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+         if test -d $(srcdir)/$$dir/; then \
+           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+                 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+                   if test -d "$(srcdir)/$$dir/$$file"; then \
+                         echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+                         $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+                   else \
+                     echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+                 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+                   fi \
+                 done; \
+         fi; \
+       done
+# Install the help chapter
+       @echo "-------- Install the help chapter (if any) --------"; \
+       for lang in $(HELP_CHAPTERLANG); do \
+               HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+               if test -f $$HELPFILE; then \
+                       echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+                       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+                       echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+                       $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+               fi; \
+       done
+# Install the demos & examples
+       @echo "-------- Install demos & examples (if any) --------"; \
+       for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+         if test -d $(srcdir)/$$dir/; then \
+           $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+                 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+                   if test -d "$(srcdir)/$$dir/$$file"; then \
+                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+                         $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+                   else \
+                     echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+                 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+                   fi \
+                 done; \
+         fi; \
+       done
+# Install the macros
+       @echo "-------- Install macros (if any) --------"; \
+       for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+               if test -d $(srcdir)/$$dir/; then \
+                       FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               specialExtDir=""; \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
+                 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+                 done; \
+               fi; \
+       done
+# Install java files (.jar)
+       @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+       echo "-------- Install jar files --------"; \
+    $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+         for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+         done ; \
+       fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+@NEED_JAVA_TRUE@clean-local: clean-java
+@NEED_JAVA_FALSE@clean-local:
+
+distclean-local:
+       rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/scilab/modules/external_objects_java/TODO b/scilab/modules/external_objects_java/TODO
new file mode 100644 (file)
index 0000000..73032ef
--- /dev/null
@@ -0,0 +1,17 @@
+jallowClassReloading
+jarray
+jautoUnwrap
+jcast
+jconvMatrixMethod
+jexists
+jimsgetpath
+jinvoke_db
+jnull
+jsetfield
+junwraprem
+junwrap
+jvoid
+jwrapinchar
+jwrapinfloat
+jwrap (a faire pour les autres types)
+new
diff --git a/scilab/modules/external_objects_java/build.xml b/scilab/modules/external_objects_java/build.xml
new file mode 100644 (file)
index 0000000..48fc92f
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ * 
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at    
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<project name="external_objects_java" default="jar">
+    <import file="../../build.incl.xml"/>
+    <property name="library.name" value="${library.external_objects_java.name}"/>
+    <property name="library.title" value="External object Java implementation"/>
+    <description>
+        Build the Scilab EXTERNAL_OBJECTS_JAVA module
+    </description>
+</project>
diff --git a/scilab/modules/external_objects_java/core_Import.def b/scilab/modules/external_objects_java/core_Import.def
new file mode 100644 (file)
index 0000000..2107999
--- /dev/null
@@ -0,0 +1,17 @@
+       LIBRARY    core.dll
+
+
+EXPORTS
+;
+;core
+;
+callFunctionFromGateway
+com_
+backtrace_print
+recu_
+stack_
+vstk_
+iop_
+intersci_
+scistring_
+str2name_
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/core_f_Import.def b/scilab/modules/external_objects_java/core_f_Import.def
new file mode 100644 (file)
index 0000000..5fb9cd4
--- /dev/null
@@ -0,0 +1,9 @@
+       LIBRARY    core_f.dll
+
+
+EXPORTS
+;
+;core_f
+;
+varfunptr_
+funs_
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/etc/external_objects_java.quit b/scilab/modules/external_objects_java/etc/external_objects_java.quit
new file mode 100644 (file)
index 0000000..4442466
--- /dev/null
@@ -0,0 +1,12 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+
+if getscilabmode() <> "API" then
+  xmlDelete("all");
+end
diff --git a/scilab/modules/external_objects_java/etc/external_objects_java.start b/scilab/modules/external_objects_java/etc/external_objects_java.start
new file mode 100644 (file)
index 0000000..9bd2787
--- /dev/null
@@ -0,0 +1,12 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+
+// TODO : make this '71' more dynamic (with a funptr)
+intppty(71);
+load("SCI/modules/external_objects/macros/lib");
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/external_objects_java.iss b/scilab/modules/external_objects_java/external_objects_java.iss
new file mode 100644 (file)
index 0000000..f6efe84
--- /dev/null
@@ -0,0 +1,41 @@
+;
+; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+; Copyright (C) SCilab Enterprises - 2012 - Antoine ELIAS
+;
+; This file must be used under the terms of the CeCILL.
+; This source file is licensed as described in the file COPYING, which
+; you should have received as part of this distribution.  The terms
+; are also available at
+; http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+;
+;--------------------------------------------------------------------------------------------------------------
+; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
+;
+;--------------------------------------------------------------------------------------------------------------
+; external_objects module
+;--------------------------------------------------------------------------------------------------------------
+;
+#define EXTERNAL_OBJECTS "external_objects"
+;
+Source: bin\external_objects.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
+Source: bin\external_objects.lib; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#EXTERNAL_OBJECTS}\sci_gateway\{#EXTERNAL_OBJECTS}_gateway.xml; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\sci_gateway; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#EXTERNAL_OBJECTS}\includes\*.h; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\includes; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\includes\*.hxx; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\includes; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#EXTERNAL_OBJECTS}\etc\{#EXTERNAL_OBJECTS}.quit; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\etc; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\etc\{#EXTERNAL_OBJECTS}.start; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\etc; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#EXTERNAL_OBJECTS}\macros\buildmacros.sce; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\macros\buildmacros.bat; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\macros\*.bin; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\macros\*.sci; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\macros\lib; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#EXTERNAL_OBJECTS}\macros\names; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\macros; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#EXTERNAL_OBJECTS}\tests\*.*; DestDir: {app}\modules\{#EXTERNAL_OBJECTS}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS}
+;
+;--------------------------------------------------------------------------------------------------------------
diff --git a/scilab/modules/external_objects_java/external_objects_java.rc b/scilab/modules/external_objects_java/external_objects_java.rc
new file mode 100644 (file)
index 0000000..432bf09
--- /dev/null
@@ -0,0 +1,97 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+//#include "afxres.h"
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// French (France) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
+#ifdef _WIN32
+LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE 
+BEGIN
+    "resource.h\0"
+END
+
+
+3 TEXTINCLUDE 
+BEGIN
+    "\r\n"
+    "\0"
+END
+
+#endif    // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 5,5,0,0
+ PRODUCTVERSION 5,5,0,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040c04b0"
+        BEGIN
+            VALUE "FileDescription", "external_objects module"
+            VALUE "FileVersion", "5, 5, 0, 0"
+            VALUE "InternalName", "external_objects module"
+            VALUE "LegalCopyright", "Copyright (C) 2013"
+            VALUE "OriginalFilename", "external_objects.dll"
+            VALUE "ProductName", " external_objects"
+            VALUE "ProductVersion", "5, 5, 0, 0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x40c, 1200
+    END
+END
+
+#endif    // French (France) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif    // not APSTUDIO_INVOKED
+
diff --git a/scilab/modules/external_objects_java/external_objects_java.vcxproj b/scilab/modules/external_objects_java/external_objects_java.vcxproj
new file mode 100644 (file)
index 0000000..56f1a27
--- /dev/null
@@ -0,0 +1,320 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{3142E52C-309A-41D9-BD12-7B7E9E3BDD44}</ProjectGuid>
+    <RootNamespace>external_objects</RootNamespace>
+    <Keyword>Win32Proj</Keyword>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>false</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>false</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>includes;../../libs/MALLOC/includes;../../libs/intl;../localization/includes;../output_stream/includes;../core/includes;../api_scilab/includes;../fileio/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_SCILAB_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)core_f_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1&gt;NUL 2&gt;NUL</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core_f.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>includes;../../libs/MALLOC/includes;../../libs/intl;../localization/includes;../output_stream/includes;../core/includes;../api_scilab/includes;../fileio/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_SCILAB_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)core_f_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1&gt;NUL 2&gt;NUL</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core_f.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <WholeProgramOptimization>false</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>includes;../../libs/MALLOC/includes;../../libs/intl;../localization/includes;../output_stream/includes;../core/includes;../api_scilab/includes;../fileio/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_SCILAB_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <StringPooling>true</StringPooling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <WarningLevel>Level3</WarningLevel>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)core_f_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1&gt;NUL 2&gt;NUL</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core_f.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <WholeProgramOptimization>false</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>includes;../../libs/MALLOC/includes;../../libs/intl;../localization/includes;../output_stream/includes;../core/includes;../api_scilab/includes;../fileio/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_SCILAB_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <StringPooling>true</StringPooling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <WarningLevel>Level3</WarningLevel>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)core_f_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1&gt;NUL 2&gt;NUL</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core_f.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClInclude Include="includes\dynlib_external_objects_java_scilab.h" />
+    <ClInclude Include="includes\ExternalObjects.h" />
+    <ClInclude Include="includes\ExternalObjectsFunction.h" />
+    <ClInclude Include="includes\gw_external_objects.h" />
+    <ClInclude Include="includes\OptionsHelper.hxx" />
+    <ClInclude Include="includes\ScilabAbstractEnvironment.hxx" />
+    <ClInclude Include="includes\ScilabAbstractEnvironmentException.hxx" />
+    <ClInclude Include="includes\ScilabAbstractEnvironmentWrapper.hxx" />
+    <ClInclude Include="includes\ScilabAbstractInvoker.hxx" />
+    <ClInclude Include="includes\ScilabAbstractMemoryAllocator.hxx" />
+    <ClInclude Include="includes\ScilabAbstractOptionsSetter.hxx" />
+    <ClInclude Include="includes\ScilabAutoCleaner.hxx" />
+    <ClInclude Include="includes\ScilabEnvironments.hxx" />
+    <ClInclude Include="includes\ScilabGateway.hxx" />
+    <ClInclude Include="includes\ScilabGatewayOptions.hxx" />
+    <ClInclude Include="includes\ScilabObjects.hxx" />
+    <ClInclude Include="includes\ScilabOptionsSetter.hxx" />
+    <ClInclude Include="includes\ScilabStream.hxx" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="sci_gateway\cpp\sci_doubleExclam_invoke_.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_invoke_lu.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EClass_e.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_0.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_1_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_2_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_3_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_4_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_5.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_a_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_disp.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_d_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_e.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_g_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_h_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_j_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_k_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_l_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_m_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_n_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_o_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_p.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_p_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_q_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_r_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_s_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_t.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_x_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_y_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_z_foo.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_percent_foo_i_EObj.cpp" />
+    <ClCompile Include="sci_gateway\c\gw_external_objects.c" />
+    <ClCompile Include="src\cpp\addNamedVariable.cpp" />
+    <ClCompile Include="src\cpp\addToClasspath.cpp" />
+    <ClCompile Include="src\cpp\array.cpp" />
+    <ClCompile Include="src\cpp\cast.cpp" />
+    <ClCompile Include="src\cpp\classExtract.cpp" />
+    <ClCompile Include="src\cpp\compile.cpp" />
+    <ClCompile Include="src\cpp\convMatrixMethod.cpp" />
+    <ClCompile Include="src\cpp\deff.cpp" />
+    <ClCompile Include="src\cpp\display.cpp" />
+    <ClCompile Include="src\cpp\doubleExclam_invoke.cpp" />
+    <ClCompile Include="src\cpp\evalString.cpp" />
+    <ClCompile Include="src\cpp\exists.cpp" />
+    <ClCompile Include="src\cpp\ExternalObjectsFunction.cpp" />
+    <ClCompile Include="src\cpp\getClassName.cpp" />
+    <ClCompile Include="src\cpp\getClasspath.cpp" />
+    <ClCompile Include="src\cpp\getEnvId.cpp" />
+    <ClCompile Include="src\cpp\getEnvironmentInfos.cpp" />
+    <ClCompile Include="src\cpp\getEnvironmentName.cpp" />
+    <ClCompile Include="src\cpp\getField.cpp" />
+    <ClCompile Include="src\cpp\getFields.cpp" />
+    <ClCompile Include="src\cpp\getMethods.cpp" />
+    <ClCompile Include="src\cpp\getNamedVariable.cpp" />
+    <ClCompile Include="src\cpp\getRepresentation.cpp" />
+    <ClCompile Include="src\cpp\getsetOptions.cpp" />
+    <ClCompile Include="src\cpp\import.cpp" />
+    <ClCompile Include="src\cpp\invoke.cpp" />
+    <ClCompile Include="src\cpp\invoker.cpp" />
+    <ClCompile Include="src\cpp\invoke_lu.cpp" />
+    <ClCompile Include="src\cpp\newInstance.cpp" />
+    <ClCompile Include="src\cpp\objectExtract.cpp" />
+    <ClCompile Include="src\cpp\objectInsert.cpp" />
+    <ClCompile Include="src\cpp\objectPrint.cpp" />
+    <ClCompile Include="src\cpp\operation.cpp" />
+    <ClCompile Include="src\cpp\OptionsHelper.cpp" />
+    <ClCompile Include="src\cpp\remove.cpp" />
+    <ClCompile Include="src\cpp\ScilabAutoCleaner.cpp" />
+    <ClCompile Include="src\cpp\ScilabEnvironments.cpp" />
+    <ClCompile Include="src\cpp\ScilabObjects.cpp" />
+    <ClCompile Include="src\cpp\ScilabOptionsSetter.cpp" />
+    <ClCompile Include="src\cpp\setField.cpp" />
+    <ClCompile Include="src\cpp\trace.cpp" />
+    <ClCompile Include="src\cpp\unwrap.cpp" />
+    <ClCompile Include="src\cpp\unwrapremove.cpp" />
+    <ClCompile Include="src\cpp\wrap.cpp" />
+    <ClCompile Include="src\cpp\wrapAsRef.cpp" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\libs\MALLOC\MALLOC.vcxproj">
+      <Project>{6a84ad8c-ba18-4a3f-9c72-ec3df0939e9e}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\api_scilab\api_scilab.vcxproj">
+      <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\fileio\fileio.vcxproj">
+      <Project>{4fc72d4a-80ee-4b1a-8724-0201c1a35621}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\localization\src\localization.vcxproj">
+      <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\output_stream\src\c\output_stream.vcxproj">
+      <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Library Include="..\..\bin\libintl.lib" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="core_f_Import.def" />
+    <None Include="core_Import.def" />
+    <None Include="external_objects.iss" />
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="external_objects.rc" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/external_objects_java.vcxproj.filters b/scilab/modules/external_objects_java/external_objects_java.vcxproj.filters
new file mode 100644 (file)
index 0000000..b5cea21
--- /dev/null
@@ -0,0 +1,326 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{882e5383-bba2-4869-84d6-9f18e608abaa}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{10a5ce4c-f9be-4490-9c72-7123a3384640}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Resource File">
+      <UniqueIdentifier>{a76f8a77-2bd3-4f13-9ab2-7cb26ad4418e}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Libraries Dependencies">
+      <UniqueIdentifier>{49ac0be0-21fc-461e-adf6-626a904f8064}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Libraries Dependencies\Imports">
+      <UniqueIdentifier>{a986ba00-0dde-4728-94ef-439b52ceb5d5}</UniqueIdentifier>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="includes\dynlib_external_objects_java_scilab.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ExternalObjects.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ExternalObjectsFunction.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\gw_external_objects.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\OptionsHelper.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAbstractEnvironment.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAbstractEnvironmentException.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAbstractEnvironmentWrapper.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAbstractInvoker.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAbstractMemoryAllocator.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAbstractOptionsSetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabAutoCleaner.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabEnvironments.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabGateway.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabGatewayOptions.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabObjects.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabOptionsSetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\ScilabStream.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="sci_gateway\c\gw_external_objects.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_doubleExclam_invoke_.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_invoke_lu.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EClass_e.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_0.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_1_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_2_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_3_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_4_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_5.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_a_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_d_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_disp.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_e.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_g_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_h_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_j_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_k_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_l_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_m_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_n_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_o_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_p.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_p_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_q_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_r_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_s_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_t.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_x_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_y_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_EObj_z_foo.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_percent_foo_i_EObj.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\addNamedVariable.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\wrapAsRef.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\addToClasspath.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\array.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\cast.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\classExtract.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\compile.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\convMatrixMethod.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\deff.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\display.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\doubleExclam_invoke.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\evalString.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\exists.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\ExternalObjectsFunction.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getClassName.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getClasspath.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getEnvId.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getEnvironmentInfos.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getEnvironmentName.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getField.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getFields.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getMethods.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getNamedVariable.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getRepresentation.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\getsetOptions.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\import.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\invoke.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\invoke_lu.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\invoker.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\newInstance.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\objectExtract.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\objectInsert.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\objectPrint.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\operation.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\OptionsHelper.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\remove.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\ScilabAutoCleaner.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\ScilabEnvironments.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\ScilabObjects.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\ScilabOptionsSetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\setField.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\trace.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\unwrap.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\unwrapremove.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\wrap.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <Library Include="..\..\bin\libintl.lib" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="core_Import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="core_f_Import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="external_objects.iss" />
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="external_objects.rc">
+      <Filter>Resource File</Filter>
+    </ResourceCompile>
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/help/en_US/addchapter.sce b/scilab/modules/external_objects_java/help/en_US/addchapter.sce
new file mode 100644 (file)
index 0000000..8562a5e
--- /dev/null
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+
+//add_help_chapter("Java from Scilab",SCI+"/modules/external_objects_java/help/en_US",%T);
diff --git a/scilab/modules/external_objects_java/help/en_US/jallowClassReloading.xml b/scilab/modules/external_objects_java/help/en_US/jallowClassReloading.xml
new file mode 100644 (file)
index 0000000..396031b
--- /dev/null
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jallowClassReloading">
+    <refnamediv>
+        <refname>jallowClassReloading</refname>
+        <refpurpose>Allow the class reloading</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jallowClassReloading(bool)
+            isAllowed = jallowClassReloading()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>bool</term>
+                <listitem>
+                    <para>A boolean to allow or disallow</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>isAllowed</term>
+                <listitem>
+                    <para>A boolean to indicate if the class relaoding is allowed or not</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Allow or disallow the class reloading. The reloading is only available for the classes which are not distributed in the Java framework. The <literal>jimport</literal> function uses this parameter.
+        </para>
+        <para>
+            By default, it is set to false (since it is a development tool).
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jallowClassReloading(%t);
+               jallowClassReloading()
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jimport">jimport</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jarray.xml b/scilab/modules/external_objects_java/help/en_US/jarray.xml
new file mode 100644 (file)
index 0000000..c79dbde
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jarray">
+    <refnamediv>
+        <refname>jarray</refname>
+        <refpurpose>Create a Java array</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jarray(className, n_1 [, n_2 [, ...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>className</term>
+                <listitem>
+                    <para>A string giving the class name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>n_i</term>
+                <listitem>
+                    <para>An integer giving the array dimension</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Creates a multidimensional array n_1x...xn_p of elements with type className. An array element can be accessed in using classical Scilab notations but take care that the index must stay between 0 and n_i (like in Java).
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               a = jarray("java.lang.String", 2, 2, 3);
+               // array insertion
+               a(0, 0, 2) = "Hi Jims !";
+               a(1, 0, 2) = "Hi Jims again !!"
+
+               // array extraction
+               length(a(1, 0, 2));
+               a(1, 0, 2)
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jautoUnwrap.xml b/scilab/modules/external_objects_java/help/en_US/jautoUnwrap.xml
new file mode 100644 (file)
index 0000000..b45f6bd
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jautoUnwrap">
+    <refnamediv>
+        <refname>jautoUnwrap</refname>
+        <refpurpose>Unwrap automatically returned values</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            autoUnwrap = jautoUnwrap()
+            jautoUnwrap(autoUnwrap)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>autoUnwrap</term>
+                <listitem>
+                    <para>A boolean</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            If autoUnwrap is true, all the values returned by a method invocation are unwrapped if it is possible.
+        </para>
+        <para>
+            By default, autoUnwrap is false.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jautoUnwrap()
+               jautoUnwrap(%t);
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jinvoke">jinvoke</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jcast.xml b/scilab/modules/external_objects_java/help/en_US/jcast.xml
new file mode 100644 (file)
index 0000000..ac1c435
--- /dev/null
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jcast">
+    <refnamediv>
+        <refname>jcast</refname>
+        <refpurpose>Cast a Java object into an other one.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jcast(javaObject, class)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>javaObject</term>
+                <listitem>
+                    <para>A mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>class</term>
+                <listitem>
+                    <para>A string giving the class name or a mlist typed _JClass got with jimport or jcompile</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Gives the possisbility to cast an object into another one with the given class if it is possible.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.Double;
+              jimport java.lang.Number;
+
+               d = Double.new("1.23456");
+               jgetclassname(d)
+               e = jcast(d, "java.lang.Number");
+              // or as an alternative
+              f = jcast(d, Number);
+               jgetclassname(e)
+               jremove e d f;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jgetclassname">jgetclassname</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jcompile.xml b/scilab/modules/external_objects_java/help/en_US/jcompile.xml
new file mode 100644 (file)
index 0000000..b99241c
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jcompile">
+    <refnamediv>
+        <refname>jcompile</refname>
+        <refpurpose>Compile Java code</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            class = jcompile(className, code);
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>className</term>
+                <listitem>
+                    <para>A string giving the class name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>code</term>
+                <listitem>
+                    <para>A row or a column of strings containing the Java code.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>class</term>
+                <listitem>
+                    <para>A mlist typed _JClass</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Compile Java source code and load the corresponding class. If the package tools.jar, distributed with JDK, is not in the classpath, the Eclipse Compiler for Java (ECJ) will be used.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               hw = jcompile("HelloWorld", ["public class HelloWorld {"
+                                            "public static String getHello() {"
+                                            "return ""Hello World !!"";"
+                                            "}"
+                                            "}"]);
+
+               hello = hw.getHello()
+
+               jremove hello hw
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jimport">jimport</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jconvMatrixMethod.xml b/scilab/modules/external_objects_java/help/en_US/jconvMatrixMethod.xml
new file mode 100644 (file)
index 0000000..bf537e9
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jconvMatrixMethod">
+    <refnamediv>
+        <refname>jconvMatrixMethod</refname>
+        <refpurpose>Set the way to convert matrices</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            method = jconvMatrixMethod()
+            jconvMatrixMethod(method)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>method</term>
+                <listitem>
+                    <para>A string giving the type of conversion: 'rc' or 'cr'</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            In Scilab a matrix such as <literal>[1 2 3;4 5 6]</literal> is stored <literal>[1 4 2 5 3 6]</literal> (column by column). In Java the same matrix is stored as <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal> (array of pointers).
+        </para>
+        <para>
+            When method is 'cr' (column-row), the internal array <literal>[1 4 2 5 3 6]</literal> is passed as it is and Java creates the array <literal>[-&gt;[1 4] -&gt;[2 5] -&gt;[3 6]]</literal>.
+        </para>
+        <para>
+            When method is 'rc' (row-column), the array <literal>[1 4 2 5 3 6]</literal> is passed as <literal>[1 2 3 4 5 6]</literal> and converted into <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal>.
+        </para>
+        <para>
+            By default the method is set to 'cr'.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jconvMatrixMethod();
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jdeff.xml b/scilab/modules/external_objects_java/help/en_US/jdeff.xml
new file mode 100644 (file)
index 0000000..0224527
--- /dev/null
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jdeff">
+    <refnamediv>
+        <refname>jdeff</refname>
+        <refpurpose>Map a static Java method onto a Scilab macro</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jdeff(className, javaMethodName, scilabMacroName)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>className</term>
+                <listitem>
+                    <para>A string giving the class name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>javaMethodName</term>
+                <listitem>
+                    <para>A string giving the method name in the class (the method must be static)</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>scilabMacroName</term>
+                <listitem>
+                    <para>A string giving the macro name</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Provides a simple way to map a static Java method onto a Scilab macro. The result is automatically unwrapped (if it is possible).
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jdeff("java.lang.Double", "parseDouble", "str2number");
+               PI = str2number("3.141592653589");
+               PI - %pi
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link type="scilab" linkend="scilab.help/deff">deff</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jdisableTrace.xml b/scilab/modules/external_objects_java/help/en_US/jdisableTrace.xml
new file mode 100644 (file)
index 0000000..0c92b6f
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jdisableTrace">
+    <refnamediv>
+        <refname>jdisableTrace</refname>
+        <refpurpose>Stop the trace process.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jdisableTrace()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Stop the trace process enabled with jenableTrace.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jenableTrace(fullpath(TMPDIR + "/../debug_jims.log"));
+               // ...
+               jdisableTrace();
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jenableTrace">jenableTrace</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jenableTrace.xml b/scilab/modules/external_objects_java/help/en_US/jenableTrace.xml
new file mode 100644 (file)
index 0000000..b250dec
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jenableTrace">
+    <refnamediv>
+        <refname>jenableTrace</refname>
+        <refpurpose>Allow to trace the internal functionnement of JIMS to help the debugging.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jenableTrace(filename)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>filename</term>
+                <listitem>
+                    <para>A string giving the filename</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Make easier the debugging in tracing what it happens in JIMS. It is common way to help the author to debug.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+              jenableTrace(fullpath(TMPDIR + "/../debug_jims.log"));
+              // ...
+              jdisableTrace();
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jdisableTrace">jdisableTrace</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jexists.xml b/scilab/modules/external_objects_java/help/en_US/jexists.xml
new file mode 100644 (file)
index 0000000..5f6cb1d
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jexists">
+    <refnamediv>
+        <refname>jexists</refname>
+        <refpurpose>Test if a Scilab Java Object is valid on the Java side</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            bool = jexists(obj)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>obj</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>bool</term>
+                <listitem>
+                    <para>A boolean</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Returns true if the corresponding Java object is always valid. An object can be invalidated with jremove.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+              jimport java.lang.Double;
+              d = Double.new("1.23456");
+              jexists(d)
+              jremove d;
+              jexists(d)
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jremove">jremove</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jgetclassname.xml b/scilab/modules/external_objects_java/help/en_US/jgetclassname.xml
new file mode 100644 (file)
index 0000000..cc8c97d
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jgetclassname">
+    <refnamediv>
+        <refname>jgetclassname</refname>
+        <refpurpose>Give the class name of the given object</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            name = jgetclassname(obj)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>obj</term>
+                <listitem>
+                    <para>A mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>name</term>
+                <listitem>
+                    <para>A Scilab string</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Get the class name.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               s = jwrap("Hello World !");
+               jgetclassname(s)
+
+               jremove s;
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jgetfield.xml b/scilab/modules/external_objects_java/help/en_US/jgetfield.xml
new file mode 100644 (file)
index 0000000..2a06923
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jgetfield">
+    <refnamediv>
+        <refname>jgetfield</refname>
+        <refpurpose>Get the field value of a Java object</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jgetfield(object, fieldName [, unwrap])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>object</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass or a Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>fieldName</term>
+                <listitem>
+                    <para>A string giving the field name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>unwrap</term>
+                <listitem>
+                    <para>A single boolean</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Get the value of the field named fieldName. If the optional third argument is true, then the value is automatically unwrapped.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               c = jcompile("Test", ["public class Test {";
+                                     "public int field;";
+                                     "public Test(int n) {";
+                                     "field = n;";
+                                     "}";
+                                     "}";]);
+               t = c.new(128);
+               v = jgetfield(t, "field")
+
+               // or more easier
+               junwraprem(t.field)
+
+               jremove c t v;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jsetfield">jsetfield</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jgetfields.xml b/scilab/modules/external_objects_java/help/en_US/jgetfields.xml
new file mode 100644 (file)
index 0000000..c6444c5
--- /dev/null
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jgetfields">
+    <refnamediv>
+        <refname>jgetfields</refname>
+        <refpurpose>Get all the fields of a Java object</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            fields = jgetfields(object)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>object</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass or a Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>fields</term>
+                <listitem>
+                    <para>A column of strings</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Retrieve all the fields of a Java object.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               s = "Hello World !"
+               jgetfields(jwrap(s))
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jgetmethods">jgetmethods</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jgetmethods.xml b/scilab/modules/external_objects_java/help/en_US/jgetmethods.xml
new file mode 100644 (file)
index 0000000..6f5ff92
--- /dev/null
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jgetmethods">
+    <refnamediv>
+        <refname>jgetmehtods</refname>
+        <refpurpose>Get all the methods of a Java object</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            methods = jgetmethods(object)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>object</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass or a Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>methods</term>
+                <listitem>
+                    <para>A column of strings</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Retrieve all the methods of a Java object.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               s = "Hello World !"
+               jgetmethods(jwrap(s))
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jgetfields">jgetfields</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jimport.xml b/scilab/modules/external_objects_java/help/en_US/jimport.xml
new file mode 100644 (file)
index 0000000..9865a33
--- /dev/null
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jimport">
+    <refnamediv>
+        <refname>jimport</refname>
+        <refpurpose>Import a Java class</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jimport(className)
+            cl = jimport(className, isAClassReturned)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>className</term>
+                <listitem>
+                    <para>A string giving the class name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>isAClassReturned</term>
+                <listitem>
+                    <para>A boolean to indicate if a class object must be returned</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            The class must be in the classpath (to add a package or a directory in the Java classpath, just use <link type="scilab" linkend="scilab.help/javaclasspath">javaclasspath</link>).
+        </para>
+        <para>
+            When <literal>jimport("java.lang.String")</literal>, a mlist named String is created on the Scilab stack. The created mlist has a type equals to _JClass and can be used to instantiate new objects in using something like <literal>str = String.new("A Scilab String");</literal>. It is possible to call the static methods (if exist) of the class
+        </para>
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.System;
+               jimport java.util.Date;
+               System.err.println("A message print in the Scilab console");
+               l = System.currentTimeMillis();
+               d = Date.new(l)
+               jremove(l,d);
+      ]]></programlisting>
+        <para>
+            To avoid confusion with already existing Scilab variables, the second argument isAClassReturned can be used
+        </para>
+        <programlisting role="example"><![CDATA[
+                 String = "Hello";
+                 foo = jimport("java.lang.String", %f);
+                 obj = foo.new("A string...")
+                 jremove(obj);
+        ]]></programlisting>
+        <para>
+            A class can be reloaded if it is allowed by the function <literal>jallowReloadClass</literal>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport javax.swing.JFrame;
+               jimport javax.swing.JLabel;
+
+               jframe = JFrame.new("Hello World !! Window");
+               jlabel = JLabel.new("A JLabel containing ""Hello Wolrd""");
+               cp = jframe.getContentPane();
+               cp.add(jlabel);
+               jframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
+               jframe.pack();
+               jframe.setVisible(%t);
+               jremove jlabel cp jframe;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link type="scilab" linkend="scilab.help/javaclasspath">javaclasspath</link>
+            </member>
+            <member>
+                <link linkend="jallowClassReloading">jallowClassReloading</link>
+            </member>
+            <member>
+                <link linkend="jremove">jremove</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jimsgetpath.xml b/scilab/modules/external_objects_java/help/en_US/jimsgetpath.xml
new file mode 100644 (file)
index 0000000..b09e1d1
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="jimsgetpath" xml:lang="en">
+    <refnamediv>
+        <refname>jimsgetpath</refname>
+        <refpurpose>Returns the path to the current module.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            path = jimsgetpath ( )
+            
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>path :</term>
+                <listitem>
+                    <para> a 1-by-1 matrix of strings, the path to the current module.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+path = jimsgetpath ( )
+
+   ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jinvoke.xml b/scilab/modules/external_objects_java/help/en_US/jinvoke.xml
new file mode 100644 (file)
index 0000000..7ff2961
--- /dev/null
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jinvoke">
+    <refnamediv>
+        <refname>jinvoke</refname>
+        <refpurpose>Invoke a method of a Java object</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            ret = jinvoke(object, methodName [, arg_1 [, arg_2...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>object</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass or a Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>methodName</term>
+                <listitem>
+                    <para>A string giving the method name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>arg_i</term>
+                <listitem>
+                    <para>A Scilab variable as method argument</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Invoke the Java method (static or not) called methodName of the given object. The result is returned as a mlist typed _JObj.
+        </para>
+        <para>
+            The polymorphism is handled in using Java Reflection and the autoboxing is handled too so ArrayList.add(1.234) or ArrayList.add("Hello") are allowed. If it exists a method Foo.bar(int), it is possible to write Foo.bar(123) even if 123 is a Scilab double but Foo.bar(double), if it exists, will be choosen.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.System;
+               jimport java.awt.Color;
+
+               // Non-static methods
+               jinvoke("Hello World !!", "length");
+
+               // Static method
+               T = jinvoke(System, "currentTimeMillis");
+
+               // Combine
+               c = jinvoke(Color, "decode", "123456");
+               cb = jinvoke(c, "brighter");
+               jcode = jinvoke(cb, "getRGB");
+               code = junwrap(jcode)
+
+               jremove System Color T c cb jcode;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jautoUnwrap">jautoUnwrap</link>
+            </member>
+            <member>
+                <link linkend="jinvoke_db">jinvoke_db</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jinvoke_db.xml b/scilab/modules/external_objects_java/help/en_US/jinvoke_db.xml
new file mode 100644 (file)
index 0000000..134a47d
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jinvoke_db">
+    <refnamediv>
+        <refname>jinvoke_db</refname>
+        <refpurpose>Invoke a method of a Java object in using Java direct buffers</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            ret = jinvoke_db(object, methodName [, varName_1 [, varName_2...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>object</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass or a Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>methodName</term>
+                <listitem>
+                    <para>A string giving the method name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>varName_i</term>
+                <listitem>
+                    <para>A string giving a Scilab variable name as argument</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Invoke the Java method (static or not) called methodName of the given object. A pointer on the Scilab variable named varNamei is got and a direct buffer is created.
+            <emphasis role="bold">Take care: you should not keep any reference on a direct buffer. You have a direct access to the Scilab memory so if for one reason a Scilab variable is moved or destroyed, you risk to read or to write where you would not do it ! To avoid any problems, the limit of each buffer is set to 0.</emphasis>
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               c = jcompile("TestDirectBuffer",["import java.nio.DoubleBuffer;";
+                                                "public class TestDirectBuffer {";
+                                                "public static void increment(DoubleBuffer x) {";
+                                                "for (int i = 0; i < x.capacity(); i++) x.put(i, x.get(i) + 1);";
+                                                "}";
+                                                "}"])
+               a = 1:10000;
+               b = a + 1; // only used to compare with the following...
+               jinvoke_db(c, "increment", "a");
+               and(a==b)
+
+               jremove c;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jinvoke">jinvoke</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jnewInstance.xml b/scilab/modules/external_objects_java/help/en_US/jnewInstance.xml
new file mode 100644 (file)
index 0000000..d324e18
--- /dev/null
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jnewInstance">
+    <refnamediv>
+        <refname>jnewInstance</refname>
+        <refpurpose>Creates a new instance of a Java class</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            obj = jnewInstance(class [, arg_1 [, arg_2... ]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>class</term>
+                <listitem>
+                    <para>A mlist typed _JClass or a string containing the class name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>arg_i</term>
+                <listitem>
+                    <para>A Scilab data or a mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>obj</term>
+                <listitem>
+                    <para>A mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Creates a new instance of a Java class obtained with <link linkend="jimport">jimport</link>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.util.Date;
+               jimport java.lang.System;
+
+               t = System.currentTimeMillis();
+               s = jnewInstance(Date, t);
+               str = jnewInstance("java.lang.String", "Hello");
+               d = s.toString()
+
+               jremove Date System t s str;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="new">new</link>
+            </member>
+            <member>
+                <link linkend="jimport">jimport</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jnull.xml b/scilab/modules/external_objects_java/help/en_US/jnull.xml
new file mode 100644 (file)
index 0000000..fd4b4e1
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jnull">
+    <refnamediv>
+        <refname>jnull</refname>
+        <refpurpose>The Scilab version of the Java null object.</refpurpose>
+    </refnamediv>
+    <refsection>
+        <title>Description</title>
+        <para>
+            It is simply a wrapper for null object.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+              jnull
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jremove.xml b/scilab/modules/external_objects_java/help/en_US/jremove.xml
new file mode 100644 (file)
index 0000000..4f95026
--- /dev/null
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jremove">
+    <refnamediv>
+        <refname>jremove</refname>
+        <refpurpose>Remove a Java Object on the Java side</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jremove()
+            jremove(varName_1 [, varName_2, ...])
+            jremove varName_1 [varName_2 ...]
+            jremove(object_1 [, object_2 ...])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>varName_i</term>
+                <listitem>
+                    <para>A string giving the variable name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>object_i</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            If no argument are given to jremove, then all the variables are removed on the Java side and garbage collection is called.
+        </para>
+        <para>
+            Else the corresponding variable is removed on the Java side.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.String;
+
+               s = String.new("Hello world");
+               jremove s;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jexists">jexists</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jsetfield.xml b/scilab/modules/external_objects_java/help/en_US/jsetfield.xml
new file mode 100644 (file)
index 0000000..46915f0
--- /dev/null
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jsetfield">
+    <refnamediv>
+        <refname>jsetfield</refname>
+        <refpurpose>Set the field of a Java object</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jsetfield(object, fieldName, value)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>object</term>
+                <listitem>
+                    <para>A mlist typed _JObj or _JClass or a Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>fieldName</term>
+                <listitem>
+                    <para>A string giving the field name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>value</term>
+                <listitem>
+                    <para>A Scilab variable or mlist typed _JObj as new field value</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Set the field named fieldName to the given value.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               c = jcompile("Test", ["public class Test {";
+                                     "public int field;";
+                                     "public Test(int n) {";
+                                     "field = n;";
+                                     "}";
+                                     "}";]);
+               t = c.new(128);
+               junwrap(t.field)
+               jsetfield(t, "field", 256);
+               junwrap(t.field)
+
+               // But it is easier to use...
+               t.field = 512;
+               junwrap(t.field)
+               jremove c t;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jgetfield">jgetfield</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/junwrap.xml b/scilab/modules/external_objects_java/help/en_US/junwrap.xml
new file mode 100644 (file)
index 0000000..5f9d510
--- /dev/null
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="junwrap">
+    <refnamediv>
+        <refname>junwrap</refname>
+        <refpurpose>Convert a Java object into a Scilab native type</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            [var_1, var_2, ...] = junwrap(obj_1 [, obj_2 [, ...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>obj_i</term>
+                <listitem>
+                    <para>A mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>var_i</term>
+                <listitem>
+                    <para>Scilab variable</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Convert a native Java object in a Scilab's one.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.String;
+
+               s = String.new("Hello JIMS !!");
+               s1 = s.toUpperCase();
+               s2 = s.toLowerCase()
+               [S1 S2] = junwrap(s1, s2)
+               typeof(S1), typeof(S2)
+
+               jremove s s1 s2
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="junwraprem">junwraprem</link>
+            </member>
+            <member>
+                <link linkend="jwrap">jwrap</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/junwraprem.xml b/scilab/modules/external_objects_java/help/en_US/junwraprem.xml
new file mode 100644 (file)
index 0000000..b328eed
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="junwraprem">
+    <refnamediv>
+        <refname>junwraprem</refname>
+        <refpurpose>Convert a Java object into a Scilab native type and remove it from the Java side</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            [var_1, var_2, ...] = junwraprem(obj_1 [, obj_2 [, ...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>obj_i</term>
+                <listitem>
+                    <para>A mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>var_i</term>
+                <listitem>
+                    <para>Scilab variable</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Convert a native Java object in a Scilab's one and remove it from Java.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.String;
+
+               s = String.new("Hello JIMS !!");
+               s1 = s.toUpperCase();
+               s2 = s.toLowerCase();
+               [S1 S2] = junwraprem(s1, s2)
+
+               jremove s
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="junwrap">junwrap</link>
+            </member>
+            <member>
+                <link linkend="jwrap">jwrap</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jvoid.xml b/scilab/modules/external_objects_java/help/en_US/jvoid.xml
new file mode 100644 (file)
index 0000000..16217bf
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jvoid">
+    <refnamediv>
+        <refname>jvoid</refname>
+        <refpurpose>For no argument functions</refpurpose>
+    </refnamediv>
+    <refsection>
+        <title>Description</title>
+        <para>
+            It could have bugs due to the notation a.b(), so to avoid them, you should prefer a.b(jvoid).
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+              jimport java.lang.String;
+              
+              s = String.new(jvoid);
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jwrap.xml b/scilab/modules/external_objects_java/help/en_US/jwrap.xml
new file mode 100644 (file)
index 0000000..09e99d9
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jwrap">
+    <refnamediv>
+        <refname>jwrap</refname>
+        <refpurpose>Wrap a Scilab variable into a Java one if possible</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            [jw_1, jw_2, ...] = jwrap(sc_1 [, sc_2 [, sc_3 [,... ]]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>sc_i</term>
+                <listitem>
+                    <para>A Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>jw_i</term>
+                <listitem>
+                    <para>A Java wrapping of the corresponding Scilab variable</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Wrap a Scilab variable into a Java one. For now, only the primitive type can be wrapped:
+            <simplelist type="inline">
+                <member>constant (real not complex) into double;</member><member>string into String;</member><member>boolean into boolean;</member><member>int8 into byte;</member><member>uint8 into short;</member><member>int16 into short;</member><member>uint16 into int;</member><member>int32 into int;</member><member>uint32 into long.</member>
+            </simplelist>
+            The matrices are wrapped into arrays too, e.g. an int8 matrix 3x4 is wraped into a <literal>byte[3][4]</literal> or <literal>byte[4][3]</literal> depending on conversion method which can be changed in using the command <link linkend="jconvMatrixMethod">jconvMatrixMethod</link>.
+            You should take care that the range of the index is the same as in Java, so <literal>a(0)</literal> is valid.
+        </para>
+        <para>
+            It is possible to wrap into Java types float or char in using respectively <link linkend="jwrapinfloat">jwrapinfloat</link> and <link linkend="jwrapinchar">jwrapinchar</link>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               [a,b,c] = jwrap(1, [1 2;3 4], ["hello" "world"]);
+               a, b(1, 1), c(1)
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jconvMatrixMethod">jconvMatrixMethod</link>
+            </member>
+            <member>
+                <link linkend="jwrapinfloat">jwrapinfloat</link>
+            </member>
+            <member>
+                <link linkend="jwrapinchar">jwrapinchar</link>
+            </member>
+            <member>
+                <link linkend="junwrap">junwrap</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jwrapinchar.xml b/scilab/modules/external_objects_java/help/en_US/jwrapinchar.xml
new file mode 100644 (file)
index 0000000..e8dbfff
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jwrapinchar">
+    <refnamediv>
+        <refname>jwrapinchar</refname>
+        <refpurpose>Wrap Scilab uint16 matrix into Java char multiarray.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            [jw_1, jw_2, ...] = jwrapinchar(sc_1 [, sc_2 [, sc_3 [,... ]]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>sc_i</term>
+                <listitem>
+                    <para>A Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>jw_i</term>
+                <listitem>
+                    <para>A Java wrapping in a char of the corresponding Scilab variable</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            In Scilab, it exists the uint16 datatype which it has been wrapped in short, but it is possible to wrap it into char too with jwrapinchar.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               c = jwrapinchar(uint16(123456));
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jwrap">jwrap</link>
+            </member>
+            <member>
+                <link linkend="jwrapinfloat">jwrapinfloat</link>
+            </member>
+            <member>
+                <link linkend="junwrap">junwrap</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jwrapinfloat.xml b/scilab/modules/external_objects_java/help/en_US/jwrapinfloat.xml
new file mode 100644 (file)
index 0000000..97ecdaa
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jwrapinfloat">
+    <refnamediv>
+        <refname>jwrapinfloat</refname>
+        <refpurpose>Wrap Scilab double matrix into Java float multiarray.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            [jw_1, jw_2, ...] = jwrapinfloat(sc_1 [, sc_2 [, sc_3 [,... ]]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>sc_i</term>
+                <listitem>
+                    <para>A Scilab variable</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>jw_i</term>
+                <listitem>
+                    <para>A Java wrapping in a float of the corresponding Scilab variable</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Since the float data type does not exist in Scilab, it is possible with this function to wrap a double in a float.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               f = jwrapinfloat(%pi);
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jwrap">jwrap</link>
+            </member>
+            <member>
+                <link linkend="jwrapinchar">jwrapinchar</link>
+            </member>
+            <member>
+                <link linkend="junwrap">junwrap</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/new.xml b/scilab/modules/external_objects_java/help/en_US/new.xml
new file mode 100644 (file)
index 0000000..ea5dbc9
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*
+-->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="new">
+    <refnamediv>
+        <refname>new</refname>
+        <refpurpose>Creates a new instance of a Java class</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            class.new([arg1, [, arg2, ...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>class</term>
+                <listitem>
+                    <para>A mlist typed _JClass</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>argi</term>
+                <listitem>
+                    <para>A Scilab data or a mlist typed _JObj</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Creates a new instance of a Java class obtained with <link linkend="jimport">jimport</link>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jimport java.util.Date;
+               jimport java.lang.System;
+
+               t = System.currentTimeMillis();
+               s = Date.new(t);
+               d = s.toString()
+
+               jremove Date System t s;
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jnewInstance">jnewInstance</link>
+            </member>
+            <member>
+                <link linkend="jimport">jimport</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/includes/#ScilabGateway.hxx# b/scilab/modules/external_objects_java/includes/#ScilabGateway.hxx#
new file mode 100644 (file)
index 0000000..443c193
--- /dev/null
@@ -0,0 +1,121 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABGATEWAY_HXX__
+#define __SCILABGATEWAY_HXX__
+
+#include <sstream>
+
+#include "ScilabObjects.hxx"
+#include "ScilabAbstractInvoker.hxx"
+#include "ScilabAbstractMemoryAllocator.hxx"
+#include "ScilabAbstractOptionsSetter.hxx"
+#include "ScilabStream.hxx"
+#include "dynlib_external_objects_java_scilab.h"
+
+extern "C" {
+#include "MALLOC.h"
+}
+
+namespace org_modules_external_objects
+{
+
+qclass EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP ScilabGateway
+{
+
+public:
+
+    static int getEnvId(char * fname, const int envId, void * pvApiCtx);
+
+    static int getsetOptions(char * fname, const int envId, ScilabAbstractOptionsSetter & setter, void * pvApiCtx);
+
+    static int addToClasspath(char * fname, const int envId, void * pvApiCtx);
+
+    static int getClasspath(char * fname, const int envId, void * pvApiCtx);
+
+    static int addNamedVariable(char * fname, const int envId, void * pvApiCtx);
+
+    static int getNamedVariable(char * fname, const int envId, void * pvApiCtx);
+
+    static int evalString(char * fname, const int envId, void * pvApiCtx);
+
+    static int array(char * fname, const int envId, void * pvApiCtx);
+
+    static int cast(char * fname, const int envId, void * pvApiCtx);
+
+    static int compile(char * fname, const int envId, void * pvApiCtx);
+
+    static int convMatrixMethod(char * fname, const int envId, void * pvApiCtx);
+
+    static int deff(char * fname, const int envId, void * pvApiCtx);
+
+    static int display(char * fname, const int envId, void * pvApiCtx);
+
+    static int doubleExclam_invoke(char * fname, const int envId, void * pvApiCtx);
+
+    static int classExtract(char * fname, const int envId, void * pvApiCtx);
+
+    static int objectExtract(char * fname, const int envId, void * pvApiCtx);
+
+    static int objectInsert(char * fname, const int envId, void * pvApiCtx);
+
+    static int objectPrint(char * fname, const int envId, void * pvApiCtx);
+
+    static int exists(char * fname, const int envId, void * pvApiCtx);
+
+    static int getClassName(char * fname, const int envId, void * pvApiCtx);
+
+    static int getEnvironmentName(char * fname, const int envId, void * pvApiCtx);
+
+    static int getEnvironmentInfos(char * fname, const int envId, void * pvApiCtx);
+
+    static int getField(char * fname, const int envId, void * pvApiCtx);
+
+    static int getFields(char * fname, const int envId, void * pvApiCtx);
+
+    static int getMethods(char * fname, const int envId, void * pvApiCtx);
+
+    static int getRepresentation(char * fname, const int envId, void * pvApiCtx);
+
+    static int import(char * fname, const int envId, void * pvApiCtx);
+
+    static int operation(char * fname, const int envId, const OperatorsType type, void * pvApiCtx);
+
+    static int invoke(char * fname, const int envId, void * pvApiCtx);
+
+    static int invoke(char * fname, const int envId, ScilabAbstractInvoker & invoker, void * pvApiCtx);
+
+    static int invoke_lu(char * fname, const int envId, void * pvApiCtx);
+
+    static int trace(char * fname, const int envId, void * pvApiCtx);
+
+    static int newInstance(char * fname, const int envId, void * pvApiCtx);
+
+    static int remove(char * fname, const int envId, void * pvApiCtx);
+
+    static int setField(char * fname, const int envId, void * pvApiCtx);
+
+    static int unwrap(char * fname, const int envId, void * pvApiCtx);
+
+    static int unwrapremove(char * fname, const int envId, void * pvApiCtx);
+
+    //static int unwrapAndRemove(char * fname, const int envId, void * pvApiCtx);
+
+    static int wrap(char * fname, const int envId, void * pvApiCtx);
+
+    static int wrapAsRef(char * fname, const int envId, void * pvApiCtx);
+
+    //static int wrapInFloat(char * fname, const int envId, void * pvApiCtx);
+};
+}
+
+#endif // __SCILABGATEWAY_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ExternalObjects.h b/scilab/modules/external_objects_java/includes/ExternalObjects.h
new file mode 100644 (file)
index 0000000..bb92b61
--- /dev/null
@@ -0,0 +1,123 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __EXTERNALOBJECTS_H__
+#define __EXTERNALOBJECTS_H__
+
+#define __USE_DEPRECATED_STACK_FUNCTIONS__
+
+//#define EODEBUG
+
+#define FIELDS_LENGTH 3
+
+#define VOID_OBJECT -1
+
+#define EXTERNAL_INVALID -1
+#define EXTERNAL_OBJECT 0
+#define EXTERNAL_CLASS 1
+#define EXTERNAL_VOID 2
+
+#define EXTERNAL_ENV_ID_POSITION 2
+#define EXTERNAL_OBJ_ID_POSITION 3
+
+#define SAE_NOTHING 0
+#define SAE_NULL 1
+#define SAE_SINGLE_DOUBLE 2
+#define SAE_ROW_DOUBLE 3
+#define SAE_MAT_DOUBLE 4
+#define SAE_SINGLE_STRING 5
+#define SAE_ROW_STRING 6
+#define SAE_MAT_STRING 7
+#define SAE_SINGLE_BOOLEAN 8
+#define SAE_ROW_BOOLEAN 9
+#define SAE_MAT_BOOLEAN 10
+#define SAE_SINGLE_CHAR 11
+#define SAE_ROW_CHAR 12
+#define SAE_MAT_CHAR 13
+#define SAE_SINGLE_UCHAR 14
+#define SAE_ROW_UCHAR 15
+#define SAE_MAT_UCHAR 16
+#define SAE_SINGLE_SHORT 17
+#define SAE_ROW_SHORT 18
+#define SAE_MAT_SHORT 19
+#define SAE_SINGLE_USHORT 20
+#define SAE_ROW_USHORT 21
+#define SAE_MAT_USHORT 22
+#define SAE_SINGLE_INT 23
+#define SAE_ROW_INT 24
+#define SAE_MAT_INT 25
+#define SAE_SINGLE_UINT 26
+#define SAE_ROW_UINT 27
+#define SAE_MAT_UINT 28
+#define SAE_SINGLE_LONG 29
+#define SAE_ROW_LONG 30
+#define SAE_MAT_LONG 31
+#define SAE_SINGLE_ULONG 32
+#define SAE_ROW_ULONG 33
+#define SAE_MAT_ULONG 34
+#define SAE_SINGLE_FLOAT 35
+#define SAE_ROW_FLOAT 36
+#define SAE_MAT_FLOAT 37
+#define SAE_SINGLE_COMPLEX 38
+#define SAE_ROW_COMPLEX 39
+#define SAE_MAT_COMPLEX 40
+
+typedef enum { Nothing = SAE_NOTHING, Null = SAE_NULL,
+               SingleDouble = SAE_SINGLE_DOUBLE, RowDouble = SAE_ROW_DOUBLE, MatDouble = SAE_MAT_DOUBLE,
+               SingleString = SAE_SINGLE_STRING, RowString = SAE_ROW_STRING, MatString = SAE_MAT_STRING,
+               SingleBoolean = SAE_SINGLE_BOOLEAN, RowBoolean = SAE_ROW_BOOLEAN, MatBoolean = SAE_MAT_BOOLEAN,
+               SingleChar = SAE_SINGLE_CHAR, RowChar = SAE_ROW_CHAR, MatChar = SAE_MAT_CHAR,
+               SingleUChar = SAE_SINGLE_UCHAR, RowUChar = SAE_ROW_UCHAR, MatUChar = SAE_MAT_UCHAR,
+               SingleShort = SAE_SINGLE_SHORT, RowShort = SAE_ROW_SHORT, MatShort = SAE_MAT_SHORT,
+               SingleUShort = SAE_SINGLE_USHORT, RowUShort = SAE_ROW_USHORT, MatUShort = SAE_MAT_USHORT,
+               SingleInt = SAE_SINGLE_INT, RowInt = SAE_ROW_INT, MatInt = SAE_MAT_INT,
+               SingleUInt = SAE_SINGLE_UINT, RowUInt = SAE_ROW_UINT, MatUInt = SAE_MAT_UINT,
+               SingleLong = SAE_SINGLE_LONG, RowLong = SAE_ROW_LONG, MatLong = SAE_MAT_LONG,
+               SingleULong = SAE_SINGLE_ULONG, RowULong = SAE_ROW_ULONG, MatULong = SAE_MAT_ULONG,
+               SingleFloat = SAE_SINGLE_FLOAT, RowFloat = SAE_ROW_FLOAT, MatFloat = SAE_MAT_FLOAT,
+               SingleComplex = SAE_SINGLE_COMPLEX, RowComplex = SAE_ROW_COMPLEX, MatComplex = SAE_MAT_COMPLEX
+             } VariableType;
+
+#define SAE_TRANSP 0
+#define SAE_ADD 1
+#define SAE_SUB 2
+#define SAE_MUL 3
+#define SAE_DIV 4
+#define SAE_BACKSLASH 5
+#define SAE_POW 6
+#define SAE_DOT_MUL 7
+#define SAE_DOT_DIV 8
+#define SAE_DOT_BACKSLASH 9
+#define SAE_DOT_MUL_DOT 10
+#define SAE_DOT_DIV_DOT 11
+#define SAE_DOT_BACKSLASH_DOT 12
+#define SAE_EQ 13
+#define SAE_NEQ 14
+#define SAE_OR 15
+#define SAE_AND 16
+#define SAE_DOT_POW 17
+#define SAE_NOT 18
+#define SAE_DOT_TRANSP 19
+#define SAE_LT 20
+#define SAE_GT 21
+#define SAE_LEQ 22
+#define SAE_GEQ 23
+
+typedef enum { Transp = SAE_TRANSP, Add = SAE_ADD, Sub = SAE_SUB, Mul = SAE_MUL, Div = SAE_DIV, Backslash = SAE_BACKSLASH,
+               Pow = SAE_POW, DotMul = SAE_DOT_MUL, DotDiv = SAE_DOT_DIV, DotBackslash = SAE_DOT_BACKSLASH,
+               DotMulDot = SAE_DOT_MUL_DOT, DotDivDot = SAE_DOT_DIV_DOT, DotBackslashDot = SAE_DOT_BACKSLASH_DOT, Eq = SAE_EQ,
+               Neq = SAE_NEQ, Or = SAE_OR, And = SAE_AND, DotPow = SAE_DOT_POW, Not = SAE_NOT, DotTransp = SAE_DOT_TRANSP,
+               Lt = SAE_LT, Gt = SAE_GT, Leq = SAE_LEQ, Geq = SAE_GEQ
+             } OperatorsType;
+
+#endif //__EXTERNALOBJECTS_H__
diff --git a/scilab/modules/external_objects_java/includes/ExternalObjectsFunction.h b/scilab/modules/external_objects_java/includes/ExternalObjectsFunction.h
new file mode 100644 (file)
index 0000000..76407f4
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __EXTERNALOBJECTSFUNCTION_H__
+#define __EXTERNALOBJECTSFUNCTION_H__
+
+#include "dynlib_external_objects_java_scilab.h"
+
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP void ExternalObjects_goDown();
+
+#endif // __EXTERNALOBJECTSFUNCTION_H__
diff --git a/scilab/modules/external_objects_java/includes/ScilabAbstractInvoker.hxx b/scilab/modules/external_objects_java/includes/ScilabAbstractInvoker.hxx
new file mode 100644 (file)
index 0000000..12e963b
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - Igor GRIDCHYN
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABABSTRACTINVOKER_HXX__
+#define __SCILABABSTRACTINVOKER_HXX__
+
+namespace org_modules_external_objects
+{
+class ScilabAbstractInvoker
+{
+
+public:
+
+    virtual int invoke(int * args, int argsSize) = 0;
+};
+
+}
+
+#endif // __SCILABABSTRACTINVOKER_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabAbstractMemoryAllocator.hxx b/scilab/modules/external_objects_java/includes/ScilabAbstractMemoryAllocator.hxx
new file mode 100644 (file)
index 0000000..7d41cbb
--- /dev/null
@@ -0,0 +1,415 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABABSTRACTMEMORYALLOCATOR_H__
+#define __SCILABABSTRACTMEMORYALLOCATOR_H__
+
+#include "ScilabAbstractEnvironmentWrapper.hxx"
+#include "ScilabAbstractEnvironmentException.hxx"
+
+extern "C" {
+#include "api_scilab.h"
+}
+
+namespace org_modules_external_objects
+{
+
+class ComplexDataPointers
+{
+public:
+
+    ComplexDataPointers(double * _realPtr, double * _imagPtr) : realPtr(_realPtr), imagPtr(_imagPtr) { }
+    ComplexDataPointers() : realPtr(0), imagPtr(0) { }
+    ~ComplexDataPointers() { }
+
+    double * const realPtr;
+    double * const imagPtr;
+};
+
+class ScilabStackAllocator
+{
+
+public:
+
+    ScilabStackAllocator(void * _pvApiCtx, int _position) : pvApiCtx(_pvApiCtx), position(_position) { }
+
+    ~ScilabStackAllocator() { }
+
+protected:
+
+    int position;
+    void * pvApiCtx;
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, double * ptr)
+    {
+        SciErr err = createMatrixOfDouble(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static double * alloc(void * pvApiCtx, const int position, const int rows, const int cols, double * ptr)
+    {
+        double * _ptr = 0;
+        SciErr err = allocMatrixOfDouble(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, float * ptr)
+    {
+        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot create a matrix of floats");
+    }
+
+    inline static float * alloc(void * pvApiCtx, const int position, const int rows, const int cols, float * ptr)
+    {
+        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of floats");
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, double * re, double * im)
+    {
+        SciErr err = createComplexMatrixOfDouble(pvApiCtx, position, rows, cols, re, im);
+        checkError(err);
+    }
+
+    inline static ComplexDataPointers alloc(void * pvApiCtx, const int position, const int rows, const int cols, double * re, double * im)
+    {
+        double * _re = 0, * _im = 0;
+        SciErr err = allocComplexMatrixOfDouble(pvApiCtx, position, rows, cols, &_re, &_im);
+        checkError(err);
+
+        return ComplexDataPointers(_re, _im);
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, char * ptr)
+    {
+        SciErr err = createMatrixOfInteger8(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static char * alloc(void * pvApiCtx, const int position, const int rows, const int cols, char * ptr)
+    {
+        char * _ptr = 0;
+        SciErr err = allocMatrixOfInteger8(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned char * ptr)
+    {
+        SciErr err = createMatrixOfUnsignedInteger8(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static unsigned char * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned char * ptr)
+    {
+        unsigned char * _ptr = 0;
+        SciErr err = allocMatrixOfUnsignedInteger8(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, short * ptr)
+    {
+        SciErr err = createMatrixOfInteger16(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static short * alloc(void * pvApiCtx, const int position, const int rows, const int cols, short * ptr)
+    {
+        short * _ptr = 0;
+        SciErr err = allocMatrixOfInteger16(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned short * ptr)
+    {
+        SciErr err = createMatrixOfUnsignedInteger16(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static unsigned short * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned short * ptr)
+    {
+        unsigned short * _ptr = 0;
+        SciErr err = allocMatrixOfUnsignedInteger16(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    {
+        SciErr err = createMatrixOfInteger32(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static int * alloc(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    {
+        int * _ptr = 0;
+        SciErr err = allocMatrixOfInteger32(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned int * ptr)
+    {
+        SciErr err = createMatrixOfUnsignedInteger32(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static unsigned int * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned int * ptr)
+    {
+        unsigned int * _ptr = 0;
+        SciErr err = allocMatrixOfUnsignedInteger32(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+#ifdef __SCILAB_INT64__
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    {
+        SciErr err = createMatrixOfInteger64(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    {
+        long long * _ptr = 0;
+        SciErr err = allocMatrixOfInteger64(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    {
+        SciErr err = createMatrixOfUnsignedIntege64(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static unsigned long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    {
+        unsigned long long * _ptr = 0;
+        SciErr err = allocMatrixOfUnsignedInteger64(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return_ ptr;
+    }
+
+#else
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    {
+        int * dataPtr = 0;
+        alloc(pvApiCtx, position, rows, cols, dataPtr);
+        for (int i = 0; i < rows * cols; i++)
+        {
+            dataPtr[i] = static_cast<int>(ptr[i]);
+        }
+    }
+
+    inline static long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    {
+        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of Integer64");
+    }
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    {
+        unsigned int * dataPtr = 0;
+        alloc(pvApiCtx, position, rows, cols, dataPtr);
+        for (int i = 0; i < rows * cols; i++)
+        {
+            dataPtr[i] = static_cast<unsigned int>(ptr[i]);
+        }
+    }
+
+    inline static unsigned long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    {
+        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of UInteger64");
+    }
+
+#endif
+
+    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, char ** ptr)
+    {
+        SciErr err = createMatrixOfString(pvApiCtx, position, rows, cols, const_cast<const char * const *>(ptr));
+        checkError(err);
+    }
+
+    inline static char ** alloc(void * pvApiCtx, const int position, const int rows, const int cols, char ** ptr)
+    {
+        throw ScilabAbstractEnvironmentException("Invalid operation: cannot allocate a matrix of String");
+    }
+
+    inline static void createBool(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    {
+        SciErr err = createMatrixOfBoolean(pvApiCtx, position, rows, cols, ptr);
+        checkError(err);
+    }
+
+    inline static int * allocBool(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    {
+        int * _ptr = 0;
+        SciErr err = allocMatrixOfBoolean(pvApiCtx, position, rows, cols, &_ptr);
+        checkError(err);
+
+        return _ptr;
+    }
+
+
+private:
+
+    inline static void checkError(const SciErr & err)
+    {
+        if (err.iErr)
+        {
+            throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Cannot allocate memory");
+        }
+    }
+
+};
+
+template <typename T>
+class ScilabSingleTypeStackAllocator : public ScilabStackAllocator
+{
+
+public:
+
+    ScilabSingleTypeStackAllocator(void * _pvApiCtx, int _position) : ScilabStackAllocator(_pvApiCtx, _position) { }
+
+    ~ScilabSingleTypeStackAllocator() { }
+
+    virtual T * allocate(const int rows, const int cols, T * dataPtr) const
+    {
+        if (!rows || !cols)
+        {
+            createEmptyMatrix(pvApiCtx, position);
+            return 0;
+        }
+
+        if (dataPtr)
+        {
+            create(pvApiCtx, position, rows, cols, dataPtr);
+            return 0;
+        }
+        else
+        {
+            return alloc(pvApiCtx, position, rows, cols, dataPtr);
+        }
+    }
+};
+
+typedef ScilabSingleTypeStackAllocator<double> ScilabDoubleStackAllocator;
+typedef ScilabSingleTypeStackAllocator<char *> ScilabStringStackAllocator;
+typedef ScilabSingleTypeStackAllocator<char> ScilabCharStackAllocator;
+typedef ScilabSingleTypeStackAllocator<unsigned char> ScilabUCharStackAllocator;
+typedef ScilabSingleTypeStackAllocator<short> ScilabShortStackAllocator;
+typedef ScilabSingleTypeStackAllocator<unsigned short> ScilabUShortStackAllocator;
+typedef ScilabSingleTypeStackAllocator<int> ScilabIntStackAllocator;
+typedef ScilabSingleTypeStackAllocator<unsigned int> ScilabUIntStackAllocator;
+typedef ScilabSingleTypeStackAllocator<long long> ScilabLongStackAllocator;
+typedef ScilabSingleTypeStackAllocator<unsigned long long> ScilabULongStackAllocator;
+typedef ScilabSingleTypeStackAllocator<float> ScilabFloatStackAllocator;
+
+class ScilabComplexStackAllocator : public ScilabStackAllocator
+{
+
+public:
+
+    ScilabComplexStackAllocator(void * _pvApiCtx, int _position) : ScilabStackAllocator(_pvApiCtx, _position) { }
+
+    ~ScilabComplexStackAllocator() { }
+
+    ComplexDataPointers allocate(const int rows, const int cols, double * realPtr, double * imagPtr) const
+    {
+        if (!rows || !cols)
+        {
+            createEmptyMatrix(pvApiCtx, position);
+            return ComplexDataPointers();
+        }
+
+        if (realPtr && imagPtr)
+        {
+            create(pvApiCtx, position, rows, cols, realPtr, imagPtr);
+            return ComplexDataPointers();
+        }
+        else
+        {
+            return alloc(pvApiCtx, position, rows, cols, realPtr, imagPtr);
+        }
+    }
+};
+
+class ScilabBooleanStackAllocator : public ScilabSingleTypeStackAllocator<int>
+{
+
+public:
+
+    ScilabBooleanStackAllocator(void * _pvApiCtx, int _position) : ScilabSingleTypeStackAllocator<int>(_pvApiCtx, _position) { }
+
+    ~ScilabBooleanStackAllocator() { }
+
+    int * allocate(const int rows, const int cols, int * dataPtr) const
+    {
+        if (!rows || !cols)
+        {
+            createEmptyMatrix(pvApiCtx, position);
+            return 0;
+        }
+
+        if (dataPtr)
+        {
+            createBool(pvApiCtx, position, rows, cols, dataPtr);
+            return 0;
+        }
+        else
+        {
+            return allocBool(pvApiCtx, position, rows, cols, dataPtr);
+        }
+    }
+
+    template <typename T>
+    int * allocate(const int rows, const int cols, T * dataPtr)
+    {
+        if (!rows || !cols)
+        {
+            createEmptyMatrix(pvApiCtx, position);
+            return 0;
+        }
+
+        if (dataPtr)
+        {
+            int * ptr = 0;
+            allocBool(pvApiCtx, position, rows, cols, ptr);
+            for (int i = 0; i < rows * cols; i++)
+            {
+                ptr[i] = static_cast<int>(dataPtr[i]);
+            }
+
+            return 0;
+        }
+        else
+        {
+            throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of Boolean");
+        }
+    }
+};
+
+}
+
+#endif // __SCILABABSTRACTMEMORYALLOCATOR_H__
diff --git a/scilab/modules/external_objects_java/includes/ScilabAbstractOptionsSetter.hxx b/scilab/modules/external_objects_java/includes/ScilabAbstractOptionsSetter.hxx
new file mode 100644 (file)
index 0000000..5ab20c0
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+
+#ifndef __SCILABABSTRACTOPTIONSSETTER_HXX__
+#define __SCILABABSTRACTOPTIONSSETTER_HXX__
+
+namespace org_modules_external_objects
+{
+
+class ScilabAbstractOptionsSetter
+{
+
+public:
+
+    virtual void set(const bool state) = 0;
+
+    virtual bool get() const = 0;
+
+};
+}
+
+#endif //__SCILABABSTRACTOPTIONSSETTER_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabAutoCleaner.hxx b/scilab/modules/external_objects_java/includes/ScilabAutoCleaner.hxx
new file mode 100644 (file)
index 0000000..bb71ae7
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABAUTOCLEANER_HXX__
+#define __SCILABAUTOCLEANER_HXX__
+
+#include <algorithm>
+#include <set>
+#include <stack>
+#include <map>
+
+#include "ScilabEnvironments.hxx"
+#include "ScilabAbstractEnvironment.hxx"
+#include "ScilabObjects.hxx"
+#include "dynlib_external_objects_java_scilab.h"
+
+extern "C" {
+#include "api_scilab.h"
+#include "stack-c.h"
+}
+
+namespace org_modules_external_objects
+{
+
+typedef std::map<int, std::set<int> > _MapIds;
+
+class EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP ScilabAutoCleaner
+{
+    static std::stack< _MapIds > stack;
+
+public:
+    static void goDown();
+    static void registerVariable(const int envId, const int varId);
+    static void unregisterVariable(const int envId, const int varId);
+
+private:
+    static _MapIds getAllObjectsAtCurrentLevel(void * pvApiCtx);
+    static void removeUnusedObjects(const _MapIds & current, const _MapIds & previous, void * pvApiCtx);
+};
+}
+
+#endif // __SCILABAUTOCLEANER_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabEnvironments.hxx b/scilab/modules/external_objects_java/includes/ScilabEnvironments.hxx
new file mode 100644 (file)
index 0000000..6618eeb
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABENVIRONMENTS_HXX__
+#define __SCILABENVIRONMENTS_HXX__
+
+#include <vector>
+
+#include "ScilabAbstractEnvironmentException.hxx"
+#include "ScilabAbstractEnvironment.hxx"
+#include "dynlib_external_objects_java_scilab.h"
+
+extern "C" {
+#include "localization.h"
+}
+
+namespace org_modules_external_objects
+{
+
+class EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP ScilabEnvironments
+{
+    static std::vector<ScilabAbstractEnvironment*> environments;
+
+public:
+
+    static int registerScilabEnvironment(ScilabAbstractEnvironment * env);
+
+    static void unregisterScilabEnvironment(const int id);
+
+    static ScilabAbstractEnvironment & getEnvironment(const int id);
+};
+
+}
+
+#endif // __SCILABENVIRONMENTS_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabGateway.hxx b/scilab/modules/external_objects_java/includes/ScilabGateway.hxx
new file mode 100644 (file)
index 0000000..a8b551d
--- /dev/null
@@ -0,0 +1,121 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABGATEWAY_HXX__
+#define __SCILABGATEWAY_HXX__
+
+#include <sstream>
+
+#include "ScilabObjects.hxx"
+#include "ScilabAbstractInvoker.hxx"
+#include "ScilabAbstractMemoryAllocator.hxx"
+#include "ScilabAbstractOptionsSetter.hxx"
+#include "ScilabStream.hxx"
+#include "dynlib_external_objects_java_scilab.h"
+
+extern "C" {
+#include "MALLOC.h"
+}
+
+namespace org_modules_external_objects
+{
+
+class EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP ScilabGateway
+{
+
+public:
+
+    static int getEnvId(char * fname, const int envId, void * pvApiCtx);
+
+    static int getsetOptions(char * fname, const int envId, ScilabAbstractOptionsSetter & setter, void * pvApiCtx);
+
+    static int addToClasspath(char * fname, const int envId, void * pvApiCtx);
+
+    static int getClasspath(char * fname, const int envId, void * pvApiCtx);
+
+    static int addNamedVariable(char * fname, const int envId, void * pvApiCtx);
+
+    static int getNamedVariable(char * fname, const int envId, void * pvApiCtx);
+
+    static int evalString(char * fname, const int envId, void * pvApiCtx);
+
+    static int array(char * fname, const int envId, void * pvApiCtx);
+
+    static int cast(char * fname, const int envId, void * pvApiCtx);
+
+    static int compile(char * fname, const int envId, void * pvApiCtx);
+
+    static int convMatrixMethod(char * fname, const int envId, void * pvApiCtx);
+
+    static int deff(char * fname, const int envId, void * pvApiCtx);
+
+    static int display(char * fname, const int envId, void * pvApiCtx);
+
+    static int doubleExclam_invoke(char * fname, const int envId, void * pvApiCtx);
+
+    static int classExtract(char * fname, const int envId, void * pvApiCtx);
+
+    static int objectExtract(char * fname, const int envId, void * pvApiCtx);
+
+    static int objectInsert(char * fname, const int envId, void * pvApiCtx);
+
+    static int objectPrint(char * fname, const int envId, void * pvApiCtx);
+
+    static int exists(char * fname, const int envId, void * pvApiCtx);
+
+    static int getClassName(char * fname, const int envId, void * pvApiCtx);
+
+    static int getEnvironmentName(char * fname, const int envId, void * pvApiCtx);
+
+    static int getEnvironmentInfos(char * fname, const int envId, void * pvApiCtx);
+
+    static int getField(char * fname, const int envId, void * pvApiCtx);
+
+    static int getFields(char * fname, const int envId, void * pvApiCtx);
+
+    static int getMethods(char * fname, const int envId, void * pvApiCtx);
+
+    static int getRepresentation(char * fname, const int envId, void * pvApiCtx);
+
+    static int import(char * fname, const int envId, void * pvApiCtx);
+
+    static int operation(char * fname, const int envId, const OperatorsType type, void * pvApiCtx);
+
+    static int invoke(char * fname, const int envId, void * pvApiCtx);
+
+    static int invoke(char * fname, const int envId, ScilabAbstractInvoker & invoker, void * pvApiCtx);
+
+    static int invoke_lu(char * fname, const int envId, void * pvApiCtx);
+
+    static int trace(char * fname, const int envId, void * pvApiCtx);
+
+    static int newInstance(char * fname, const int envId, void * pvApiCtx);
+
+    static int remove(char * fname, const int envId, void * pvApiCtx);
+
+    static int setField(char * fname, const int envId, void * pvApiCtx);
+
+    static int unwrap(char * fname, const int envId, void * pvApiCtx);
+
+    static int unwrapremove(char * fname, const int envId, void * pvApiCtx);
+
+    //static int unwrapAndRemove(char * fname, const int envId, void * pvApiCtx);
+
+    static int wrap(char * fname, const int envId, void * pvApiCtx);
+
+    static int wrapAsRef(char * fname, const int envId, void * pvApiCtx);
+
+    //static int wrapInFloat(char * fname, const int envId, void * pvApiCtx);
+};
+}
+
+#endif // __SCILABGATEWAY_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabGatewayOptions.hxx b/scilab/modules/external_objects_java/includes/ScilabGatewayOptions.hxx
new file mode 100644 (file)
index 0000000..dba34d8
--- /dev/null
@@ -0,0 +1,75 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+
+#ifndef __SCILABGATEWAYOPTIONS_HXX__
+#define __SCILABGATEWAYOPTIONS_HXX__
+
+extern "C" {
+#include "api_scilab.h"
+}
+
+namespace org_modules_external_objects
+{
+
+class ScilabGatewayOptions
+{
+
+    int objId;
+    bool isNew;
+    const char * methodName;
+
+public:
+
+    ScilabGatewayOptions() : objId(0), isNew(false), methodName(0) { }
+
+    ~ScilabGatewayOptions() { }
+
+    void setObjId(const int _objId)
+    {
+        objId = _objId;
+    }
+
+    int getObjId() const
+    {
+        return objId;
+    }
+
+    void setIsNew(const bool _isNew)
+    {
+        isNew = _isNew;
+    }
+
+    bool getIsNew() const
+    {
+        return isNew;
+    }
+
+    void setMethodName(const char * _methodName)
+    {
+        if (methodName)
+        {
+            freeAllocatedSingleString(const_cast<char *>(methodName));
+        }
+        methodName = _methodName;
+    }
+
+    const char * getMethodName() const
+    {
+        return methodName;
+    }
+
+};
+}
+
+#endif // __SCILABGATEWAYOPTIONS_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabObjects.hxx b/scilab/modules/external_objects_java/includes/ScilabObjects.hxx
new file mode 100644 (file)
index 0000000..7301736
--- /dev/null
@@ -0,0 +1,135 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABOBJECTS_HXX__
+#define __SCILABOBJECTS_HXX__
+
+#include <string.h>
+
+#include "ExternalObjects.h"
+#include "ScilabAbstractEnvironment.hxx"
+#include "ScilabEnvironments.hxx"
+#include "OptionsHelper.hxx"
+#include "dynlib_external_objects_java_scilab.h"
+
+extern "C" {
+#include "api_scilab.h"
+#include "stack-c.h"
+#include "localization.h"
+}
+
+namespace org_modules_external_objects
+{
+class EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP ScilabObjects
+{
+    static bool isInit;
+    static const char * _EOBJ[];
+    static const char * _ECLASS[];
+    static const char * _EVOID[];
+    static const char * _INVOKE_;
+
+public:
+
+    static void initialization(ScilabAbstractEnvironment & env, void * pvApiCtx);
+
+    static int createNamedEnvironmentObject(int type, const char * name, int id, const int envId, void * pvApiCtx);
+
+    static void createEnvironmentObjectAtPos(int type, int pos, int id, const int envId, void * pvApiCtx);
+
+    static void copyInvocationMacroToStack(int pos, ScilabAbstractEnvironment & env, void * pvApiCtx);
+
+    static void removeTemporaryVars(const int envId, int * tmpvar);
+
+    static void removeVar(int * addr, void * pvApiCtx);
+
+    static bool unwrap(int idObj, int pos, const int envId, void * pvApiCtx);
+
+    static int getMListType(int * mlist, void * pvApiCtx);
+
+    static bool isValidExternal(int * mlist, void * pvApiCtx);
+
+    static bool isExternalObj(int * mlist, void * pvApiCtx);
+
+    static bool isExternalClass(int * mlist, void * pvApiCtx);
+
+    static bool isExternalVoid(int * mlist, void * pvApiCtx);
+
+    static bool isExternalObjOrClass(int * mlist, void * pvApiCtx);
+
+    static char * getSingleString(int pos, void * pvApiCtx);
+
+    static int isPositiveIntegerAtAddress(int * addr, void * pvApiCtx);
+
+    static int getEnvironmentId(int * addr, void * pvApiCtx);
+
+    static int getExternalId(int * addr, void * pvApiCtx);
+
+    static int getArgumentId(int * addr, int * tmpvars, const bool isRef, const bool isClass, const int envId, void * pvApiCtx);
+
+    template <typename T>
+    inline static int wrap(const int row, const int col, T * data, const ScilabAbstractEnvironmentWrapper & wrapper, const bool isRef)
+    {
+        if (row == 0 || col == 0)
+        {
+            return 0;
+        }
+        else if (row == 1 && col == 1)
+        {
+            return wrapper.wrap(data, isRef);
+        }
+        else if (row == 1)
+        {
+            return wrapper.wrap(data, col, isRef);
+        }
+
+        return wrapper.wrap(data, row, col, isRef);
+    }
+
+    inline static int wrapBool(const int row, const int col, int * data, const ScilabAbstractEnvironmentWrapper & wrapper, const bool isRef)
+    {
+        if (row == 0 || col == 0)
+        {
+            return 0;
+        }
+        else if (row == 1 && col == 1)
+        {
+            return wrapper.wrapBool(data, isRef);
+        }
+        else if (row == 1)
+        {
+            return wrapper.wrapBool(data, col, isRef);
+        }
+
+        return wrapper.wrapBool(data, row, col, isRef);
+    }
+
+    inline static int wrap(const int row, const int col, double * real, double * imag, const ScilabAbstractEnvironmentWrapper & wrapper, const bool isRef)
+    {
+        if (row == 0 || col == 0)
+        {
+            return 0;
+        }
+        else if (row == 1 && col == 1)
+        {
+            return wrapper.wrap(real, imag, isRef);
+        }
+        else if (row == 1)
+        {
+            return wrapper.wrap(real, imag, col, isRef);
+        }
+
+        return wrapper.wrap(real, imag, row, col, isRef);
+    }
+};
+}
+
+#endif // __SCILABOBJECTS_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabOptionsSetter.hxx b/scilab/modules/external_objects_java/includes/ScilabOptionsSetter.hxx
new file mode 100644 (file)
index 0000000..1380180
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+
+#ifndef __SCILABOPTIONSSETTER_HXX__
+#define __SCILABOPTIONSSETTER_HXX__
+
+#include "ScilabAbstractOptionsSetter.hxx"
+#include "dynlib_external_objects_java_scilab.h"
+
+#define LAST_OPTION_INDEX 4
+
+namespace org_modules_external_objects
+{
+
+class OptionsHelper;
+
+class EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP ScilabOptionsSetter : public ScilabAbstractOptionsSetter
+{
+
+protected:
+
+    OptionsHelper & helper;
+    unsigned int type;
+
+public:
+
+    static const unsigned int METHODOFCONV;
+    static const unsigned int ALLOWRELOAD;
+    static const unsigned int AUTOUNWRAP;
+    static const unsigned int USECOPY;
+    static const unsigned int USESCILABINDEX;
+
+    ScilabOptionsSetter(OptionsHelper & _helper, unsigned int _type) : helper(_helper), type(_type) { }
+    ~ScilabOptionsSetter() { }
+
+    virtual void set(const bool state);
+
+    virtual bool get() const;
+};
+}
+
+#endif //__SCILABOPTIONSSETTER_HXX__
diff --git a/scilab/modules/external_objects_java/includes/ScilabStream.hxx b/scilab/modules/external_objects_java/includes/ScilabStream.hxx
new file mode 100644 (file)
index 0000000..d3ea2ee
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __SCILABSTREAM_HXX__
+#define __SCILABSTREAM_HXX__
+
+extern "C" {
+#include "sciprint.h"
+}
+
+#include <sstream>
+
+namespace org_modules_external_objects
+{
+
+class ScilabStream : virtual public std::ostream
+{
+
+    class MyStringBuf : public std::stringbuf
+    {
+
+    public:
+
+        MyStringBuf() { }
+        virtual ~MyStringBuf() { }
+
+        virtual int sync()
+        {
+            int ret = std::stringbuf::sync();
+            if (!ret && str().size() != 0)
+            {
+                sciprint("%s", str().c_str());
+                str("");
+            }
+
+            return ret;
+        }
+    };
+
+public:
+    ScilabStream() : std::ostream(new MyStringBuf()) { }
+    virtual ~ScilabStream()
+    {
+        flush();
+    }
+};
+}
+
+#endif //__SCILABSTREAM_HXX__
diff --git a/scilab/modules/external_objects_java/includes/dynlib_external_objects_java_scilab.h b/scilab/modules/external_objects_java/includes/dynlib_external_objects_java_scilab.h
new file mode 100644 (file)
index 0000000..fce1d2c
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) Scilab Enterprises - 2012 - Calixte DENIZET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_JIMS_SRC_H__
+#define __DYNLIB_JIMS_SRC_H__
+
+#ifdef _MSC_VER
+#ifdef JIMS_EXPORTS
+#define EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP __declspec(dllexport)
+#else
+#define EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP
+#endif
+
+#endif /* __DYNLIB_JIMS_SRC_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/external_objects_java/includes/gw_external_objects_java.h b/scilab/modules/external_objects_java/includes/gw_external_objects_java.h
new file mode 100644 (file)
index 0000000..09f74c4
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ * Copyright (C) 2013 - Scilab Enterprises - Sylvestre Ledru
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#ifndef __GW_EXTERNAL_OBJECTS_H__
+#define __GW_EXTERNAL_OBJECTS_H__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_external_objects_java_scilab.h"
+/*--------------------------------------------------------------------------*/
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int gw_external_objects_java(void);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jimport(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jgetclassname(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jwrap(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jgetmethods(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jgetfields(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jgetfield(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jcompile(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jnewInstance(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jremove(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jexists(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_junwrap(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_junwraprem(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jenableTrace(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jdisableTrace(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jdeff(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jvoid(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jarray(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jcast(char *fname, unsigned long fname_len);
+EXTERNAL_OBJECTS_JAVA_SCILAB_IMPEXP int sci_jallowClassReloading(char *fname, unsigned long fname_len);
+/*--------------------------------------------------------------------------*/
+#endif /* __GW_EXTERNAL_OBJECTS_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/external_objects_java/license.txt b/scilab/modules/external_objects_java/license.txt
new file mode 100644 (file)
index 0000000..1a68f33
--- /dev/null
@@ -0,0 +1,9 @@
+Copyright:
+Copyright (c) 2011 - DIGITEO
+
+License:
+This module must be used under the terms of the CeCILL.
+This module file is licensed as described in the file COPYING, which
+you should have received as part of this distribution.  The terms
+are also available at
+http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
diff --git a/scilab/modules/external_objects_java/locales/cs_CZ.po b/scilab/modules/external_objects_java/locales/cs_CZ.po
new file mode 100644 (file)
index 0000000..3286b9d
--- /dev/null
@@ -0,0 +1,168 @@
+# Czech translation for scilab
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2011-10-03 10:33+0100\n"
+"PO-Revision-Date: 2012-08-24 20:23+0000\n"
+"Last-Translator: Zbyněk Schwarz <Unknown>\n"
+"Language-Team: Czech <cs@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+msgid "Exception thrown in file"
+msgstr "V souboru nastala výjimka"
+
+msgid "at line"
+msgstr "na řádku"
+
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr "Neplatné prostředí: identifikátor %d je neplatný"
+
+msgid "Invalid environment"
+msgstr "Neplatné prostředí"
+
+msgid "Cannot allocate memory"
+msgstr "Nelze přidělit paměť"
+
+msgid "Invalid variable: cannot retrieve the data"
+msgstr "Neplatná proměnná: nelze získat data"
+
+msgid "Invalid variable: cannot create data"
+msgstr "Neplatná proměnná: nelze vytvořit data"
+
+msgid "External Class expected"
+msgstr "Očekávána externí třída"
+
+msgid "Incompatible External Objects"
+msgstr "Nekompatibilní externí objekty"
+
+msgid "External object expected"
+msgstr "Očekáván externí objekt"
+
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr "Nelze zabalit. Nespravovaný datový typ?"
+
+msgid "Invalid String"
+msgstr "Neplatný řetězec"
+
+msgid "A single string expected"
+msgstr "Očekáván jeden řetězec"
+
+msgid "A single String expected"
+msgstr "Očekáván jeden řetězec"
+
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr "Špatný typ argumentu &%d: Očekáván řetězec."
+
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr "Nelze otevřít zadaný soubor %s."
+
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr "Špatný počet argumentů : Očekáváno více než %d"
+
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr "Na pozici %d je očekáván striktně kladné celé číslo."
+
+msgid "Invalid name"
+msgstr "Neplatný název"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván řetězec."
+
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr "Neplatný rozměr argumentu #%d: Očekáván řádek nebo sloupec."
+
+msgid "The argument must be 'rc' or 'cr'."
+msgstr "Argument musí být 'rc' nebo 'cr'."
+
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr "Neplatné rozměry argumentu #%d: Očekáván jeden řetězec."
+
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr "Neplatné rozměry: argumenty #2 a #3 musí být stejné."
+
+msgid "Invalid variable: cannot create the data"
+msgstr "Neplatná proměnná: nelze vytvořit data"
+
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván externí objekt."
+
+msgid "Incompatible External Object"
+msgstr "Nekompatibilní externí objekt"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A string expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván řetězec."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A boolean expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván boolean."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A single boolean expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván jeden boolean."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An External Object expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván externí objekt."
+
+msgid "Cannot create the identifier"
+msgstr "Nelze vytvořit identifikátor"
+
+msgid "The class name cannot end with a dot."
+msgstr "Název třídy nemůže končit tečkou."
+
+msgid "The class name cannot start with a dot."
+msgstr "Název třídy nemůže začínat tečkou."
+
+msgid "A variable with this name is already existing"
+msgstr "Proměnná s tímto názvem již existuje"
+
+msgid "Bad number of output arguments"
+msgstr "Špatný počet výstupních argumentů"
+
+msgid "Wrong number of arguments : more than 2 arguments expected"
+msgstr "Špatný počet argumentů : očekávány více než 2 argumenty"
+
+msgid "Cannot invoke on null object"
+msgstr "Nelze volat prázdný objekt"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A List expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáván seznam."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An Integer32 expected."
+msgstr "Špatný typ vstupního argumentu #%d: Očekáváno 32bitové celé číslo."
+
+msgid "Cannot invoke on null object."
+msgstr "Nelze volat prázdný objekt."
+
+msgid "Wrong number of arguments : more than 1 argument expected"
+msgstr "Špatný počet argumentů : očekáván více než 1 argument"
+
+msgid "Wrong number of arguments : more than 1 argument expected."
+msgstr "Špatný počet argumentů : očekáván více než 1 argument."
+
+#, c-format
+msgid "Cannot wrap argument %d."
+msgstr "Nelze zabalit argument %d."
+
+msgid "Can only wrap as a reference to a named variable"
+msgstr "Lze zabalit pouze jako odkaz na pojmenovanou proměnnou"
diff --git a/scilab/modules/external_objects_java/locales/external_objects.pot b/scilab/modules/external_objects_java/locales/external_objects.pot
new file mode 100644 (file)
index 0000000..e594206
--- /dev/null
@@ -0,0 +1,397 @@
+# Localization of the module external_objects
+# Please see in SCI/tools/localization for localization management
+# Copyright (C) 2007-2008 - INRIA
+# Copyright (C) 2008-2011 - DIGITEO
+# This file is distributed under the same license as the Scilab package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-01-24 17:04+0100\n"
+"Last-Translator: Sylvestre Ledru <sylvestre.ledru@scilab.org>\n"
+"Language-Team: Scilab Localization <localization@lists.scilab.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Revision-Date: 2013-01-24 17:14+0100\n"
+
+# File: includes/ScilabAbstractEnvironmentException.hxx, line: 96
+msgid "Exception thrown in file"
+msgstr ""
+
+#
+# File: includes/ScilabAbstractEnvironmentException.hxx, line: 96
+msgid "at line"
+msgstr ""
+
+#
+# File: src/cpp/ScilabEnvironments.cpp, line: 56
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 47
+msgid "Invalid environment"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 69
+# File: src/cpp/ScilabObjects.cpp, line: 75
+# File: src/cpp/ScilabObjects.cpp, line: 81
+# File: src/cpp/ScilabObjects.cpp, line: 87
+# File: src/cpp/ScilabObjects.cpp, line: 123
+# File: src/cpp/ScilabObjects.cpp, line: 129
+# File: src/cpp/ScilabObjects.cpp, line: 135
+# File: src/cpp/ScilabObjects.cpp, line: 141
+msgid "Cannot allocate memory"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 202
+# File: src/cpp/ScilabObjects.cpp, line: 210
+# File: src/cpp/ScilabObjects.cpp, line: 223
+# File: src/cpp/ScilabObjects.cpp, line: 237
+# File: src/cpp/ScilabObjects.cpp, line: 246
+# File: src/cpp/ScilabObjects.cpp, line: 418
+# File: src/cpp/ScilabObjects.cpp, line: 433
+# File: src/cpp/ScilabObjects.cpp, line: 449
+# File: src/cpp/ScilabObjects.cpp, line: 471
+# File: src/cpp/ScilabObjects.cpp, line: 482
+# File: src/cpp/ScilabObjects.cpp, line: 501
+# File: src/cpp/ScilabObjects.cpp, line: 511
+# File: src/cpp/ScilabObjects.cpp, line: 522
+# File: src/cpp/ScilabObjects.cpp, line: 533
+# File: src/cpp/ScilabObjects.cpp, line: 544
+# File: src/cpp/ScilabObjects.cpp, line: 555
+# File: src/cpp/ScilabObjects.cpp, line: 566
+# File: src/cpp/ScilabObjects.cpp, line: 579
+# File: src/cpp/ScilabObjects.cpp, line: 590
+# File: src/cpp/ScilabObjects.cpp, line: 605
+# File: src/cpp/ScilabObjects.cpp, line: 622
+# File: src/cpp/ScilabObjects.cpp, line: 650
+# File: src/cpp/ScilabObjects.cpp, line: 667
+# File: src/cpp/addNamedVariable.cpp, line: 41
+# File: src/cpp/addToClasspath.cpp, line: 46
+# File: src/cpp/addToClasspath.cpp, line: 56
+# File: src/cpp/array.cpp, line: 49
+# File: src/cpp/cast.cpp, line: 42
+# File: src/cpp/cast.cpp, line: 50
+# File: src/cpp/cast.cpp, line: 63
+# File: src/cpp/classExtract.cpp, line: 35
+# File: src/cpp/compile.cpp, line: 42
+# File: src/cpp/compile.cpp, line: 49
+# File: src/cpp/compile.cpp, line: 62
+# File: src/cpp/compile.cpp, line: 74
+# File: src/cpp/convMatrixMethod.cpp, line: 46
+# File: src/cpp/deff.cpp, line: 53
+# File: src/cpp/deff.cpp, line: 64
+# File: src/cpp/deff.cpp, line: 86
+# File: src/cpp/display.cpp, line: 37
+# File: src/cpp/display.cpp, line: 54
+# File: src/cpp/doubleExclam_invoke.cpp, line: 68
+# File: src/cpp/doubleExclam_invoke.cpp, line: 89
+# File: src/cpp/evalString.cpp, line: 39
+# File: src/cpp/evalString.cpp, line: 50
+# File: src/cpp/evalString.cpp, line: 60
+# File: src/cpp/evalString.cpp, line: 70
+# File: src/cpp/exists.cpp, line: 39
+# File: src/cpp/exists.cpp, line: 51
+# File: src/cpp/getClassName.cpp, line: 47
+# File: src/cpp/getEnvironmentName.cpp, line: 33
+# File: src/cpp/getField.cpp, line: 40
+# File: src/cpp/getField.cpp, line: 62
+# File: src/cpp/getField.cpp, line: 69
+# File: src/cpp/getFields.cpp, line: 38
+# File: src/cpp/getMethods.cpp, line: 37
+# File: src/cpp/getRepresentation.cpp, line: 37
+# File: src/cpp/getsetOptions.cpp, line: 47
+# File: src/cpp/import.cpp, line: 47
+# File: src/cpp/import.cpp, line: 55
+# File: src/cpp/import.cpp, line: 64
+# File: src/cpp/import.cpp, line: 74
+# File: src/cpp/import.cpp, line: 86
+# File: src/cpp/import.cpp, line: 98
+# File: src/cpp/invoke.cpp, line: 43
+# File: src/cpp/invoke.cpp, line: 75
+# File: src/cpp/invoke_lu.cpp, line: 39
+# File: src/cpp/invoke_lu.cpp, line: 45
+# File: src/cpp/invoke_lu.cpp, line: 56
+# File: src/cpp/invoke_lu.cpp, line: 63
+# File: src/cpp/invoke_lu.cpp, line: 69
+# File: src/cpp/invoke_lu.cpp, line: 83
+# File: src/cpp/invoke_lu.cpp, line: 94
+# File: src/cpp/invoke_lu.cpp, line: 108
+# File: src/cpp/invoke_lu.cpp, line: 114
+# File: src/cpp/invoke_lu.cpp, line: 129
+# File: src/cpp/invoke_lu.cpp, line: 140
+# File: src/cpp/invoke_lu.cpp, line: 164
+# File: src/cpp/invoker.cpp, line: 47
+# File: src/cpp/newInstance.cpp, line: 49
+# File: src/cpp/newInstance.cpp, line: 92
+# File: src/cpp/objectExtract.cpp, line: 33
+# File: src/cpp/objectExtract.cpp, line: 59
+# File: src/cpp/objectExtract.cpp, line: 89
+# File: src/cpp/objectExtract.cpp, line: 131
+# File: src/cpp/objectInsert.cpp, line: 33
+# File: src/cpp/objectInsert.cpp, line: 51
+# File: src/cpp/objectInsert.cpp, line: 69
+# File: src/cpp/objectInsert.cpp, line: 115
+# File: src/cpp/objectInsert.cpp, line: 175
+# File: src/cpp/objectPrint.cpp, line: 32
+# File: src/cpp/operation.cpp, line: 34
+# File: src/cpp/operation.cpp, line: 46
+# File: src/cpp/operation.cpp, line: 65
+# File: src/cpp/remove.cpp, line: 44
+# File: src/cpp/setField.cpp, line: 38
+# File: src/cpp/setField.cpp, line: 58
+# File: src/cpp/trace.cpp, line: 44
+# File: src/cpp/unwrap.cpp, line: 43
+# File: src/cpp/unwrap.cpp, line: 55
+# File: src/cpp/unwrapremove.cpp, line: 43
+# File: src/cpp/unwrapremove.cpp, line: 55
+# File: src/cpp/wrap.cpp, line: 48
+# File: src/cpp/wrapAsRef.cpp, line: 49
+# File: src/cpp/wrapAsRef.cpp, line: 63
+# File: src/cpp/wrapAsRef.cpp, line: 72
+msgid "Invalid variable: cannot retrieve the data"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 265
+# File: src/cpp/ScilabObjects.cpp, line: 283
+msgid "Invalid variable: cannot create data"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 455
+# File: src/cpp/ScilabObjects.cpp, line: 657
+msgid "External Class expected"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 639
+# File: src/cpp/cast.cpp, line: 57
+msgid "Incompatible External Objects"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 674
+msgid "External object expected"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 682
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 786
+# File: src/cpp/ScilabObjects.cpp, line: 801
+msgid "Invalid String"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 791
+msgid "A single string expected"
+msgstr ""
+
+#
+# File: src/cpp/ScilabObjects.cpp, line: 796
+msgid "A single String expected"
+msgstr ""
+
+#
+# File: src/cpp/addToClasspath.cpp, line: 51
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr ""
+
+#
+# File: src/cpp/addToClasspath.cpp, line: 80
+# File: src/cpp/trace.cpp, line: 79
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr ""
+
+#
+# File: src/cpp/array.cpp, line: 31
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr ""
+
+#
+# File: src/cpp/array.cpp, line: 58
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr ""
+
+#
+# File: src/cpp/classExtract.cpp, line: 144
+msgid "Invalid name"
+msgstr ""
+
+#
+# File: src/cpp/compile.cpp, line: 55
+# File: src/cpp/deff.cpp, line: 58
+# File: src/cpp/import.cpp, line: 69
+# File: src/cpp/import.cpp, line: 92
+# File: src/cpp/objectExtract.cpp, line: 94
+# File: src/cpp/objectInsert.cpp, line: 121
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr ""
+
+#
+# File: src/cpp/compile.cpp, line: 68
+# File: src/cpp/evalString.cpp, line: 55
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr ""
+
+#
+# File: src/cpp/convMatrixMethod.cpp, line: 64
+msgid "The argument must be 'rc' or 'cr'."
+msgstr ""
+
+#
+# File: src/cpp/deff.cpp, line: 70
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr ""
+
+#
+# File: src/cpp/deff.cpp, line: 75
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr ""
+
+#
+# File: src/cpp/deff.cpp, line: 122
+# File: src/cpp/deff.cpp, line: 138
+# File: src/cpp/deff.cpp, line: 154
+msgid "Invalid variable: cannot create the data"
+msgstr ""
+
+#
+# File: src/cpp/display.cpp, line: 42
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr ""
+
+#
+# File: src/cpp/display.cpp, line: 48
+msgid "Incompatible External Object"
+msgstr ""
+
+#
+# File: src/cpp/evalString.cpp, line: 44
+#, c-format
+msgid "Wrong type for input argument #%d: A string expected."
+msgstr ""
+
+#
+# File: src/cpp/evalString.cpp, line: 75
+# File: src/cpp/getsetOptions.cpp, line: 52
+#, c-format
+msgid "Wrong type for input argument #%d: A boolean expected."
+msgstr ""
+
+#
+# File: src/cpp/evalString.cpp, line: 80
+# File: src/cpp/getsetOptions.cpp, line: 57
+#, c-format
+msgid "Wrong type for input argument #%d: A single boolean expected."
+msgstr ""
+
+#
+# File: src/cpp/exists.cpp, line: 44
+# File: src/cpp/getEnvironmentName.cpp, line: 38
+# File: src/cpp/getFields.cpp, line: 43
+# File: src/cpp/getMethods.cpp, line: 42
+# File: src/cpp/getRepresentation.cpp, line: 42
+# File: src/cpp/unwrap.cpp, line: 48
+# File: src/cpp/unwrapremove.cpp, line: 48
+#, c-format
+msgid "Wrong type for input argument #%d: An External Object expected."
+msgstr ""
+
+#
+# File: src/cpp/getEnvId.cpp, line: 36
+msgid "Cannot create the identifier"
+msgstr ""
+
+#
+# File: src/cpp/import.cpp, line: 122
+msgid "The class name cannot end with a dot."
+msgstr ""
+
+#
+# File: src/cpp/import.cpp, line: 136
+msgid "The class name cannot start with a dot."
+msgstr ""
+
+#
+# File: src/cpp/import.cpp, line: 150
+msgid "A variable with this name is already existing"
+msgstr ""
+
+#
+# File: src/cpp/import.cpp, line: 159
+msgid "Bad number of output arguments"
+msgstr ""
+
+#
+# File: src/cpp/invoke.cpp, line: 30
+msgid "Wrong number of arguments : more than 2 arguments expected"
+msgstr ""
+
+#
+# File: src/cpp/invoke.cpp, line: 62
+msgid "Cannot invoke on null object"
+msgstr ""
+
+#
+# File: src/cpp/invoke_lu.cpp, line: 50
+#, c-format
+msgid "Wrong type for input argument #%d: A List expected."
+msgstr ""
+
+#
+# File: src/cpp/invoke_lu.cpp, line: 74
+# File: src/cpp/invoke_lu.cpp, line: 88
+# File: src/cpp/invoke_lu.cpp, line: 119
+# File: src/cpp/invoke_lu.cpp, line: 134
+#, c-format
+msgid "Wrong type for input argument #%d: An Integer32 expected."
+msgstr ""
+
+#
+# File: src/cpp/invoke_lu.cpp, line: 148
+msgid "Cannot invoke on null object."
+msgstr ""
+
+#
+# File: src/cpp/newInstance.cpp, line: 36
+# File: src/cpp/unwrap.cpp, line: 27
+# File: src/cpp/unwrapremove.cpp, line: 27
+msgid "Wrong number of arguments : more than 1 argument expected"
+msgstr ""
+
+#
+# File: src/cpp/wrap.cpp, line: 27
+# File: src/cpp/wrapAsRef.cpp, line: 28
+msgid "Wrong number of arguments : more than 1 argument expected."
+msgstr ""
+
+#
+# File: src/cpp/wrap.cpp, line: 58
+# File: src/cpp/wrapAsRef.cpp, line: 82
+#, c-format
+msgid "Cannot wrap argument %d."
+msgstr ""
+
+#
+# File: src/cpp/wrapAsRef.cpp, line: 56
+msgid "Can only wrap as a reference to a named variable"
+msgstr ""
diff --git a/scilab/modules/external_objects_java/locales/fr_FR.po b/scilab/modules/external_objects_java/locales/fr_FR.po
new file mode 100644 (file)
index 0000000..cf20a34
--- /dev/null
@@ -0,0 +1,176 @@
+# French translation for scilab
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2011-10-03 10:33+0100\n"
+"PO-Revision-Date: 2012-08-31 08:11+0000\n"
+"Last-Translator: Julie PAUL <Unknown>\n"
+"Language-Team: French <fr@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+msgid "Exception thrown in file"
+msgstr "Une exception a été lancée dans le fichier"
+
+msgid "at line"
+msgstr "à la ligne"
+
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr "Environnement invalide : l'identifiant %d est invalide"
+
+msgid "Invalid environment"
+msgstr "Environnement invalide"
+
+msgid "Cannot allocate memory"
+msgstr "Impossible d'allouer de la mémoire"
+
+msgid "Invalid variable: cannot retrieve the data"
+msgstr "Variable invalide : Impossible de récupérer les données"
+
+msgid "Invalid variable: cannot create data"
+msgstr "Variable invalide : Impossible de créer les données"
+
+msgid "External Class expected"
+msgstr "Une classe externe attendue"
+
+msgid "Incompatible External Objects"
+msgstr "Objets externes incompatibles"
+
+msgid "External object expected"
+msgstr "Un objet externe attendu"
+
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr "Impossible d'interfacer. Type de données non pris en charge ?"
+
+msgid "Invalid String"
+msgstr "Chaîne de caractères invalide"
+
+msgid "A single string expected"
+msgstr "Une chaîne de caractères attendue"
+
+msgid "A single String expected"
+msgstr "Une chaîne de caractères attendue"
+
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr "Type erroné de l'argument n°%d : Une chaîne de caractères attendue."
+
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr "Impossible d'ouvrir le fichier %s"
+
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr "Nombre erroné d'arguments : Plus de %d attendus."
+
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr "Un entier strictement positif est attendu à la position% d."
+
+msgid "Invalid name"
+msgstr "Nom invalide"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr ""
+"Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères attendue."
+
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr ""
+"Dimension invalide de l'argument n°%d : Une ligne ou une colonne attendue."
+
+msgid "The argument must be 'rc' or 'cr'."
+msgstr "L'argument doit être 'rc' ou 'cr'."
+
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr ""
+"Dimensions invalides de l'argument d'entrée n°%d : Une chaîne de caractères "
+"attendue."
+
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr ""
+"Dimensions invalides : Les arguments n°2 et n°3 doivent avoir les mêmes "
+"dimensions."
+
+msgid "Invalid variable: cannot create the data"
+msgstr "Variable invalide : Impossible de créer les données"
+
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr "Type erroné de l'argument d'entrée n°%d : Un objet externe attendu."
+
+msgid "Incompatible External Object"
+msgstr "Objet externe incompatible"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A string expected."
+msgstr ""
+"Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères attendue."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A boolean expected."
+msgstr "Type erroné de l'argument d'entrée n°%d : Un booléen attendu."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A single boolean expected."
+msgstr "Type erroné de l'argument d'entrée n°%d : Un booléen attendu."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An External Object expected."
+msgstr "Type erroné de l'argument d'entrée n°%d : Un objet externe attendu."
+
+msgid "Cannot create the identifier"
+msgstr "Impossible de créer l'identifiant"
+
+msgid "The class name cannot end with a dot."
+msgstr "Le nom de classe ne peut pas se terminer par un point."
+
+msgid "The class name cannot start with a dot."
+msgstr "Le nom de classe ne peut pas commencer par un point."
+
+msgid "A variable with this name is already existing"
+msgstr "Une variable portant ce nom existe déjà"
+
+msgid "Bad number of output arguments"
+msgstr "Nombre erroné d'arguments de sortie"
+
+msgid "Wrong number of arguments : more than 2 arguments expected"
+msgstr "Nombre erroné d'arguments : Plus de deux arguments attendus"
+
+msgid "Cannot invoke on null object"
+msgstr "Impossible d'appeler sur l'objet null"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A List expected."
+msgstr "Type erroné de l'argument n°%d : Une liste attendue."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An Integer32 expected."
+msgstr "Type erroné de l'argument d'entrée n°%d : Un Integer32 attendu."
+
+msgid "Cannot invoke on null object."
+msgstr "Impossible d'appeler sur l'objet null."
+
+msgid "Wrong number of arguments : more than 1 argument expected"
+msgstr "Nombre erroné d'arguments : Plus d'un argument attendu"
+
+msgid "Wrong number of arguments : more than 1 argument expected."
+msgstr "Nombre erroné d'arguments : Plus d'un argument attendu"
+
+#, c-format
+msgid "Cannot wrap argument %d."
+msgstr "Impossible d'interfacer l'argument n°%d."
+
+msgid "Can only wrap as a reference to a named variable"
+msgstr ""
+"Il est seulement possible de lier une référence à une variable nommée"
diff --git a/scilab/modules/external_objects_java/locales/it_IT.po b/scilab/modules/external_objects_java/locales/it_IT.po
new file mode 100644 (file)
index 0000000..1a3d50a
--- /dev/null
@@ -0,0 +1,182 @@
+# Italian translation for scilab
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2011-10-03 10:33+0100\n"
+"PO-Revision-Date: 2012-10-12 08:11+0000\n"
+"Last-Translator: Carml <mighty.carml@gmail.com>\n"
+"Language-Team: Italian <it@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+msgid "Exception thrown in file"
+msgstr "Eccezione lanciata nel file"
+
+msgid "at line"
+msgstr "alla riga"
+
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr "Ambiente non valido: l'identificatore %d non è valido"
+
+msgid "Invalid environment"
+msgstr "Ambiente non valido"
+
+msgid "Cannot allocate memory"
+msgstr "Impossibile allocare della memoria"
+
+msgid "Invalid variable: cannot retrieve the data"
+msgstr "Variabile non valida: impossibile ottenere i dati"
+
+msgid "Invalid variable: cannot create data"
+msgstr "Variabile non valida: impossibile creare i dati"
+
+msgid "External Class expected"
+msgstr "Era attesa una classe esterna"
+
+msgid "Incompatible External Objects"
+msgstr "Oggetti esterni non compatibili"
+
+msgid "External object expected"
+msgstr "Era atteso un oggetto esterno"
+
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr "Impossibile incapsulare i dati, tipo di dato non gestito?"
+
+msgid "Invalid String"
+msgstr "Stringa non valida"
+
+msgid "A single string expected"
+msgstr "Era attesa una singola stringa"
+
+msgid "A single String expected"
+msgstr "Era attesa una singola stringa"
+
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr "L'argomento #%d è di tipo sbagliato: era attesa una stringa."
+
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr "Impossibile aprire il file %s."
+
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr "Il numero degli argomenti è sbagliato: ne erano attesi più di %d."
+
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr "Era atteso un intero strettamente positivo alla posizione %d."
+
+msgid "Invalid name"
+msgstr "Nome non valido"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr "L'argomento #%d è di tipo sbagliato: era attesa una stringa."
+
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr ""
+"L'argomento #%d ha una dimensione non valida: era attesa una riga o una "
+"colonna."
+
+msgid "The argument must be 'rc' or 'cr'."
+msgstr "L'argomento deve essere 'rc' o 'cr'."
+
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr ""
+"L'argomento in ingresso #%d ha delle dimensioni non valide: era attesa una "
+"singola stringa."
+
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr "Dimensioni non valide: gli argomenti #2 e #3 devono averle uguali."
+
+msgid "Invalid variable: cannot create the data"
+msgstr "Variabile non valida: impossibile creare i dati"
+
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era atteso un oggetto "
+"esterno."
+
+msgid "Incompatible External Object"
+msgstr "Oggetto esterno non compatibile"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A string expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era attesa una stringa."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A boolean expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era atteso un booleano."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A single boolean expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era atteso un singolo "
+"booleano."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An External Object expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era atteso un oggetto "
+"esterno."
+
+msgid "Cannot create the identifier"
+msgstr "Impossibile creare l'identificatore"
+
+msgid "The class name cannot end with a dot."
+msgstr "Il nome di una classe non può finire con un punto."
+
+msgid "The class name cannot start with a dot."
+msgstr "Il nome di una classe non può iniziare con un punto."
+
+msgid "A variable with this name is already existing"
+msgstr "Esiste già una variabile con questo nome"
+
+msgid "Bad number of output arguments"
+msgstr "Il numero degli argomenti in uscita è sbagliato"
+
+msgid "Wrong number of arguments : more than 2 arguments expected"
+msgstr "Il numero degli argomenti è sbagliato: ne erano attesi più di 2"
+
+msgid "Cannot invoke on null object"
+msgstr "Impossibile invocare su oggetti nulli"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A List expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era attesa una lista."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An Integer32 expected."
+msgstr ""
+"L'argomento in ingresso #%d è di tipo sbagliato: era atteso un integer32."
+
+msgid "Cannot invoke on null object."
+msgstr "Impossibile invocare su un oggetto nullo."
+
+msgid "Wrong number of arguments : more than 1 argument expected"
+msgstr "Il numero degli argomenti è sbagliato: era atteso più di 1 argomento"
+
+msgid "Wrong number of arguments : more than 1 argument expected."
+msgstr "Il numero degli argomenti è sbagliato: era atteso più di 1 argomento"
+
+#, c-format
+msgid "Cannot wrap argument %d."
+msgstr "Impossibile incapsulare l'argomento %d"
+
+msgid "Can only wrap as a reference to a named variable"
+msgstr ""
diff --git a/scilab/modules/external_objects_java/locales/ja_JP.po b/scilab/modules/external_objects_java/locales/ja_JP.po
new file mode 100644 (file)
index 0000000..be28dfb
--- /dev/null
@@ -0,0 +1,168 @@
+# Japanese translation for scilab
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2011-10-03 10:33+0100\n"
+"PO-Revision-Date: 2012-08-24 14:18+0000\n"
+"Last-Translator: Rui Hirokawa <Unknown>\n"
+"Language-Team: Japanese <ja@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+msgid "Exception thrown in file"
+msgstr "ファイルで例外発生"
+
+msgid "at line"
+msgstr "行"
+
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr "無効な環境: ID %d は無効です"
+
+msgid "Invalid environment"
+msgstr "無効な環境"
+
+msgid "Cannot allocate memory"
+msgstr "メモリを確保できません"
+
+msgid "Invalid variable: cannot retrieve the data"
+msgstr "無効な変数: データを取得できません"
+
+msgid "Invalid variable: cannot create data"
+msgstr "無効な変数: データを作成できません"
+
+msgid "External Class expected"
+msgstr "外部クラスを指定してください"
+
+msgid "Incompatible External Objects"
+msgstr "互換性がない外部オブジェクト"
+
+msgid "External object expected"
+msgstr "外部オブジェクトを指定してください"
+
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr "ラップできません. アンマネージドなデータ型ですか?"
+
+msgid "Invalid String"
+msgstr "無効な文字列"
+
+msgid "A single string expected"
+msgstr "文字列を指定してください"
+
+msgid "A single String expected"
+msgstr "文字列を指定してください"
+
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr "引数 #%d の型が間違っています:  文字列を指定してください"
+
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr "指定したファイル %s をオープンできません."
+
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr "引数の数が間違っています:  %d より大きな数を指定してください"
+
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr "正の整数を位置 %d に指定してください."
+
+msgid "Invalid name"
+msgstr "名前が無効です"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr "引数 #%d の型が間違っています:  文字列を指定してください"
+
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr "引数 #%d の次元が間違っています: 行または列を指定してください."
+
+msgid "The argument must be 'rc' or 'cr'."
+msgstr "引数には 'rc' または 'cc' を指定してください."
+
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr "入力引数 #%d の次元が間違っています: 文字列を指定してください."
+
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr "次元が間違っています: 引数 #2 および #3 は同じ次元としてください."
+
+msgid "Invalid variable: cannot create the data"
+msgstr "変数が無効です: データを作成できません"
+
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr "入力引数 #%d の型が間違っています: 外部オブジェクトを指定してください."
+
+msgid "Incompatible External Object"
+msgstr "外部オブジェクトの互換性がありません"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A string expected."
+msgstr "入力引数 #%d の型が間違っています: 文字列を指定してください."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A boolean expected."
+msgstr "入力引数 #%d の型が間違っています: 論理値を指定してください."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A single boolean expected."
+msgstr "入力引数 #%d の型が間違っています: 論理値を指定してください."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An External Object expected."
+msgstr "入力引数 #%d の型が間違っています:外部オブジェクトを指定してください."
+
+msgid "Cannot create the identifier"
+msgstr "IDを作成できません"
+
+msgid "The class name cannot end with a dot."
+msgstr "クラス名の末尾をドットとすることはできません."
+
+msgid "The class name cannot start with a dot."
+msgstr "クラス名の先頭をドットとすることはできません"
+
+msgid "A variable with this name is already existing"
+msgstr "この名前の変数は既に存在します"
+
+msgid "Bad number of output arguments"
+msgstr "出力引数の数が間違っています"
+
+msgid "Wrong number of arguments : more than 2 arguments expected"
+msgstr "引数の数が間違っています: 2個より多い引数を指定してください"
+
+msgid "Cannot invoke on null object"
+msgstr "ヌルオブジェクトを呼び出すことはできません"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A List expected."
+msgstr "入力引数 #%d の型が間違っています: リストを指定してください"
+
+#, c-format
+msgid "Wrong type for input argument #%d: An Integer32 expected."
+msgstr "入力引数 #%d の型が間違っています: integer32を指定してください"
+
+msgid "Cannot invoke on null object."
+msgstr "ヌルオブジェクトを呼び出すことはできません"
+
+msgid "Wrong number of arguments : more than 1 argument expected"
+msgstr "引数の数が間違っています: 複数の引数を指定してください"
+
+msgid "Wrong number of arguments : more than 1 argument expected."
+msgstr "引数の数が間違っています: 複数の引数を指定してください."
+
+#, c-format
+msgid "Cannot wrap argument %d."
+msgstr "引数 %d をラップできません."
+
+msgid "Can only wrap as a reference to a named variable"
+msgstr "名前付きの変数へのリファレンスとしてラップすることのみ可能です"
diff --git a/scilab/modules/external_objects_java/locales/ru_RU.po b/scilab/modules/external_objects_java/locales/ru_RU.po
new file mode 100644 (file)
index 0000000..da2478a
--- /dev/null
@@ -0,0 +1,172 @@
+# Russian translation for scilab
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2011-10-03 10:33+0100\n"
+"PO-Revision-Date: 2012-09-19 14:28+0000\n"
+"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n"
+"Language-Team: Russian <ru@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+msgid "Exception thrown in file"
+msgstr "Выдан сигнал исключения в файле"
+
+msgid "at line"
+msgstr "на строке"
+
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr "Недопустимое окружение: идентификатор %d недопустим"
+
+msgid "Invalid environment"
+msgstr "Недопустимое окружение"
+
+msgid "Cannot allocate memory"
+msgstr "Невозможно выделить память"
+
+msgid "Invalid variable: cannot retrieve the data"
+msgstr "Недопустимая переменная: невозможно вернуть данные"
+
+msgid "Invalid variable: cannot create data"
+msgstr "Недопустимая переменная: невозможно создать данные"
+
+msgid "External Class expected"
+msgstr "Ожидался внешний класс"
+
+msgid "Incompatible External Objects"
+msgstr "Несовместимые внешние объекты"
+
+msgid "External object expected"
+msgstr "Ожидался внешний объект"
+
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr "Невозможно завернуть. Неуправляемый тип данных?"
+
+msgid "Invalid String"
+msgstr "Недопустимая строка"
+
+msgid "A single string expected"
+msgstr "Ожидалась отдельная строка"
+
+msgid "A single String expected"
+msgstr "Ожидалась отдельная строка"
+
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr "Неверный тип аргумента №%d: ожидалась строка."
+
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr "Невозможно открыть указанный файл %s."
+
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr "Неверное количество аргументов: ожидалось больше %d."
+
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr "Ожидалось строго положительное целое число в позиции %d."
+
+msgid "Invalid name"
+msgstr "Недопустимое имя"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr "Неверный тип входного аргумента №%d: ожидалась строка."
+
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr "Недопустимый размер аргумента №%d: ожидалась строка или столбец."
+
+msgid "The argument must be 'rc' or 'cr'."
+msgstr "Аргумент должен быть 'rc' или 'cr'."
+
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr ""
+"Недопустимые размеры входного аргумента №%d: ожидалась одиночное строковое "
+"значение."
+
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr ""
+"Недопустимые размеры: аргументы #2 и #3 должны быть одинакового размера."
+
+msgid "Invalid variable: cannot create the data"
+msgstr "Недопустимая переменная: невозможно создать данные"
+
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr "Неверный тип входного аргумента №%d: ожидался внешний объект."
+
+msgid "Incompatible External Object"
+msgstr "Несовместимый внешний объект"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A string expected."
+msgstr "Неверный тип входного аргумента №%d: ожидалась строка."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A boolean expected."
+msgstr "Неверный тип входного аргумента №%d: ожидалось логическое значение."
+
+#, c-format
+msgid "Wrong type for input argument #%d: A single boolean expected."
+msgstr ""
+"Неверный тип входного аргумента №%d: ожидалось отдельное логическое значение."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An External Object expected."
+msgstr "Неверный тип входного аргумента №%d: ожидался внешний объект."
+
+msgid "Cannot create the identifier"
+msgstr "Невозможно стоздать идентификатор"
+
+msgid "The class name cannot end with a dot."
+msgstr "Имя класса не может заканчиваться точкой."
+
+msgid "The class name cannot start with a dot."
+msgstr "Имя класса не может начинаться с точки."
+
+msgid "A variable with this name is already existing"
+msgstr "Переменная с таким именем уже существует"
+
+msgid "Bad number of output arguments"
+msgstr "Плохое количество выходных аргументов"
+
+msgid "Wrong number of arguments : more than 2 arguments expected"
+msgstr "Неверное количество аргументов: ожидалось больше двух аргументов"
+
+msgid "Cannot invoke on null object"
+msgstr ""
+
+#, c-format
+msgid "Wrong type for input argument #%d: A List expected."
+msgstr "Неверный тип входного аргумента №%d: ожидался список."
+
+#, c-format
+msgid "Wrong type for input argument #%d: An Integer32 expected."
+msgstr "Неверный тип входного аргумента №%d: ожидался Int32."
+
+msgid "Cannot invoke on null object."
+msgstr ""
+
+msgid "Wrong number of arguments : more than 1 argument expected"
+msgstr "Неверное количество аргументов: ожидалось более одного аргумента"
+
+msgid "Wrong number of arguments : more than 1 argument expected."
+msgstr "Неверное количество аргументов: ожидалось более одного аргумента."
+
+#, c-format
+msgid "Cannot wrap argument %d."
+msgstr "Невозможно завернуть аргумент %d."
+
+msgid "Can only wrap as a reference to a named variable"
+msgstr "Можно только обернуть как указатель на именованную переменную"
diff --git a/scilab/modules/external_objects_java/locales/uk_UA.po b/scilab/modules/external_objects_java/locales/uk_UA.po
new file mode 100644 (file)
index 0000000..a0001c1
--- /dev/null
@@ -0,0 +1,186 @@
+# Ukrainian translation for scilab
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the scilab package.
+#
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+# Yuri Chornoivan <yurchor@ukr.net>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2011-10-03 10:33+0100\n"
+"PO-Revision-Date: 2012-08-24 14:21+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <uk@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 16335)\n"
+"Language: uk\n"
+
+msgid "Exception thrown in file"
+msgstr "Під час обробки файла сталося виключення"
+
+msgid "at line"
+msgstr "у рядку"
+
+#, c-format
+msgid "Invalid environment: identifier %d is invalid"
+msgstr "Некоректне середовище: ідентифікатор %d є некоректним"
+
+msgid "Invalid environment"
+msgstr "Некоректне середовище"
+
+msgid "Cannot allocate memory"
+msgstr "Не вдалося розподілити пам’ять"
+
+msgid "Invalid variable: cannot retrieve the data"
+msgstr "Некоректна змінна: не вдалося отримати дані"
+
+msgid "Invalid variable: cannot create data"
+msgstr "Некоректна змінна: не вдалося створити дані"
+
+msgid "External Class expected"
+msgstr "Мало бути вказано зовнішній клас"
+
+msgid "Incompatible External Objects"
+msgstr "Несумісні зовнішні об’єкти"
+
+msgid "External object expected"
+msgstr "Мало бути вказано зовнішній об’єкт"
+
+msgid "Unable to wrap. Unmanaged datatype ?"
+msgstr "Не вдалося додати до обгортки. Некерований тип даних?"
+
+msgid "Invalid String"
+msgstr "Некоректний рядок"
+
+msgid "A single string expected"
+msgstr "Мало бути вказано одинарний рядок"
+
+msgid "A single String expected"
+msgstr "Мало бути вказано одинарний рядок"
+
+#, c-format
+msgid "Wrong type for argument #%d: A string expected."
+msgstr ""
+"Помилковий тип вхідного параметра №#%d: слід використовувати тип «string»."
+
+#, c-format
+msgid "Cannot open the given file %s."
+msgstr "Не вдалося відрити вказаний файл %s."
+
+#, c-format
+msgid "Wrong number of arguments : more than %d expected."
+msgstr "Помилкова кількість параметрів: мало бути більше за %d."
+
+#, c-format
+msgid "A strictly positive integer is expected at position %d."
+msgstr "У позиції %d мало бути вказано строго додатне ціле число."
+
+msgid "Invalid name"
+msgstr "Некоректна назва"
+
+#, c-format
+msgid "Wrong type for input argument #%d: A String expected."
+msgstr ""
+"Помилковий тип вхідного параметра №%d: слід використовувати тип «string»."
+
+#, c-format
+msgid "Invalid dimension for argument #%d: A row or a column expected."
+msgstr ""
+"Помилкова розмірність параметра №%d: мало бути вказано рядок або стовпчик."
+
+msgid "The argument must be 'rc' or 'cr'."
+msgstr "Параметр повинен мати значення 'rc' або 'cr'."
+
+#, c-format
+msgid "Invalid dimensions for input argument #%d: A single string expected."
+msgstr ""
+"Помилкова розмірність вхідного параметра №%d: мало бути використано "
+"одинарний рядок."
+
+msgid "Invalid dimensions: arguments #2 and #3 must have the same."
+msgstr ""
+"Некоректні розмірності: параметри №2 і №3 повинні мати однакову розмірність."
+
+msgid "Invalid variable: cannot create the data"
+msgstr "Некоректна змінна: не вдалося створити дані"
+
+#, c-format
+msgid "Wrong type for input argument #%d: External Object expected."
+msgstr ""
+"Помилковий тип вхідного параметра №%