Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Hugi Thordarson
>> You can add each subfolder in your “components”-folder as a resource folder. 
>> It’s a pretty horrifying workaround, though and I think we should change the 
>> wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in 
>> the components directory should always be flattened by default).
> 
> Great idea. Do we press on in wocommunity/wolips?

I think the best way to start out is to invoke Henrique and check if he has 
input—he’s probably the one who has the most experience working on wolifecycle 
and probably has an educated opinion.

But I think the way forward is to move the maven plugins into a separate 
repository from WOLips (work that  Henrique has already started).

Henrique… you there?


>> But for the workaround; add the  element to your pom's build 
>> element. Each subfolder gets its own  tag.
> 
> Nice one.

:)

- hugi
 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Paul Hoadley
On 11 Oct 2016, at 2:15 AM, Hugi Thordarson  wrote:

> You can add each subfolder in your “components”-folder as a resource folder. 
> It’s a pretty horrifying workaround, though and I think we should change the 
> wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in the 
> components directory should always be flattened by default).

Great idea. Do we press on in wocommunity/wolips?

> But for the workaround; add the  element to your pom's build 
> element. Each subfolder gets its own  tag.

Nice one.


-- 
Paul Hoadley
http://logicsquad.net/



 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Mark Wardle
Thanks Hugi , that's great - as I have only a handful of directories so 
certainly a reasonable workaround. I'm definitely going to try this soon!

Mark

-- 
Dr. Mark Wardle
Consultant Neurologist, Cardiff, UK
(Sent from my mobile)


> On 10 Oct 2016, at 16:45, Hugi Thordarson  wrote:
> 
> You can add each subfolder in your “components”-folder as a resource folder. 
> It’s a pretty horrifying workaround, though and I think we should change the 
> wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in the 
> components directory should always be flattened by default).
> 
> But for the workaround; add the  element to your pom's build 
> element. Each subfolder gets its own  tag.
> 
> 
>…
>
>
>Resources
>
>${basedir}/src/main/components/Folder1
>
>
>
>Resources
>
>${basedir}/src/main/components/Folder2
>
>
>
>...
> 
> 
> - hugi
> 
> 
>> On 10. okt. 2016, at 07:02, Paul Hoadley  wrote:
>> 
>> On 9 Oct 2016, at 8:14 PM, Paul Hoadley  wrote:
>> 
 On 6 Sep 2016, at 10:00 PM, Mark Wardle  wrote:
 
 I am getting the following error:
 
  No template 
 found for component 
 
 for components held within subdirectories of src/main/components/  There 
 isn’t a problem for .wo directories stored directly in src/main/components.
 
 Is there any way of supporting such an organisation?
>>> 
>>> Did you find a work-around for this?
>> 
>> Anyone else? Are people using Maven[1] just using a flat structure under 
>> src/main/components, or is there some work-around we’re missing here?
>> 
>> [1] I’m assuming the intersection of that group with this list is non-empty. 
>> Are there actually any WO-Maven people still here?
>> 
>> 
>> -- 
>> Paul Hoadley
>> http://logicsquad.net/
>> 
>> 
>> 
>> 
>> ___
>> 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/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 
> 
> ___
> 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/mark%40wardle.org
> 
> This email sent to m...@wardle.org

 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Hugi Thordarson
You can add each subfolder in your “components”-folder as a resource folder. 
It’s a pretty horrifying workaround, though and I think we should change the 
wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in the 
components directory should always be flattened by default).

But for the workaround; add the  element to your pom's build 
element. Each subfolder gets its own  tag.


…


Resources

${basedir}/src/main/components/Folder1



Resources

${basedir}/src/main/components/Folder2



...


- hugi


> On 10. okt. 2016, at 07:02, Paul Hoadley  wrote:
> 
> On 9 Oct 2016, at 8:14 PM, Paul Hoadley  wrote:
> 
>> On 6 Sep 2016, at 10:00 PM, Mark Wardle  wrote:
>> 
>>> I am getting the following error:
>>> 
>>>  No template found 
>>> for component 
>>> 
>>> for components held within subdirectories of src/main/components/  There 
>>> isn’t a problem for .wo directories stored directly in src/main/components.
>>> 
>>> Is there any way of supporting such an organisation?
>> 
>> Did you find a work-around for this?
> 
> Anyone else? Are people using Maven[1] just using a flat structure under 
> src/main/components, or is there some work-around we’re missing here?
> 
> [1] I’m assuming the intersection of that group with this list is non-empty. 
> Are there actually any WO-Maven people still here?
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> 
> 
> 
> 
> ___
> 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/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.is


 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Paul Hoadley
On 9 Oct 2016, at 8:14 PM, Paul Hoadley  wrote:

> On 6 Sep 2016, at 10:00 PM, Mark Wardle  wrote:
> 
>> I am getting the following error:
>> 
>>  No template found 
>> for component 
>> 
>> for components held within subdirectories of src/main/components/  There 
>> isn’t a problem for .wo directories stored directly in src/main/components.
>> 
>> Is there any way of supporting such an organisation?
> 
> Did you find a work-around for this?

