I like the switch to <ignore/> as a temporary work around at least. I'm not 
opposed to a maven plugin myself, but I don't know enough about maven yet to 
have a well informed opinion.

I do my cTAKES development in a separate workspace; I see what a pain it would 
be to turn off Build Automatically in a shared workspace.

-- James


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> On Behalf Of Steven Bethard
> Sent: Monday, October 08, 2012 3:10 PM
> To: [email protected]
> Subject: Re: Eclipse, Maven and JCasGen
> 
> On Oct 6, 2012, at 8:53 PM, Steven Bethard <[email protected]>
> wrote:
> > If people are opposed to doing it the way m2e suggests (writing a
> jcasgen-maven-plugin and a connector, as is done in my patch), then I
> think the only alternative would be to use <ignore/> instead of <execute/>
> so that JCasGen never runs in Eclipse.
> 
> I've just confirmed that switching <execute/> to <ignore/> stops the
> constant re-building. Of course, it also disables JCasGen generation of
> Java sources, which you have to do manually (e.g. by running `mvn compile`
> from the command line).
> 
> Steve
> 
> P.S. I also did a completely fresh install of Eclipse and the plugins, and
> I still get the same non-stop "Compiling .../target/generated-sources/..."
> messages.

Reply via email to