That's pretty cool. Any thoughts about submitting that to the maven team?
Dan On Thursday 13 December 2007, Raymond Feng wrote: > Yes, that's right. > > Thanks, > Raymond > > ----- Original Message ----- > From: "Luciano Resende" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, December 13, 2007 4:04 AM > Subject: Re: How to run incremental builds of the Tuscany SCA tree > > > On Dec 12, 2007 4:44 PM, Raymond Feng <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > >> To: <[email protected]> > >> > >> 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: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> ------------------------------------------------------------------- > >>-- To unsubscribe, e-mail: [EMAIL PROTECTED] For > >> additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > > Luciano Resende > > Apache Tuscany Committer > > http://people.apache.org/~lresende > > http://lresende.blogspot.com/ > > > > -------------------------------------------------------------------- > >- To unsubscribe, e-mail: [EMAIL PROTECTED] For > > additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
