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,  
where only files are generated if they were not moved to a manually  
maintained folder.
http://www.1160pm.net/2009/04/23/generation-gap-pattern/

~Karsten

Am 02.07.2009 um 13:04 schrieb 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/java and main/resources. Than before
> generation we should check all sums and if file have same checksum we
> should remove it (file wasn't change and we should regenerate it).
>
> I don't know enough details about oAW if I can write some hook method
> which can do this for every generated file or I have to write Maven
> plugin, which should be part of clean task. Can somebody give me any
> hint about oAW or Maven where should I look?
>
> I'm willing to write anything what can help to solve this problem.
>
> TNX
>
> Pavel
>
> PS: Patrik, do we have already some incident about this?
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer


------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to