Re: init-antlet: Non overrideable dirs
Nick Chalko <[email protected]>
| Newsgroups | gmane.comp.krysalis.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: >>The init antlet has this >> <!-- Non overrideable dirs --> >> <property name="dist.dir" value="./dist"/> >> <dirname property="build.dir" file="./build/build.xml"/> >> <property name="work.dir" value="${build.dir}/work"/> >> <property name="temp.dir" value="${work.dir}/temp"/> >> >>I think even these properties should be overridable. >>Take for example the build.dir >>On some unix machines the user's home dir is mounted over the network, >>this can make for very slow compiles. Some people will set >><dirname property="build.dir" >>file="/tmp/${user.name}/${project.name}/build/build.xml"/> >>because /tmp is usually mounted locally. >> >> >> >Ok. I moved the properties, because my property.xml file contains a property >that points to "${build.dir}/whatever" and cannot be resolved if property is >defined after the xmlproperty task. > >Any ideas on handling this dependency? > > > You will have to define ${build.dir} in the property file. Chicken and the egg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click