...
The minimal install instructions below are short but require a lot of prerequisite setup on your own. If you need more help then follow the step by step instructions. The step by step instructions for Eclipse assume a Windows install environment. You will need to extrapolate for any other environments.
...
Preparing command line tools
Step | Example |
---|
1. Install an SVN client.
We used a binary package of Apache Subversion from SlikSVN. Apache has a larger list here. Windows:
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. /apache-maven-3.0.4 will be your MAVEN_HOME.
| 19
23
|
3. Set the environment variable values M2_HOME=<MAVEN_HOME> M2=<MAVEN_HOME>/bin 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=<MAVEN_HOME>
export M2=<MAVEN_HOME>/bin |
| 21,22 |
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.
|
Code Block |
---|
C:\>svn co https://svn.apache.org/repos/asf/incubator/ctakes/trunk cta
kescTAKES-3.0
...
A ctakes-3.0\ctakes-type-system\src\main\resources\org\apache\ctakes\typesyst
em\types
A ctakes-3.0\ctakes-type-system\src\main\resources\org\apache\ctakes\typesyst
em\types\TypeSystem.xml
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> |
|
4. Compile the complete set.
Code Block |
---|
mvn clean compile package |
| |
...