Re: NIO problem, any help appreciated!

2008-09-12 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

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

2008-09-12 Thread Jason Dillon
Mix-ins would be wonderful IMO... :-) --jason On Sep 12, 2008, at 5:51 AM, Brian E. Fox wrote: 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

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

2008-09-12 Thread Jan Fredrik Wedén
The contents of the rules pages requireReleaseDeps and requireReleaseVersion still seems to be swapped. If you click the link to the former, you get the description for requireReleaseVersion and vice versa. -- - Jan Fredrik Wedén On Thu, Sep 11, 2008 at 10:52 PM, Brian E. Fox [EMAIL

Re: NIO problem, any help appreciated!

2008-09-12 Thread Christian Edward Gruber
Sorry - re-reading this, I realize I wasn't clear. I'm assuming using some sort of .lock file as a way to lock the artifact, rather than a locking the files at the filesystem level. That is more likely to have broad support, even on network mounted filesystems whereas locking semantics

Re: [archetype] time to prepare a release of 2.0-alpha-4

2008-09-12 Thread Wendy Smoak
On Fri, Sep 5, 2008 at 1:46 PM, Raphaël Piéroni [EMAIL PROTECTED] wrote: I would like to release the current trunk of the archetype plugin. It is currently dependent upon maven-parent-9-SNAPSHOT. Is there really any matter i should suspect downgrading to 8? I would also be sure everything s

RE: dependencies and attached artifacts

2008-09-12 Thread Brian E. Fox
If the attached artifacts are not explicitly listed as dependencies, then your best bet is to use the projectBuilder to materialize the MavenProject and then get the attached artifacts. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Filip Jirsák Sent: Friday,

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

2008-09-12 Thread Brian E. Fox
Fixed, thanks for pointing it out. -Original Message- From: Jan Fredrik Wedén [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2008 7:33 AM To: Maven Developers List Subject: Re: [vote] release maven enforcer plugin 1.0-alpha-4 The contents of the rules pages requireReleaseDeps and

Re: [archetype] time to prepare a release of 2.0-alpha-4

2008-09-12 Thread Raphaël Piéroni
Hi Wendy, I am currently enhancing the documentation. Have you a multi-module project at hand i could use to create an example of using create-from-project. Yup the parent should be ok before i made all the documentation i'd like. The internal catalog is created using a specific profile on

Re: NIO problem, any help appreciated!

2008-09-12 Thread Oleg Gusakov
Christian, We are on the same page: I am using .lock file in Mercury. But I do it at GA level, because I need to change both GA and GAV level metadata files, so I chose to lock entire artifact. This still leaves a window on 5-10 millis - lock file processing - when two threads or processes

Re: [archetype] time to prepare a release of 2.0-alpha-4

2008-09-12 Thread Wendy Smoak
On Fri, Sep 12, 2008 at 9:06 AM, Raphaël Piéroni [EMAIL PROTECTED] wrote: I am currently enhancing the documentation. Have you a multi-module project at hand i could use to create an example of using create-from-project. Not offhand, but we could put one in the maven sandbox. For examples I

Re: NIO problem, any help appreciated!

2008-09-12 Thread Oleg Gusakov
FYI - solution found! Dain Sundstrom tried it and found out that while NIO does not work inside single JVM, it works across processes. So the first take ugly solution seem to use Java synchronization inside JVM and NIO locks between them. This brings a lot of complications to the table, I'd