Re: [Fornax-developer] Annoying regeneration problem

2009-07-20 Thread Pavel Tavoda
Hello Patrik, I don't know how to make run something before 'install' and after install task in normal lifecycle. Clean wasn't that difficult because it's running as part of clean but with install it's different story. Can you help me? Do you know how to declare plugin in POM file that is started b

Re: [Fornax-developer] Annoying regeneration problem

2009-07-17 Thread Patrik Nordwall
Now I have read your suggestions and I think it looks good. This is independent of Sculptor, isn't it? It is useful for anyone using fornax-oaw-m2-plugin. Should it be included in that plugin or should it be a separate maven plugin, located in Subversion in same structure as fornax-oaw-m2-plugin?

Re: [Fornax-developer] Annoying regeneration problem

2009-07-06 Thread Pavel Tavoda
New version: * Simplified file management * Removed some logical race conditions Thanks Andreas for interest. How does it work: * By default only /src/main/java and /src/main/resources are checked (you can override via checksumDirs variable, look to test.sh) * For now I have two central files 'che

Re: [Fornax-developer] Annoying regeneration problem

2009-07-03 Thread Andreas Källberg
Hi, I can help test it out, but it will take some time since we are going on holiday in a few days. I'm not sure how this should work. Is the checksum going to be calculated and persisted in the file tree? If so, I think it should be persisted in the target directory so it just can be cleaned out

Re: [Fornax-developer] Annoying regeneration problem

2009-07-03 Thread Pavel Tavoda
Looks like attachment get not through. Here is again with password - sculptor. And it's ZIP file (stupid Gmail). Pavel On Fri, Jul 3, 2009 at 6:35 PM, Pavel Tavoda wrote: > Karsten TNX for hint but I found it more complicated than what we > need. I developed Maven plugin which care about removing

Re: [Fornax-developer] Annoying regeneration problem

2009-07-03 Thread Karsten Thoms
A good starting point is to provide a specialized Outlet implementation. The implementation class to use must be configured for the Maven Mojo to do this. You should read this article from Heiko about the Generation Gap pattern. He suggests to introduce a conditional generated folder, wher

[Fornax-developer] Annoying regeneration problem

2009-07-02 Thread Pavel Tavoda
If I should be honest, what annoy me most now on Sculptor is regeneration of one-time generated files (main/java main/resources). Before I had idea with timestamps but this is difficult to handle. Now I found maybe better solution. After generation we should checksum all generated files in main/jav