Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width12%
Include Page
TUSCANYWIKI:Java SCA Menu
TUSCANYWIKI:Java SCA Menu
Column
width88%

Subversion Access

The Java SCA project Subversion repository is located at https://svn.apache.org/repos/asf/incubator/tuscany/java/sca.

The respository can also be viewed online at http://svn.apache.org/viewvc/incubator/tuscany/java/

Anyone can check code out of Subversion. You only need to specify a username and password in order to update the Subversion repository, and only Tuscany committers have the permissions to do so.

Checking out from Subversion

Use a command like:

Code Block
svn checkout https://svn.apache.org/repos/asf/incubator/tuscany/java/sca

Committing Changes to Subversion
Any Tuscany committer should have a shell account on svn.apache.org. Before you can commit, you'll need to set a Subversion password for yourself. To do that, log in to svn.apache.org and run the command svnpasswd.

Once your password is set, you can use a command like this to commit:

Code Block
svn commit

If Subversion can't figure out your username, you can tell it explicitly:

Code Block
svn --username <name> commit

Subversion will prompt you for a password, and once you enter it once, it will remember it for you. Note this is the password you configured with svnpasswd, not your shell or other password.

Getting Setup for Development

Prerequisites
Java SCA requires the following:

Build tree structure

The build tree is designed to facilitate modular development and releases. Maven modules are grouped by how they are released under an hierarchy. For example, all kernel-related modules are grouped under the 'kernel' module. The build tree contains the following 'top-level' modules:

kernel
Contains the modules that make up the Java SCA foundation, including:

  • api - Contains the Java SCA proprietary programming model apis
  • host_api - Contains APIs for interacting with the kernel
  • spi - Defines kernel extension points. Includes interfaces and abstract extension classes.
  • core - The kernel implementation

Kernel may be checked out and built independently from the other modules such as extensions.

To checkout kernel, do:

Code Block
svn checkout https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/kernel

To build kernel, do:

Code Block
mvn 

Note that mvn -o may be used once all kernel dependencies have been downloaded

runtime
Contains modules for deploying Java SCA to various runtimes, e.g. in a Servlet Container or as a standalone runtime:

  • itest - modules for embedding Java SCA in Maven as an iTest Plugin. Used for integration testing.
  • standalone - modules for deploying Java SCA as a standalone container
  • services - various runtime services such as JMX
  • webapp - modules for embedding Java SCA in a Servlet container