summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marchetto <simon.marchetto@scilab-enterprises.com>2014-04-11 11:46:20 +0200
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>2014-04-11 11:47:47 +0200
commit6cc386a8144a602e9d725055b87209742886a81b (patch)
tree2e9027ce6312c55b0d369568df81694281e18312
parentb255960d1799b6791e4fb09d29d0a2f2d0fa923a (diff)
downloadscilab-6cc386a8144a602e9d725055b87209742886a81b.zip
scilab-6cc386a8144a602e9d725055b87209742886a81b.tar.gz
external_objects_java: fix getting started examples failing on Winodws
Change-Id: I3a03bb3a5518464c94a3700353d5dfd92848ef64
-rw-r--r--scilab/modules/external_objects_java/help/en_US/01-getting-started.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/scilab/modules/external_objects_java/help/en_US/01-getting-started.xml b/scilab/modules/external_objects_java/help/en_US/01-getting-started.xml
index 6b65585..7d21989 100644
--- a/scilab/modules/external_objects_java/help/en_US/01-getting-started.xml
+++ b/scilab/modules/external_objects_java/help/en_US/01-getting-started.xml
@@ -63,7 +63,7 @@ public class HelloWorld {
63 ]]></programlisting> 63 ]]></programlisting>
64 <programlisting role="example"><![CDATA[ 64 <programlisting role="example"><![CDATA[
65// How to compile the Java code from Scilab 65// How to compile the Java code from Scilab
66javacode=mgetl('/tmp/HelloWorld.java') 66javacode=mgetl(fullfile(TMPDIR, 'HelloWorld.java'));
67jcompile("com.foo.HelloWorld",javacode); 67jcompile("com.foo.HelloWorld",javacode);
68 ]]></programlisting> 68 ]]></programlisting>
69 <para>Once the compiled version of this Java class exists, we can start Scilab and try to get Scilab to show us the various messages. 69 <para>Once the compiled version of this Java class exists, we can start Scilab and try to get Scilab to show us the various messages.
@@ -149,7 +149,7 @@ public class Inspector {
149 </para> 149 </para>
150 <programlisting role="example"><![CDATA[ 150 <programlisting role="example"><![CDATA[
151// How to compile the Java code from Scilab 151// How to compile the Java code from Scilab
152javacode= mgetl('/tmp/Inspector.java') 152javacode= mgetl(fullfile(TMPDIR, 'Inspector.java'));
153jcompile("com.foo.Inspector",javacode); 153jcompile("com.foo.Inspector",javacode);
154 ]]></programlisting> 154 ]]></programlisting>
155 To start, import the Inspector class and create an Inspector object: 155 To start, import the Inspector class and create an Inspector object: