Affects Version/s: 1.0.0.RC3
Fix Version/s: None
Component/s: @ CORE
Environment:Windows (XP to be specific)
After a plugin is deployed Roo-Dev fails to start with the following error:
This is a problem with a classpath which is caused by the use of "-Djava.ext.dirs" system property in the roo-dev.bat to load addons.
A way to fix this issue is to load addons on the classpath using Java 6 classpath wildwards:
rem Append addons and jre\lib\ext to the classpath, (Java 6+ is required)
Then just remove the use of "-Djava.ext.dirs"
java -Djline.nobell=true -DdevelopmentMode=true %ROO_OPTS% -Droo.home="%USERPROFILE%\roo-dev" -cp %ROO_CP% org.springframework.roo.bootstrap.Bootstrap "classpath:/roo-bootstrap.xml" %*
The only downside to this solution is Java 6+ dependency as it utilizes classpath wildcards.