• 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: trying to filter Properties breaks Eclipse launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maven: trying to filter Properties breaks Eclipse launch


  • Subject: Re: Maven: trying to filter Properties breaks Eclipse launch
  • From: Paul Hoadley <email@hidden>
  • Date: Sun, 25 Jun 2017 16:25:35 +0930

On 25 Jun 2017, at 2:41 pm, Paul Hoadley <email@hidden> 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Maven: trying to filter Properties breaks Eclipse launch (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Maven: trying to filter Properties breaks Eclipse launch
  • Next by Date: Re: New potential project to convert ASP web app
  • Previous by thread: Re: Maven: trying to filter Properties breaks Eclipse launch
  • Next by thread: Application no longer responding after OSX and Server update
  • Index(es):
    • Date
    • Thread