Hi Ben,
Yes, you can expect that behaviour to remain the same.
maven.src.dir is not what you think it is. You would need to modify
pom.build.sourceDirectory, but this is not recommended.
Why are you changing sources in different environments? Perhaps you
want sourceModifications?
- Brett
On
Anderson [mailto:[EMAIL PROTECTED]
Sent: Freitag, 19. November 2004 15:52
To: Maven Users List
Subject: Re: do something before *.properties files load
Yeah, you're probably right. We should just use maven's inheritance
to sort this stuff out. But this is still throwing me a little. I
want
Message-
From: Poppe, Troy [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 11:03 AM
To: 'Maven Users List'; 'Ben Anderson'
Subject: RE: do something before *.properties files load
I am coming to a similar problem as you, Ben. I can see two possible solutions,
I've yet to decide
, right? ;)
Hope that helps.
Troy
-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 10:44 AM
To: Maven Users List
Subject: Re: do something before *.properties files load
yes, I understand that. But what if I don't want to swap
-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 8:26 AM
To: Maven Users List; Ben Anderson
Subject: Re: do something before *.properties files load
Hi Ben,
Yes, you can expect that behaviour to remain the same.
maven.src.dir is not what you think it is. You would
.
-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 11:44 AM
To: Maven Users List
Subject: Fwd: do something before *.properties files load
-- Forwarded message --
From: Ben Anderson [EMAIL PROTECTED]
Date: Fri
Hi,
I'd like to set a property based on some other command line property.
For instance if:
maven -Denv=qa java:compile
I'd like this:
build.properties
---
some.arbitrary.property=qaValue
but if
maven -Denv=prod java:compile
I'd like this:
build.properties
1) Can I embed jelly in my build.properties files?
The answer to the question you were trying to ask is yes, but to this
specific one, no. Jelly is the XML scripting, JEXL is the expression
language used in Jelly. You can use an expression in build.properties,
but not embed Jelly - just in case