In supporting Pei's build instructions, I just tried the eclipse option and it 
worked. Here is what I did:

1. Eclipae->import->Maven->Check out Maven Project from SCM->next
2. SCV URL: svn http://svn.apache.org/repos/asf/incubator/ctakes/trunk
     All the other options are unchanged. Then click finish.
3. Wait till all projects are check out. It took about half an hour.
4. When there are errors, I right clicked a project -> run as -> Maven 
generate-sources...

Then there is no error.


-----Original Message-----
From: Chen, Pei [mailto:[email protected]] 
Sent: Monday, October 15, 2012 4:54 PM
To: [email protected]
Subject: RE: latest build instructions

Hi Matt,
It should be really be fairly simple...  Feel free to give it a try and update 
the instructions on the incubator page if you like.

Building and Running from Command Line:
Requirements: svn, java jdk 1.6+, maven 3.0.4+
1) svn co http://svn.apache.org/repos/asf/incubator/ctakes/trunk
2) mvn install
3)Optional to run the UIMA CAS Visual Debugger or Collection Processing Engine 
GUI:
cd ctakes-clincial-pipeline
mvn exec:exec -PrunCVD 
or
mvn exec:exec -PrunCPE


Building and Running from Eclipse IDE:
Requirements: Eclipse IDE 4.2.1+, java jdk 1.6+, subversive plugin (or svn 
equivalent with appropriate svn team provider connectors), m2e plugin (or mvn 
equivalent)
Import Project > Maven > Checkout Maven Project from SCM 
svn: http://svn.apache.org/repos/asf/incubator/ctakes/trunk
Select all projects
Wait until Eclipse downloads and builds all of your projects.  The various 
build helpers should run jcasgen and builds the projects for you (there 
shouldn't be a real need to run mvn install, etc.)
Finish.

> -----Original Message-----
> From: Coarr, Matt [mailto:[email protected]]
> Sent: Monday, October 15, 2012 4:23 PM
> To: [email protected]
> Subject: latest build instructions
> 
> [I already read the thread "Update cTAKES Building and Running page?" that
> Pei started 2012-10-10T16:56.]
> 
> iWhat are the latest build instructions for command-line and for eclipse?
> 
> I have some changes to commit and need to get my system building from the
> latest apache svn code.
> 
> I'm catching up on the recent emails about building, maven, command-line,
> eclipse, and target users.  Lots of discussions going on!
> 
> I already have a working copy checked out from svn.  And I've seen (the
> yet-to-be-completed) instructions here:
>   http://incubator.apache.org/ctakes/source.html
> (I'd be happy to update this with a quick set of instructions once I go 
> through
> the process.)
> 
> I'm assuming it's something along the lines of:
> 
>  * for command-line
>     - checkout from svn
>     - run "mvn compile"/"mvn test"/"mvn package"
>       (I've been using maven for 8+ years and I've always run "mvn install", 
> but
> I've been listening to Steve's advice and I'll switch to these commands :-)
>  * for eclipse
>     - checkout from svn
>     - make sure you have m2e installed
>     - import the projects into eclipse
>     - ...trying to figure out what I should be doing hereŠ
>       Do I just let it build automatically?  (In the past I've always done 
> right click
> on project -> choose "run as..." -> "mvn install" but now I know that this is
> evil.)
> 
> Thanks!
> Matt

Reply via email to