|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Using sonar1.9.2 facing build error while executing PMD pluginHi,
I'm using Sonar 1.9.2 & maven 2.1.0 and executing a project. When the PMD plugin gets executed I'm getting an error like [INFO] [pmd:pmd] [WARNING] Error while parsing E:\CommonCodes\common-codes-jar\src\main\java\**\**\**\**\**\*.java: Encountered "<EOF>" at line 417, column 35. Was expecting one of: <IDENTIFIER> ... "..." ... [WARNING] Error while parsing E:\CommonCodes\common-codes-jar\src\main\java\**\**\**\**\**\*.java: Encountered "<EOF>" at line 806, column 43. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "false" ... "float" ... "int" ... "long" ... "new" ... "null" ... "short" ... "super" ... "this" ... "true" ... "void" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <HEX_FLOATING_POINT_LITERAL> ... <CHARACTER_LITERAL> ... <STRING_LITERAL> ... <IDENTIFIER> ... "(" ... "{" ... "!" ... "~" ... "++" ... "--" ... "+" ... "-" ... ..... Strangely the same code if i run it in a different machine I'm not facing this issue Have anyone faced the same kind of issue ? If so pls help me out to solve this issue. The machine where the code is not working contains family name as "dos" while running the maven command : mvn -version C:\Documents and Settings\701177>mvn -version Apache Maven 2.1.0 (r755702; 2009-03-19 00:40:27+0530) Java version: 1.5.0_08 Java home: C:\Program Files\Java\jdk1.5.0_08\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "dos" whereas in the machine where the code is working contains family name as "windows" while running the maven command : mvn -version C:\Documents and Settings\701177>mvn -version Apache Maven 2.1.0 (r755702; 2009-03-19 00:40:27+0530) Java version: 1.5.0_08 Java home: C:\Program Files\Java\jdk1.5.0_08\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" Pls help me to solve this issue. Regards, Srini |
|
|
Re: Using sonar1.9.2 facing build error while executing PMD pluginHello Srini,
What character do you have at that position ? I think you issue has been fixed in 1.10 with SONAR-948. Can you try to upgrade ? Olivier On Wed, Nov 11, 2009 at 8:41 AM, k_cnoo <srinivasan.kannaiyan@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |