logo       

Re: workspace structure: msg#00070

java.hudson.user

Subject: Re: workspace structure

Sakke Wiik wrote:
On 1/19/07, Kohsuke Kawaguchi <Kohsuke.Kawaguchi@xxxxxxx> wrote:
But it sounds like what you are asking is to pass in properties to Ant,
which is also doable. See the help of the Ant configuration part of the
project config.

Yes, I want to pass in properties to Ant, but I would like to define
these properties in a way that I don't need to define them in every
job.
Example:
Instead of doing this: "ant target
-Ddatabase-src.dir=<hudson_dir>/jobs/database/workspace/database/src"
in every build, I could define database-src.dir in for example system
configuration. Then I would need to define the path in just one place,
and pass it to ANT like this -Ddatabase-src.dir=${DATABASE_SRC_DIR}.

I know I can do this with environment variables, but in my case it is
not possible.

I see. Can you file this in the issue tracker?


--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi@xxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise