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 [Online at http://

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