Hello Everyone,
script command produces a NullPointerException when building project files as follows:
C:\CommandLine\springsource\roo-1.1.0.RELEASE\gwtNoEntities>..\bin\roo.bat
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.1.0.RELEASE [rev 793f2b0]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> script ../samples/gwtNoEntities.roo
project --topLevelPackage com.springsource.foo
Created C:\CommandLine\springsource\roo-1.1.0.RELEASE\gwtNoEntities\pom.xml
Undo failed C:\CommandLine\springsource\roo-1.1.0.RELEASE\gwtNoEntities\pom.xml
Invalid dependency scope: PROV?DED
Script execution aborted
[Timer-0] NullPointerException at org.springframework.roo.classpath.itd.Abstract
ItdMetadataProvider.notify(AbstractItdMetadataProv ider.java:78)
com.springsource.foo roo>
The problem here is directly related to using Turkish as locale. The workaround is switching to English(UK) locale or any other locale that works.
Tested with:
* Windows 7
* JDK 6.2 22u
* STS 2.5.1
* roo 1.1.0
* Java locale: Turkish
Posted as an FYI for roo devs and others who encounter this problem.
Cheers.
Cengiz


Reply With Quote
