ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1372365 - /ace/site/trunk/content/dev-doc/getting-started.mdtext
Date Mon, 13 Aug 2012 11:07:27 GMT
Author: marrs
Date: Mon Aug 13 11:07:27 2012
New Revision: 1372365

URL: http://svn.apache.org/viewvc?rev=1372365&view=rev
Log:
Some layout changes.

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=1372365&r1=1372364&r2=1372365&view=diff
==============================================================================
--- ace/site/trunk/content/dev-doc/getting-started.mdtext (original)
+++ ace/site/trunk/content/dev-doc/getting-started.mdtext Mon Aug 13 11:07:27 2012
@@ -12,11 +12,11 @@ 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
+	$ unzip apache-ace-src-1.0.0.zip
 
 ### Checkout from subversion
 
-$ svn co http://svn.apache.org/repos/asf/ace/trunk apache-ace
+	$ 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.
 
@@ -106,10 +106,8 @@ The build is structured as a flat hierar
 
 So, to build Apache ACE, we type the following commands:
 
-```
-$ cd build
-$ ant
-```
+	$ cd build
+	$ ant
 
 This leaves us with a set of bundles.
 
@@ -131,16 +129,12 @@ 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
-```
+	$ 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
-```
+	$ cd generated/ace-devserver
+	$ sh run.sh
 
 ### ...add an OSGi bundle
 
@@ -150,20 +144,11 @@ The bundles will end up in the local rep
 
 ### ...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 "How
to add a bundle" instructions below.
+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.
 
-Step 1: Copy the library to the right location
+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:
 
-The jar file for the library should be copied to the following location:
-
-cnf/lib/foo/foo-1.0.0.jar
-
-Step 2: 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
-```
+	$ cd cnf
+	$ ant
+	$ java -cp bin org.apache.ace.bnd.LibraryIndexer



Mime
View raw message