Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step

Example

1. Install an SVN client.

Windows:
We used a binary package of Apache Subversion from SlikSVN.
Apache has a larger list here.
Download and run the MSI file.
Click Next.
Accept the license agreement.
Click Next.
Click Next.
Select Typical.
Select Install.
Wait
Click Finish.
Exit and restart any command prompts that were open.

Linux:

Code Block
apt-get install subversion
apt-get install libapache2-svn


Windows:
 25

Linux:
 

2. Install a Maven 3.0+ client.

Windows:
We downloaded Apache Maven file apache-maven-3.0.4-bin.zip. Install instructions are on the same page.
Unzip the file to the root drive.
C:\apache-maven-3.0.4 will be your MAVEN_HOME.

Linux:
We downloaded Apache Maven file apache-maven-3.0.4-bin.tar.gz. Install instructions are on the same page.
Unzip the file to the root drive.
/usr/local/apache-maven-3.0.4 which will be your MAVEN_HOME.

Info

Run svn --version to check the setup


| Windows:
19

Linux:
23
|

3. Set the Maven environment variable values -
M2_HOME=<MAVEN_HOME>
M2=<MAVEN_HOME>/bin
PATH=<existing Path>;<MAVEN_HOME>
where MAVEN_HOME is the path you unzipped to.

Windows:
Right-click on Computer > Properties > Advanced System Settings > Advanced tab > Environment Variables button > New button for User variables. Once the values are entered click OK until you are out of the dialog series.

Linux:

Code Block
export M2_HOME=

...

/usr/local/apache-maven/apache-maven-3.0.4
export M2=

...

$M2_

...

HOME/bin

...


export PATH=$PATH:$M2
mvn --version
Info

Run mvn --version to check the setup

Windows:
21, 26, 28

Linux:


3. Checkout the cTAKES project.

Windows/Linux:

Code Block
svn co https://svn.apache.org/repos/asf/incubator/ctakes/trunk cTAKES-3.0

The parameter on the end will be created as a new directory in your current location.

Windows:

Code Block
C:\>svn co https://svn.apache.org/repos/asf/incubator/ctakes/trunk cTAKES-3.0

 ...

A ctakes-3.0\ctakes-type-system\pom.xml
A ctakes-3.0\ctakes-type-system\.settings
A ctakes-3.0\ctakes-type-system\.settings\org.eclipse.jdt.core.prefs
A ctakes-3.0\ctakes-type-system\.settings\org.eclipse.core.resources.prefs
A ctakes-3.0\ctakes-type-system\desc
A ctakes-3.0\DISCLAIMER
Checked out revision 1433729.

C:\>cd cTAKES-3.0
C:\cTAKES-3.0>

Linux:

4. Compile the complete set.

Code Block
mvn clean compile package



Windows:
 
Linux:

Process documents using cTAKES