gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20589 - in gnunet-java: . doc tools


From: gnunet
Subject: [GNUnet-SVN] r20589 - in gnunet-java: . doc tools
Date: Sun, 18 Mar 2012 14:51:21 +0100

Author: dold
Date: 2012-03-18 14:51:21 +0100 (Sun, 18 Mar 2012)
New Revision: 20589

Added:
   gnunet-java/doc/
   gnunet-java/doc/gnunet-exercise.tex
Modified:
   gnunet-java/tools/update-msgtypes
Log:
added tutorial; still at the very beginning

Added: gnunet-java/doc/gnunet-exercise.tex
===================================================================
--- gnunet-java/doc/gnunet-exercise.tex                         (rev 0)
+++ gnunet-java/doc/gnunet-exercise.tex 2012-03-18 13:51:21 UTC (rev 20589)
@@ -0,0 +1,68 @@
+\documentclass[10pt]{article}
+\usepackage[ansinew]{inputenc}
+\usepackage{makeidx,amsmath,amssymb,exscale,multicol,epsfig,graphics,verbatim,ulem}
+\usepackage{epsfig,geometry,url,listings}
+\geometry{headsep=3ex,hscale=0.9}
+\usepackage{hyperref}
+\hypersetup{
+  pdftitle={gnunet-java tutorial},
+  pdfsubject={gnunet-java},
+  pdfauthor={Florian Dold <address@hidden>},
+  pdfkeywords={gnunet,java},
+  colorlinks=true,
+  urlcolor=blue
+}
+
+\title{Introduction to gnunet-java}
+\author{Florian Dold}
+\date{}
+
+\begin{document}
+
+\maketitle
+
+
+\section{Prerequisites}
+This tutorial assumes that you have gnunet$\geq$0.9.2 installed and running on 
your system.
+Instructions on how to do this can be found at 
\url{https://gnunet.org/installation}.
+
+\section{Installing gnunet-java}
+You can either check out the latest version of gnunet-java with
+\lstset{language=bash}
+\begin{lstlisting}
+svn checkout https://gnunet.org/svn/gnunet-java/
+\end{lstlisting}
+or download a more convenient installer at 
\url{http://example.com/gnunet-java-installer.jar}.
+You can start the installer by double-clicking on it, or running
+\begin{lstlisting}
+java -jar gnunet-java-installer.jar
+\end{lstlisting}
+on your command line.
+
+\section{First Steps}
+Programs to communicate with gnunet are located unter the tools/ directory. 
You can add this directory to your path,
+otherwise you have to prefix every command with this directory.
+
+To test if everything is working, try to run the program gnunet-nse. This 
should show you the estimated current size
+of the network.
+
+\subsection{Project Layout}
+
+\subsection{A simple gnunet-java program}
+
+\subsubsection{The skeleton for every program}
+
+\subsubsection{Adding and using command line arguments}
+
+\subsubsection{Using an existing service API}
+
+\subsection{Going into Details}
+
+\subsubsection{overview of the client api}
+
+\subsubsection{defining your own message types / using the construct library}
+
+
+
+
+\end{document}

Modified: gnunet-java/tools/update-msgtypes
===================================================================
--- gnunet-java/tools/update-msgtypes   2012-03-18 13:42:47 UTC (rev 20588)
+++ gnunet-java/tools/update-msgtypes   2012-03-18 13:51:21 UTC (rev 20589)
@@ -7,7 +7,7 @@
 find $BASEDIR/src/ $BASEDIR/test/ -name "*.java" > $SOURCES
 
 # run annotation processor
-javac -cp "$BASEDIR/bin/:$BASEDIR/lib/*" -processor 
org.gnunet.construct.MessageIdAnnotationProcessor -proc:only -s src @$SOURCES
+javac -cp "$BASEDIR/build/:$BASEDIR/lib/*" -processor 
org.gnunet.construct.MessageIdAnnotationProcessor -proc:only -s src @$SOURCES
 
 if [ $? ] ; then
     rm $SOURCES




reply via email to

[Prev in Thread] Current Thread [Next in Thread]