> On Jan 4, 2015, at 11:21 AM, Gilles <gil...@harfang.homelinux.org> wrote:
> 
> Hi.
> 
> In the "src/userguide/java" directory, there are a few
> self-contained usage examples.
> 
> I think that we should have some way to
> 1. automatically compile its content (so that we can ensure that the
>   source tree does not contain any non-compilable stuff) and
> 2. run selected classes (so that users easily see CM code at work)
> 
> It looks like it should not be too difficult (for an experienced
> maven user, which I'm not) to create a profile for doing just that.
> [I've seen there is an "exec" plugin that could do (2), but I
> didn't find where, in the "pom.xml", one can specify an alternate
> directory for indicating which sources to compile.]

This kind of thing is pretty easy in Ant.  I would be +1 on just adding a 
build.xml to the directory where the examples live.

Phil 
> 
> 
> Thanks for any hint,
> Gilles
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to