Anyone else? Are people using Maven[1] just using a flat structure under 
src/main/components, or is there some work-around we’re missing here?

[1] I’m assuming the intersection of that group with this list is non-empty. 
Are there actually any WO-Maven people still here?


-- 
Paul Hoadley
http://logicsquad.net/




 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Paul Hoadley
On 10 Oct 2016, at 7:50 AM, Mark Wardle  wrote:

> I was probably just shy of getting it all to work but I had spent too long by 
> that point and put it to one side as a challenge for another day…

I’m getting some T-shirts made up with that on them. We can all wear them 
together.


-- 
Paul Hoadley
http://logicsquad.net/




 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Mark Wardle
Sorry Paul. I was probably just shy of getting it all to work but I had spent 
too long by that point and put it to one side as a challenge for another day…

That said, I have adopted maven for another project (non-WO) and am finding it 
very powerful so I will probably try again [once you’ve someone has fixed this 
subdirectory issue!!!  ;)  ]  Not keen on flattening by component 
subdirectories…

Mark

> On 9 Oct 2016, at 10:44, Paul Hoadley  wrote:
> 
> Hi Mark,
> 
> On 6 Sep 2016, at 10:00 PM, Mark Wardle  wrote:
> 
>> I am getting the following error:
>> 
>>  No template found 
>> for component 
>> 
>> for components held within subdirectories of src/main/components/  There 
>> isn’t a problem for .wo directories stored directly in src/main/components.
>> 
>> Is there any way of supporting such an organisation?
> 
> Did you find a work-around for this?
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> 
> 
> 

 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Paul Hoadley
Hi Mark,

On 6 Sep 2016, at 10:00 PM, Mark Wardle  wrote:

> I am getting the following error:
> 
>  No template found 
> for component 
> 
> for components held within subdirectories of src/main/components/  There 
> isn’t a problem for .wo directories stored directly in src/main/components.
> 
> Is there any way of supporting such an organisation?

Did you find a work-around for this?


-- 
Paul Hoadley
http://logicsquad.net/




 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-09-06 Thread Henrique Prange
Hi Hugi,

The code is there. How it’s organized is kinda of weird, though. I’ve created a 
new branch called maven-plugins-current [1]. It points to the last commit 
related to the Maven plugins. You can start from that point if you want. Or 
even better, you could start from a branch on my own fork [2] that already 
includes some fixes.

Anyway, if you want to make changes to the Maven plugins, I would highly 
recommend to extract the code into their own projects. I’ve started this task 
as you can see [3], but I didn’t find the time to finish it. Maybe I can take 
another look since the community interest on that matter has been growing 
lately.

[1]https://github.com/wocommunity/wolips/tree/maven-plugins-current/maven2 

[2]https://github.com/hprange/wolips/tree/maven-archetypes-fix 

[3]https://github.com/hprange/webobjects-maven-plugin 


Cheers,

Henrique

> On 6 de set de 2016, at 10:07, Hugi Thordarson  wrote:
> 
> Doesn’t look like it’s supported in the current Maven plugin. We should fix 
> that—does anyone know where the current code for maven-wolifecycle-plugin 
> resides? All I can find online is the plugin code in the WOLips GitHub 
> repository, but that’s 6 years old code (and labeled version 2.1 when the 
> current version is 2.3-SNAPSHOT).
> 
> Cheers,
> - hugi
> 
> 
> 
>> On 6. sep. 2016, at 12:30, Mark Wardle > > wrote:
>> 
>> Dear all,
>> 
>> I am slowly making progress in my switch to maven. I still think it is worth 
>> it.
>> 
>> I am getting the following error:
>> 
>>  No template found 
>> for component 
>> 
>> for components held within subdirectories of src/main/components/  There 
>> isn’t a problem for .wo directories stored directly in src/main/components.
>> 
>> Is there any way of supporting such an organisation?
>> 
>> Mark
>> 
>> 
>> ___
>> 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/hugi%40karlmenn.is 
>> 
>> 
>> This email sent to h...@karlmenn.is 
> 
> 
> ___
> 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/hprange%40gmail.com 
> 
> 
> This email sent to hpra...@gmail.com 
 ___
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

Re: Maven with subdirectories within the src/main/components/ path

2016-09-06 Thread Hugi Thordarson
Doesn’t look like it’s supported in the current Maven plugin. We should fix 
that—does anyone know where the current code for maven-wolifecycle-plugin 
resides? All I can find online is the plugin code in the WOLips GitHub 
repository, but that’s 6 years old code (and labeled version 2.1 when the 
current version is 2.3-SNAPSHOT).

Cheers,
- hugi



> On 6. sep. 2016, at 12:30, Mark Wardle  wrote:
> 
> Dear all,
> 
> I am slowly making progress in my switch to maven. I still think it is worth 
> it.
> 
> I am getting the following error:
> 
>  No template found 
> for component 
> 
> for components held within subdirectories of src/main/components/  There 
> isn’t a problem for .wo directories stored directly in src/main/components.
> 
> Is there any way of supporting such an organisation?
> 
> Mark
> 
> 
> ___
> 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/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.is


 ___
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