Author: jawi
Date: Wed Aug 15 11:40:47 2012
New Revision: 1373348

URL: http://svn.apache.org/viewvc?rev=1373348&view=rev
Log:
Some minor cleanups.

Modified:
    ace/site/trunk/content/dev-doc/getting-started.mdtext

Modified: ace/site/trunk/content/dev-doc/getting-started.mdtext
URL: 
http://svn.apache.org/viewvc/ace/site/trunk/content/dev-doc/getting-started.mdtext?rev=1373348&r1=1373347&r2=1373348&view=diff
==============================================================================
--- ace/site/trunk/content/dev-doc/getting-started.mdtext (original)
+++ ace/site/trunk/content/dev-doc/getting-started.mdtext Wed Aug 15 11:40:47 
2012
@@ -12,11 +12,13 @@ Point your browser to: http://ace.apache
 
 On that page you will find, amongst others, a link to the latest released 
sources. The page will automatically select a download mirror close to you. 
Download the archive and then type:
 
-       $ unzip apache-ace-src-1.0.0.zip
+    :::sh
+    $ unzip apache-ace-src-1.0.0.zip
 
 ### Checkout from subversion
 
-       $ svn co http://svn.apache.org/repos/asf/ace/trunk apache-ace
+    :::sh
+    $ svn co http://svn.apache.org/repos/asf/ace/trunk apache-ace
 
 In both cases you end up with a copy of the source code in the apache-ace 
folder.
 
@@ -88,7 +90,7 @@ The integration tests of ACE are placed 
 
 #### Prerequisites
 
-For developing ACE using Eclipse, you need:
+For developing ACE using Ant, you need:
 
 * A recent Java JDK, at least [Java 
6](http://www.oracle.com/technetwork/indexes/downloads/index.html);
 * [Apache ANT](http://ant.apache.org/) version 1.8+.
@@ -99,25 +101,26 @@ The command line build for Apache ACE is
 
 The build is structured as a flat hierarchy of projects, and you can go into 
any of these projects to build just that project and its dependencies. There 
are two special projects:
 
-1. cnf -- Which is collection of repositories that contain all the required 
dependencies for building and running Apache ACE.
-2. build -- A project that depends on all other projects and is used to build 
everything.
+1. `cnf` -- Which is collection of repositories that contain all the required 
dependencies for building and running Apache ACE.
+2. `build` -- A project that depends on all other projects and is used to 
build everything.
 
-So, to build Apache ACE, we type the following commands:
+So, to build Apache ACE, we issue the following commands:
 
-       $ cd build
-       $ ant
+    :::sh
+    $ cd build
+    $ ant
 
-This leaves us with a set of bundles.
+In the end, this leaves us with a set of bundles (in the <tt>generated</tt> 
folder of each project).
 
 The following targets are available:
 
-* clean -- Cleans up any files in the current project that were generated 
during a build.
-* build -- Build the current project.
-* test -- Run the integration tests in the current project.
-* testng -- Run the unit tests in the current project.
-* deepclean -- Cleans up any files in the current project and all its 
dependencies.
-* deeptestng -- Runs the unit tests in the current project and all its 
dependencies.
-* deeptest -- Runs the integration tests in the current project and all its 
dependencies.
+* <tt>clean</tt> -- Cleans up any files in the current project that were 
generated during a build;
+* <tt>build</tt> -- Build the current project;
+* <tt>test</tt> -- Run the integration tests in the *current* project;
+* <tt>testng</tt> -- Run the unit tests in the *current* project;
+* <tt>deepclean</tt> -- Cleans up any files in the current project and all its 
dependencies;
+* <tt>deeptestng</tt> -- Runs the unit tests in the current project and all 
its dependencies;
+* <tt>deeptest</tt> -- Runs the integration tests in the current project and 
all its dependencies.
 
 There actually are a few more, but these are the most important ones.
 
@@ -127,28 +130,31 @@ There actually are a few more, but these
 
 The next step is to create an archive for the server, so we end up with 
something we can actually run:
 
-       $ ant -f bin-build.xml package
+    :::sh
+    $ ant -f bin-build.xml package
 
 Now, in the generated folder, two archives will have been created, and there 
are also subfolders with the same names as the archives that you can go into 
and run. You can start the server like this:
 
-       $ cd generated/ace-devserver
-       $ sh run.sh
+    :::sh
+    $ cd generated/ace-devserver
+    $ sh run.sh
 
 ### ...add an OSGi bundle
 
 The easiest way to add an OSGi bundle, is to drag it onto the "Local 
Repository" entry in the "Repositories" view, or to use the "Add files to 
repository" toolbar icon. Bndtools will analyze the files you try to add and 
show their metadata if they're indeed valid bundles.
 
-The bundles will end up in the local repository inside the `cnf` project.
+The bundles will end up in the local repository inside the <tt>cnf</tt> 
project.
 
 ### ...add a Java library
 
 If you want to add a library that does not contain any OSGi metadata, you can 
follow the steps below to add it to the "Library Repository" so it can be used 
in all other projects within Apache ACE. If your library does have sensible 
OSGi metadata, please follow the "...add an OSGi bundle" instructions above.
 
 1. Copy the library to the right location.
-       The jar file for the library should be copied to the following 
location: `cnf/lib/foo/foo-1.0.0.jar`
-1. Update the repository.xml.
-       After making changes to anything in cnf/lib/ you need to update the 
index file that describes the contents of the repository. To do this enter the 
following commands:
-
-               $ cd cnf
-               $ ant
-               $ java -cp bin org.apache.ace.bnd.LibraryIndexer
+       The jar file for the library should be copied to the following 
location: <tt>cnf/lib/foo/foo-1.0.0.jar</tt>. Note that the directory name 
should be equal to the basename of the added JAR file, that is, everything 
*before* the version-string of the JAR.
+2. Update the `repository.xml`.
+       After making changes to anything in <tt>cnf/lib/</tt> you need to 
update the index file that describes the contents of the repository. To do this 
enter the following commands:
+
+        :::sh
+        $ cd cnf
+        $ ant
+        $ java -cp bin org.apache.ace.bnd.LibraryIndexer
\ No newline at end of file


Reply via email to