Re: do something before *.properties files load

2004-11-18 Thread Brett Porter
> 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

Re: do something before *.properties files load

2004-11-19 Thread Ben Anderson
Thanks Brett. I ran some tests specifying expressions in the project.properties file. It's pretty neat how the properties retain a reference of some kind instead of resolving at the initial assignment. For instance: qb.name=Tommy Maddox best.qb.ever=${qb.name} qb.name=Ben Roethlisberger now be

Re: do something before *.properties files load

2004-11-19 Thread Brett Porter
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 s? - Brett On Fri, 19 Nov 2004 08

Re: do something before *.properties files load

2004-11-19 Thread Ben Anderson
I want to be able to build the source using either my local working directory which I have modified, or vss's shadow directory which contains only checked in files. Same goes for unit tests. On Sat, 20 Nov 2004 00:26:28 +1100, Brett Porter <[EMAIL PROTECTED]> wrote: > Hi Ben, > > Yes, you can e

Re: do something before *.properties files load

2004-11-19 Thread Brett Porter
Can I suggest that you just use project.xml from your local copy or the VSS shadow directory respectively? Does this pose some particular limitation? I do something similar in some cases - having a clean CVS checkout and an in progress checkout. - Brett On Fri, 19 Nov 2004 08:37:55 -0500, Ben An

Re: do something before *.properties files load

2004-11-19 Thread Ben Anderson
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 to be able to create artifacts for various environments w/out changing any files, whether it's renaming or whatever. Does this mean I would have to create a

RE: do something before *.properties files load

2004-11-19 Thread viretp
, 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 to be able to create artifacts for various en

Re: do something before *.properties files load

2004-11-19 Thread Ben Anderson
gs > Pierre > > > > -Original Message- > From: Ben 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

RE: do something before *.properties files load

2004-11-19 Thread Poppe, Troy
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 build.properties files for each environment? I want to the same user, w/out

RE: do something before *.properties files load

2004-11-19 Thread Poppe, Troy
x27;; '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 which fits our setup the best. The first solution is to use Ant's property replacement task.

Re: do something before *.properties files load

2004-11-19 Thread Ben Anderson
kes yet another step to get from code to build, and maybe > it's a > bit difficult to explain to another developer. But you document your build > process perfectly anyway, right? ;) > > Hope that helps. > > Troy > > > > > -Original Message- > F

RE: do something before *.properties files load

2004-11-19 Thread Poppe, Troy
So you deploy different code to different environments? T -Original Message- From: Ben Anderson [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 11:29 AM To: Maven Users List Subject: Re: do something before *.properties files load Neither of those will work, because I want

RE: do something before *.properties files load

2004-11-19 Thread Jean-Marc Lavoie
ubject: Fwd: do something before *.properties files load > > -- Forwarded message -- > From: Ben Anderson <[EMAIL PROTECTED]> > Date: Fri, 19 Nov 2004 11:43:26 -0500 > Subject: Re: do something before *.properties files load > To: "Poppe, Troy" <[

RE: do something before *.properties files load

2004-11-19 Thread Lach, Thierry
gned the final value of "qb.name". -Original Message- 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

Re: do something before *.properties files load

2004-11-19 Thread Ben Anderson
s files load > > > > -- Forwarded message ------ > > From: Ben Anderson <[EMAIL PROTECTED]> > > Date: Fri, 19 Nov 2004 11:43:26 -0500 > > Subject: Re: do something before *.properties files load > > To: "Poppe, Troy" <[EMAIL