What is wrong with using a CI system to do this for you?, e.g. Hudson

It's trivial to run Hudson on your own machine

-Stephen

On 26 June 2010 03:39, Greg Akins <angryg...@gmail.com> wrote:

> I feel like creating a plug-in that will monitor for file changes and
> run "test" when notified of a change.
>
> 1)  It looks like it's a little cumbersome to call a goal for one
> plugin from the execute method of another.
> 2)  There are a few plugins that look like they wrap this ability
> alread ("inherit" is one, "cli" and "mojo-executor library")
>
> Does anyone have an opinions?  I'll probably follow this blog
> (
> http://unserializableone.blogspot.com/2009/06/executing-maven-plugin-from-maven.html
> )
> to get started and have an execute method with
>
> public void execute() {
>  while(true) {
>    if (lookForChanges()) TestMojo().execute();
>  }
> }
>
> --
> Greg Akins
>
> http://insomnia-consulting.org
> http://www.pghcodingdojo.org
> http://pittjug.dev.java.net
> http://twitter.com/akinsgre
> http://www.linkedin.com/in/akinsgre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to