> 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
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
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
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
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
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
, 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
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
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
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.
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
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
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" <[
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
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
15 matches
Mail list logo