Ant checkstyle issue with IJ saved files

It seems that IJ is saving a stange character when I do a file reformat in IJ.

We use ant:checkstyle and it keeps complaining about issues this:

[ant:checkstyle] /Users/phil/dev/ag/bas_core/trunk/modules/plugins-localization/src/main/groovy/com/softwareag/bas/plugins/LocalizationPlugin.groovy:1: Line does not match expected header line of '^/\*$'.

I'm the only IJ user, so it's only me that causes the problem.  And it's always line 1.

is there a tweak I can do to fix this?

0
1 comment

Hello phil,

http://en.wikipedia.org/wiki/Byte_order_mark

I'd definitely say that not being able to recognize this is a bug in checkstyle.

It seems that IJ is saving a stange character when I do a file
reformat in IJ.

We use ant:checkstyle and it keeps complaining about issues this:


/Users/phil/dev/ag/bas_core/trunk/modules/plugins-localization/src/mai
n/groovy/com/softwareag/bas/plugins/LocalizationPlugin.groovy:1: Line
does not match expected header line of '^/\*$'.

I'm the only IJ user, so it's only me that causes the problem.  And
it's always line 1.

is there a tweak I can do to fix this?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.