Re: Adding a year to tstamp date

2007-02-09 Thread Joel Klein
[EMAIL PROTECTED] wrote: But the offset isn't applied. When I ${current.fy} I get "2007". Can someone offer me a solution to this? Looks like you can specify the units for offset, so try setting unit to "year". The example from tstamp docs:

Re: Adding a year to tstamp date

2007-02-09 Thread Joel Klein
[EMAIL PROTECTED] wrote: But the offset isn't applied. When I ${current.fy} I get "2007". From the documentation example, it looks like the units of offset are in hours, intended to adjust for timezone. -- Joel Klein [Online at http://jfkbi

Sync task documentation for includeEmptyDirs

2006-12-14 Thread Joel Klein
Is it just me, or is the Sync task documentation wrong when it says the includeEmptyDirs attribute defaults to true? I'm using Ant 1.6.5 and I just had to explicitly set includeEmptyDirs="true" in order for sync to copy empty directories. -- Joel

Re: AW: a problem compiling a Java 5 project with generics

2006-10-18 Thread Joel Klein
;, Generic Java had the type annotations too, and I think they were simply interested in adding that power on top of the popular Java language. -- Joel Klein [Online at http://jfkbits.blogspot.com] - To

Re: Create a dir. named with the current system date

2006-10-16 Thread Joel Klein
ample : Now there's a property init.ymd which holds a string like "2006-10-16". Tstamp itself also creates other properties by default, but as shown you can make your own with the format nested element. -- Joel Klein Online at http://

Re: classsnotfound exception with junit ant task

2006-08-16 Thread Joel Klein
7;t. A simple statement like System.out.println(MyClass.class.getName()) should force it to be loaded so you can confirm whether it can be found or not. Are there by any chance any classloaders involved in this whole mess that could be finding MyClass a different way than the classpath in the test th

Re: Environment variables and mac osx

2004-12-15 Thread Joel
> Having issues with my ant build script finding > environment variables on the mac osx. We are running > 10.3, it works fine on Windows, but on Mac OSX, under > bash or t-shell, they show up when we shell and echo > them out, but they are not getting picked up by ant at > all. 

srcDir and destDir semantics

2004-12-15 Thread Joel
Long question here -- I've been assuming that srcDir in the task essentially sets the directory from which the compile will occur, so that, for instance, the package jp.co.ddcom.sample would reflect a directory structure jp/co/ddcom/sample undernea

Re: Need help understanding dependencies and destdir

2004-12-15 Thread Joel
James Abley wrote > On Wed, 2004-12-15 at 11:42, Joel wrote: > > > For that last part, I think that you need to look at . > > > Have a > > > > > > > > > > > > is not aware of dependencies and inheritance hi

Re: Need help understanding dependencies and destdir

2004-12-15 Thread Joel
> For that last part, I think that you need to look at . > Have a > > > > is not aware of dependencies and inheritance hierarchies. Is supposed to be able to tell when a particular source file is newer than its class file? -- Joel Rees <[EMAIL PROTECTED]

Need help understanding dependencies and destdir

2004-12-13 Thread Joel
The following piece of my build.xml works well buried in a sequential: Except for two things. One, if I add the destdir=${dest} attribute, it does not put any output in the directory tree referenced by ${dest} and it ignores that directory when checking dependenc

Re: Need help understanding dependencies and destdir

2004-12-13 Thread Joel
On Tue, 14 Dec 2004 19:07:21 +0900 Joel <[EMAIL PROTECTED]> wrote > On Tue, 14 Dec 2004 08:14:15 + > James Abley <[EMAIL PROTECTED]> wrote > > > For that last part, I think that you need to look at . > > Where is that documented? (I see a dependset, but I think that'

Re: Need help understanding dependencies and destdir

2004-12-13 Thread Joel
On Tue, 14 Dec 2004 10:21:57 + James Abley <[EMAIL PROTECTED]> wrote > [...] > So, -debug shows that the ${dest} property is being set. Presumably, the > directory exists? Yeah, it's there. I have write permissions, too. I just ran out of time, so I'm going to get

Re: Need help understanding dependencies and destdir

2004-12-13 Thread Joel
ut that. (Thanks!) Setting project property: dest -> D:\data\rees_jefe\horb\object (I don't suppose I should post the whole debug listing?) > On Tue, 2004-12-14 at 07:43, Joel wrote: > > The following piece of my build.xml works well buried i