Hi,

My journey to Maven is going well, I ported 2 shared frameworks I use on every 
projects and my first app. There is many subtle details to go pass a "Hello 
world !" app.

My last discovery is a problem with component template in sub directory that 
are not found when deployed. I always use directories to group components, my 
app have 10s of them, one with 213...

After some digging, I found a configuration in wolifecycle-maven-plugin that 
resolved this situation.

<configuration>
        <flattenComponents>true</flattenComponents>
</configuration>

There are some others options available including flattenResources and 
readPatternsets with a basic explanation but no real way to know if they are 
required or desirable and the defaults are disabled.

Is my fix is the correct way to use components in sub directory ?

Is there a reason to have this option disabled by default and in the new 
projects templates ?

Should I also enable flattenResources and readPatternsets ?

BTW, I use the migrations script with few modification from  
https://github.com/getsharp/womavenmigration.

Regards,

Samuel


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to