Re: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Tim Visher
On Mon, Apr 12, 2010 at 1:02 AM, wrote: > '.' in Ant is the dir where the build.xml is. > I tried "ant -find" from deep inside a project structure and "ant -f ..." from > outside and both resolve to the same path. /me blushes. The problem was in a groovy script I'd written. I'd used `.` inste

AW: Enums Support

2010-04-11 Thread Jan.Materne
Enumerations are only supported when writing tasks. For Java <5 you extend EnumeratedAttribute. Its main method (abstract in EA) returns the list of possible values (getValues() is its name I think). With Java5+ you could use Java enums directly. There is no enum in properties (inside the buildfi

AW: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Jan.Materne
'.' in Ant is the dir where the build.xml is. I tried "ant -find" from deep inside a project structure and "ant -f ..." from outside and both resolve to the same path. Jan > -Ursprüngliche Nachricht- > Von: Daniel Becroft [mailto:djcbecr...@gmail.com] > Gesendet: Montag, 12. April 2010

Re: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Daniel Becroft
On Sun, Apr 11, 2010 at 1:53 PM, Tim Visher wrote: > Hello Everyone, > > With `basedir="."`, how is `ant -find` supposed to work? With it set > to `/absolute/path/to/build.xml`, how is the build script supposed to > be box independent? > > We use ant to build our system and I would like to be ab