incubator-agila-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Agila Wiki] Update of "AgilaBpelInstallationGuide" by AndrewWhelan
Date Thu, 31 Aug 2006 02:01:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Agila Wiki" for change notification.

The following page has been changed by AndrewWhelan:
http://wiki.apache.org/agila/AgilaBpelInstallationGuide

The comment on the change is:
Updated to specify Maven 1.X requirement (not Maven 2.X)

------------------------------------------------------------------------------
  == Building Agila BPEL ==
  
  Before building Agila BPEL, you will need to download the following softwares:
-  * [http://maven.apache.org Apache Maven]
+  * [http://maven.apache.org/maven-1.x/ Apache Maven 1.X] (Currently, Agila BPEL cannot be
built via Maven 2.X.)
   * [http://xdoclet.sf.net XDoclet 1.2.x]
  
- To install Maven, follow the [http://maven.apache.org/start/install.html Installing Maven]
guide. XDoclet is only necessary to get XDoclet's Maven plug-in. Extract XDoclet's distribution
and copy maven-xdoclet-plugin-1.2.1.jar located in the lib directory in Maven's plugins directory.
Another solution is adding  http://xdoclet.sourceforge.net/repository to the build.properties
file.
+ To install Maven, follow the [http://maven.apache.org/maven-1.x/start/install.html Installing
Maven 1.X] guide. XDoclet is only necessary to get XDoclet's Maven plug-in. Extract XDoclet's
distribution and copy maven-xdoclet-plugin-1.2.1.jar located in the lib directory in Maven's
plugins directory. Another solution is adding  http://xdoclet.sourceforge.net/repository to
the build.properties file.
  
  Create a file named build.properties in your user's home directory (like /home/username
or C:\Documents and Settings\username). Copy and paste the following line into this file:
  
@@ -43, +43 @@

  Using a console go to Agila BPEL source distribution root (should be something like agila/trunk/modules/bpel)
and type:
  
  {{{ 
- mvn buildall 
+ maven buildall 
  }}}
  
  This will build all Agila BPEL modules. The results of the build are placed in the target
directory of each module (usually a jar or a war). The two necessary Agila BPEL web applications
that you deploy in Tomcat are in client/web/target and engine/wsa/target.
@@ -51, +51 @@

  If you like to do some tweaking or development of Agila BPEL, to build a specific module,
use
  
  {{{ 
- mvn jar:install 
+ maven jar:install 
  }}}
  
  for a library module and
  
  {{{ 
- mvn war 
+ maven war 
  }}}
  
  for a web application module.
@@ -84, +84 @@

  Agila BPEL configuration is using HSQL by default so there is nothing special to setup.
The only thing you need to do is starting HSQL and initialize the database. Two Maven goals
have been defined in the dist submodule. The first one starts an HSQL instance and the second
initializes the database with the right schema. To use these two goals just go to the modules/bpel/dist
directory and run:
  
  {{{ 
- mvn hsql:start
+ maven hsql:start
- mvn db:create
+ maven db:create
  }}}
  
  === Using your own Database ===
@@ -120, +120 @@

  
  Make sure that your database is running and that a database has been created for Agila BPEL
(according to the connection URL) and run (still in the dist module):
  {{{
- mvn db:create
+ maven db:create
  }}}
  
  This should initialize all tables properly. Before restarting Tomcat don't forget to copy
your database JDBC driver in tomcat/common/lib and to rebuild the two WAR files (they will
be updated with your new Hibernate configuration).

Mime
View raw message