Activity

I have tested a Roo RC2 application on Windows 7 using the vote script inside a directory that contains white spaces and it actually worked flawless. So I guess you must have tried it with XP or Vista.

Anyway, I have committed a fix (rev 389) which should make the TilesIOException more expressive. Please test it and reopen should you encounter further issues.

Stefan Schmidt
added a comment - 06/Nov/09 10:26 AM I have tested a Roo RC2 application on Windows 7 using the vote script inside a directory that contains white spaces and it actually worked flawless. So I guess you must have tried it with XP or Vista.
Anyway, I have committed a fix (rev 389) which should make the TilesIOException more expressive. Please test it and reopen should you encounter further issues.
-Stefan

Christian Dupuis
added a comment - 07/Nov/09 12:30 AM - edited In the comments of http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6506304 you can find an outlined work-around by parsing the File object directly instead of passing the file path as a String.
Maybe that would prevent other users from hitting this bug as you can't require to have the latest JDK 6 installed.
Christian

Stefan would you please install the specific JDK version Christian used (Windows 1.6.0_12) and see if you can execute all of the Roo scripts (clinic, vote, wedding). We really want to ensure Windows works well given ~70% of develoeprs are still on it.

Ben Alex
added a comment - 07/Nov/09 2:17 AM Well spotted, Christian.
Stefan, maybe make line 71:
tilesView = builder.parse(new File(viewFile)); // JDK 1.6 regression workaround as per http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6506304
Stefan would you please install the specific JDK version Christian used (Windows 1.6.0_12) and see if you can execute all of the Roo scripts (clinic, vote, wedding). We really want to ensure Windows works well given ~70% of develoeprs are still on it.

Thanks Christian and Ben for investigating. I have checked in the workaround suggested by Ben (rev 392) and tested it on Win XP with Sun JDK 1.6.0.12. My tests worked fine. Please let me know if there are any further issues.

Stefan Schmidt
added a comment - 07/Nov/09 12:39 PM Thanks Christian and Ben for investigating. I have checked in the workaround suggested by Ben (rev 392) and tested it on Win XP with Sun JDK 1.6.0.12. My tests worked fine. Please let me know if there are any further issues.

Even though Stefan's commit in rev 392 would fix this, I've also added a reference to bug JDK 6506304 to the known issues section of the reference guide and recommended people use the latest Java 1.6 for their platform.

Ben Alex
added a comment - 07/Nov/09 7:57 PM Even though Stefan's commit in rev 392 would fix this, I've also added a reference to bug JDK 6506304 to the known issues section of the reference guide and recommended people use the latest Java 1.6 for their platform.