Re: Maven: trying to filter Properties breaks Eclipse launch
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