Hey Guys,
An update on the very slow progress of the Java5 upgrade..
- Ant Replace Task - used to replace the admin key in junit html files.
After trying with no luck, I can't seem to find a solution for the problem
with the Replace task. I've read a couple of mailing lists that say there
was a bug in 1.6.2 with replacing in Windows. Anyway, the problem still
exists that the replace task (version 1.6.5) works with Java 1.4 and not
Java 1.5. Solution: unknown. We still need this functionality though.
- Unit Tests.. after commenting out that replace task in the
build.utils.xml, I was able to run all the unit tests successfully (with
the exception of the current unit test failure for the Build Sensor
Installer code).
- In Eclipse 3.1 and with Java5 there are a couple hundred warnings. For
example, "local variable never read". Essentially, it is a local variable
that doesn't do anything. There are a couple of other warning types that I
had to disable in Eclipse. Not to mention, the newest version Checkstyle
just disabled a check for local variables!
- I haven't started hacking build.xml code to conditionally build Hackystat
with Java 1.4 or Java 1.5.
- Of course many compile warnings still exist.
Eclipse 3.1 Issue:
- Known Issue with Jupiter and possibly the Jupiter Sensor in Eclipse 3.1.
Unfortunately, the unit tests still pass. Upon some investigation it seems
that Jupiter uses 3.1 jar files and both hackyEclipse and hackyJupiter have
3.0 jar files. Not sure what that means. Also, some of the 3.0 jar files
in hackyEclipse and hackyJupiter are redundant.
thanks, aaron