On Oct 15, 2012, at 2:52 PM, "Chen, Pei" <[email protected]> wrote: > 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
Don't do this. Do `mvn compile` or `mvn test` instead. The only reason to do `mvn install` is if you do *not* intend to modify anything in the cTAKES source code, and you *just* want to depend on the current snapshot of cTAKES in some *other* project. Otherwise, `mvn install` is almost guaranteed to get your dependencies out of sync. > 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 >
