• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maven with subdirectories within the src/main/components/ path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Maven with subdirectories within the src/main/components/ path
  • From: Mark Wardle <email@hidden>
  • Date: Mon, 10 Oct 2016 19:09:08 +0100

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 <email@hidden> 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 <resources> element to your pom's build element. Each subfolder gets its own <resource> tag.
>
> <build>
>    …
>    <resources>
>        <resource>
>            <targetPath>Resources</targetPath>
>            <directory>
>                ${basedir}/src/main/components/Folder1
>            </directory>
>        </resource>
>        <resource>
>            <targetPath>Resources</targetPath>
>            <directory>
>                        ${basedir}/src/main/components/Folder2
>                    </directory>
>        </resource>
>    </resources>
>    ...
> </build>
>
> - hugi
>
>
>> On 10. okt. 2016, at 07:02, Paul Hoadley <email@hidden> wrote:
>>
>> On 9 Oct 2016, at 8:14 PM, Paul Hoadley <email@hidden> wrote:
>>
>>>> On 6 Sep 2016, at 10:00 PM, Mark Wardle <email@hidden> wrote:
>>>>
>>>> I am getting the following error:
>>>>
>>>> <com.webobjects.appserver._private.WOComponentDefinition> 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      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: Maven with subdirectories within the src/main/components/ path (From: Paul Hoadley <email@hidden>)
 >Re: Maven with subdirectories within the src/main/components/ path (From: Paul Hoadley <email@hidden>)
 >Re: Maven with subdirectories within the src/main/components/ path (From: Hugi Thordarson <email@hidden>)

  • Prev by Date: Re: Maven with subdirectories within the src/main/components/ path
  • Next by Date: Re: Different behavior from ERMD2WEditToOneTypeAhead
  • Previous by thread: Re: Maven with subdirectories within the src/main/components/ path
  • Next by thread: Re: Maven with subdirectories within the src/main/components/ path
  • Index(es):
    • Date
    • Thread