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 <h...@karlmenn.is> 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 <pa...@logicsquad.net> wrote: >> >> On 9 Oct 2016, at 8:14 PM, Paul Hoadley <pa...@logicsquad.net> wrote: >> >>>> On 6 Sep 2016, at 10:00 PM, Mark Wardle <m...@wardle.org> 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 (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