On 25 Jun 2017, at 2:41 pm, Paul Hoadley <pa...@logicsquad.net> wrote:

>     <resources>
>       <resource>
>         <targetPath>Resources</targetPath>
>         <directory>${basedir}/src/main/resources</directory>
>         <filtering>true</filtering>
>       </resource>
>     </resources>

Removing <targetPath>Resources</targetPath> gets me what I want: resources in 
src/main/resources filtered with substitutions, and whatever Eclipse is after 
under target/classes for a development-mode launch. The built bundle (from ‘mvn 
package’) seems unaffected either way.

Can someone help me understand this? In other projects I’ve used the exact 
syntax above, albeit with Hugi’s hack discussed elsewhere for 
components-in-folders, like this:

    <resources>
      <resource>
        <targetPath>Resources</targetPath>
        <directory>${basedir}/src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
      <resource>
        <targetPath>Resources</targetPath>
        <directory>${basedir}/src/main/components/Admin</directory>
      </resource>
      <resource>
        <targetPath>Resources</targetPath>
        <directory>${basedir}/src/main/components/Analytics</directory>
      </resource>
      ...

But you can see there I’m adding <targetPath>Resources</targetPath>, and I can 
tell you it works for development and deployment. Hugi? Henrique? Bueller?


-- 
Paul Hoadley
http://logicsquad.net/
https://www.linkedin.com/company/logic-squad/


 _______________________________________________
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