tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luciano Resende" <luckbr1...@gmail.com>
Subject Re: How to run incremental builds of the Tuscany SCA tree
Date Thu, 13 Dec 2007 12:04:08 GMT
On Dec 12, 2007 4:44 PM, Raymond Feng <enjoyjava@gmail.com> wrote:
> Hi,
>
> Beyond performance, I don't think svn stat is good way to handle the case
> that the project has been updated from svn but the build is not run yet. I
> now ported the timestamp check from the maven-compiler-plugin and it should
> give us the capability to be incremental.
>

Does this mean i can have an incremental build just by executing the
command below, and don't need the markers anymore ?

mvn -o org.apache.tuscany.sca:tuscany-maven-incremental-build:build

> http://svn.apache.org/viewvc?rev=603783&view=rev
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Jean-Sebastien Delfino" <jsdelfino@apache.org>
> To: <tuscany-dev@ws.apache.org>
>
> Sent: Wednesday, December 12, 2007 3:49 PM
> Subject: Re: How to run incremental builds of the Tuscany SCA tree
>
>
> > Jean-Sebastien Delfino wrote:
> >> Raymond Feng wrote:
> >>> Hi,
> >>>
> >>> I tried the plugins and it works well.
> >>>
> >>> I also made the following improvements:
> >>>
> >>> 1) Integrate the plugin with maven scm capability, i.e. use APIs to call
> >>> "svn status" to detect if there are any local changes against SVN repo.
> >>> (Pretty fast for a single module).
> >>
> >> Any idea of how long it takes if you run it from the top of the tree?
> >>
> >
> > I tried it myself. Svn status on each module takes too long, defeating the
> > purpose of the plugin.
> >
> > If you don't want to create .modified marker files, you can compare the
> > timestamps of the source files + pom.xml and the timestamp of a marker
> > file that the plugin can create under the target directory to record when
> > it was run.
> >
> > You could also check the timestamps of .class files and the .war or .jar
> > files but that assumes more knowledge of the structure of the module.
> > --
> > Jean-Sebastien
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message