Re: NIO problem, any help appreciated!

2008-09-11 Thread Christian Edward Gruber
Well I think creating the folders up to the file is not so difficult, because the folder creation can have a race, as long as it's not a destructive creation. I think it's just the file you need to worry about, and my examination of the c files underlying the createFileExclusively suggests

Re: NIO problem, any help appreciated!

2008-09-11 Thread Oleg Gusakov
Christian Edward Gruber wrote: BTW, my suggestion isn't as robust as java.nio.channels.FileLock is supposed to be, but in basic testing it definitely returns "false" if the lock file exists on two platforms (MacOS and BSD). I can't generate a race condition so easily, so I can't vouch for th

Re: NIO problem, any help appreciated!

2008-09-11 Thread Christian Edward Gruber
So is File.createNewFile() not actually back-ended by the platform's atomic file creation capability (that is, if there is one, it uses it, else there's a possible race)? If so, I'd just use that. Looking through the 1.5 source, it at least calls to FileSystem.createFileExclusively, which

Re: NIO problem, any help appreciated!

2008-09-11 Thread Christian Edward Gruber
BTW, my suggestion isn't as robust as java.nio.channels.FileLock is supposed to be, but in basic testing it definitely returns "false" if the lock file exists on two platforms (MacOS and BSD). I can't generate a race condition so easily, so I can't vouch for that, but it would at least red

[jira] Subscription: Design & Best Practices

2008-09-11 Thread jira
Issue Subscription Filter: Design & Best Practices (28 issues) Subscriber: mavendevlist Key Summary MNG-2184Possible problem with @aggregator and forked lifecycles http://jira.codehaus.org/browse/MNG-2184 MNG-612 implement conflict resolution techniques htt

Re: Reporting architecture question

2008-09-11 Thread Brett Porter
No, most of the activity has happened in the range of plugins that do lot of the work themselves. - Brett On 09/09/2008, at 6:02 AM, James Carpenter wrote: Creating aggregate reports in maven has historically been a little awkward. To this end i remember chatter about revamping the reportin

RE: [vote] release maven-parent 9 TAKE 2

2008-09-11 Thread Brian E. Fox
This vote passed, +1 Brian, John, Vincent. I'll move the artifacts. -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2008 6:57 PM To: Maven Developers List Subject: Re: [vote] release maven-parent 9 TAKE 2 Go ahead. +1 Vincent 2008/9/10

RE: [vote] release maven enforcer plugin 1.0-alpha-4

2008-09-11 Thread Brian E. Fox
Alright, I'm pulling the trigger on this one and cancelling the vote. I have to monkey with the poms some more to line up the plugin with the values in the maven-plugin-parent. This is a good use case for the mix-ins because I need to inherit default values from the enforcer and from the maven-plug

Re: [vote] release maven enforcer plugin 1.0-alpha-4

2008-09-11 Thread Andreas Christoforides
Brian, It looks like the "Goals" link is broken. By the way, very useful plugin. I already added it to our company POM and I have a bunch of rules commented out until alpha-4 comes :) Thanks, Andreas Brian E. Fox wrote: Ok the site is restaged, and the links are in the menu now. (looks muc

RE: [vote] release maven enforcer plugin 1.0-alpha-4

2008-09-11 Thread Brian E. Fox
Ok the site is restaged, and the links are in the menu now. (looks much better btw) http://people.apache.org/~brianf/plugins/maven-enforcer-plugin/ http://people.apache.org/~brianf/enforcer/ -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10,

Fwd: where to request for a new project in Jira ?

2008-09-11 Thread nicolas de loof
My request on Mojo dev list had no reply. Could someone take a look at this : Hy, I plan to call for a vote during september to promote GWT maven plugin from sandbox This includes creating a dedicated Jira project in replacement for MOJO "gwt" component. Where can I request a new Jira project

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread ossi petz
> You have a problem with your path . > :-D dammit! someone could have told me to set the M2_HOME environment variable to the correct folder :) second try: this time mvn was downloading some new plugin versions the web projects run ok the rich client projects run ok too our custom mvn plugin

Re: Plugins: execution/configuration does not add to configuration

2008-09-11 Thread Stephen Connolly
On Thu, Sep 11, 2008 at 12:52 PM, Barrie Treloar <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 6:43 PM, Stephen Connolly > <[EMAIL PROTECTED]> wrote: > > The dev list is really for people developing Maven (and maven plugins) > not > > for people developing with Maven (who are really users)

Re: Plugins: execution/configuration does not add to configuration

2008-09-11 Thread Barrie Treloar
On Thu, Sep 11, 2008 at 6:43 PM, Stephen Connolly <[EMAIL PROTECTED]> wrote: > add a configuration to the plugin directly not nested within an execution. > > that will modify the defaults for all executions. > > you may then need to add in the configuration sections for each execution > the config

Re: Plugins: execution/configuration does not add to configuration

2008-09-11 Thread Stephen Connolly
add a configuration to the plugin directly not nested within an execution. that will modify the defaults for all executions. you may then need to add in the configuration sections for each execution the config to switch back from your defaults. Also, this kind of question is better suited to the

Re: Plugins: execution/configuration does not add to configuration

2008-09-11 Thread Barrie Treloar
This will teach me to write before I've fully checked everything. I had true on so I could check the configurations. What this configuration gives is three executions of surefire: [INFO] [surefire:test] ... [INFO] [surefire:test {execution: test}] ... [INFO] [surefire:test {execution: integration-