Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Write doc for how to use examples
authornavarro <navarro@caraja.(none)>
Thu, 19 Jan 2012 10:32:48 +0000 (11:32 +0100)
committernavarro <navarro@caraja.(none)>
Thu, 19 Jan 2012 10:32:48 +0000 (11:32 +0100)
doc/install.doc
doxygen_postprocesser.pl

index bfcae32..d9e802a 100644 (file)
@@ -37,5 +37,21 @@ Cmake output
 -- Generating done
 -- Build files have been written to: /home/user/workspace/simgrid-java/build
 \endverbatim
+
+\section bindings_binding_java_use How to use Simgrid-java
+
+For execute examples you need to export LD_LIBRARY_PATH to generated libSG_java library
+(<build_dir>/lib) and libsimgrid (SIMGRID_ROOT).
+
+Take care on mac export DYLD_LIBRARY_PATH and not LD_LIBRARY_PATH.
+
+\verbatim
+$ export SIMGRID_ROOT="$HOME/Install/simgrid/"
+$ export SIMGRID_JAVA_ROOT="$HOME/workspace/simgrid-java"
+$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/lib:$SIMGRID_JAVA_ROOT/lib
+$ cd examples
+$ java -cp .:../simgrid.jar basic/BasicTest platform.xml basic/basicDeployment.xml
+\endverbatim
+
  
  */
\ No newline at end of file
index 07e2dcc..38bcc61 100755 (executable)
@@ -31,7 +31,7 @@ while (<FROM>) {
        if( $_ =~ /<li.*>/ && $tabs){
                my $tmp_buff="";
                $tmp_buff .= $_;
-               $tmp_buff .= '      <li><a href="install.html"><span>Install SimGrid-Java</span></a></li>'."\n";
+               $tmp_buff .= '      <li><a href="install.html"><span>Install and Use</span></a></li>'."\n";
                $tmp_buff .= '      <li><a href="javadoc/index.html"><span>Javadoc</span></a></li>'."\n";
                $tmp_buff .= '      <li><a href="http://simgrid.gforge.inria.fr/"><span>Website</span></a></li>'."\n";
                $tabs = 0;