Hi Thorsten,
I understood it was the plugin that was generating the file that could
not be parsed. But may be it can be interesting to check where the
characters are. It can be strings extracted from your code. For instance
you get a method name with this char or a classname with this char in
the xml file, then you can consider to check the source file. If it is
somewhere else, I have no idea (may be developpers of the plugin will
have some ;) ).
Since I'm not a surefire developer, it is possible that what I say is
not right but it sounds very strange to me that the plugins introduces
forbidden characters.
And a last remark: are your files created under windows ? I see that you
have windows path but if file is created under linux, may be you could
encounter problems with some characters (I had such a problem with
termination character a long time ago...).
Hope this will help you to understand what your problem can be.
Boris
Thorsten Heit a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Boris,
Some tracks may be about your problem:
* Do you an IDE to edit your files ? If not, Eclipse detects "unusual"
characters and may be it could be helpful here. I know that I sometimes
generated special characters with a key combination that I've never
understood and eclipse was detecting them at once.
Yes, but the XML files the plugin complains about are generated by
surefire itself, not by me..
* I guess you use local as en_US since I see this: Generate an index
file for the English version ?
* Do you have a special local set when writing your files ?
I'm using "-Xmx256m -Duser.language=en -Duser.country=US" in MAVEN_OPTS,
that's all.
* If you make a checkout of the code, do you have special options when
checking out ?
* If you still have the faulty files (xml ones I mean) may be you can
launch under cygwin (you are under windows from what I see): cat -A file
which will show you all characters in the file and may be you can detect
some undesired characters...
See above: The files are generated by surefire itself, not by me..
* you say that some files "do not work". Tests are failing ? they were
running fine on another machine ? if yes, how were they ran ? manually ?
from an ide ?
Oh, no, that's unfortunately normal: Some of our developers should be
beaten because their unit tests don't work anymore for some unknown
reason...
Regards
Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFELAaTQvObkgCcDe0RAqwTAKCwb2ZPBEus38aW24d+uNJhpJf+dgCg6yLn
EnctxC5Vdg1MGTGBD5Pwoc8=
=WZoO
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]