Re: wolifecycle-maven-plugin configuration options

2024-04-06 Thread D Tim Cummings via Webobjects-dev

Hi Samuel

Yes. "flattenComponents" is the correct way of doing this. I can't think 
of a reason not to set this.


For migration notes I use 
https://gist.github.com/hugithordarson/3c269a3196d0c4f2da486f1109c16d42


Regards

Tim

On 7/4/24 06:00, Samuel Pelletier via Webobjects-dev wrote:

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.


true


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/tim%40triptera.com.au

This email sent to t...@triptera.com.au

___
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


wolifecycle-maven-plugin configuration options

2024-04-06 Thread Samuel Pelletier via Webobjects-dev
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.


true


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