From: navarro Date: Thu, 19 Jan 2012 10:32:48 +0000 (+0100) Subject: Write doc for how to use examples X-Git-Tag: v3_9_90~569^2~19^2~155 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6e1b69142e3c420c6545df0261f4e348dd87bed9 Write doc for how to use examples --- diff --git a/doc/install.doc b/doc/install.doc index bfcae328db..d9e802a91e 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -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 +(/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 diff --git a/doxygen_postprocesser.pl b/doxygen_postprocesser.pl index 07e2dcc784..38bcc616ad 100755 --- a/doxygen_postprocesser.pl +++ b/doxygen_postprocesser.pl @@ -31,7 +31,7 @@ while () { if( $_ =~ // && $tabs){ my $tmp_buff=""; $tmp_buff .= $_; - $tmp_buff .= '
  • Install SimGrid-Java
  • '."\n"; + $tmp_buff .= '
  • Install and Use
  • '."\n"; $tmp_buff .= '
  • Javadoc
  • '."\n"; $tmp_buff .= '
  • Website
  • '."\n"; $tabs = 0;