Set the correct file encoding (UTF-8 except for properties files) and end-of-line characters (unix):
Click tree item General, tree item Workspace
UTF-8.Unix.Click tree item XML, tree item XML Files.
ISO
10646/Unicode(UTF-8).Click tree item CSS, tree item CSS Files.
ISO
10646/Unicode(UTF-8).Open tree item HTML, tree item HTML Files.
ISO
10646/Unicode(UTF-8).Note: normal i18n properties files must be in ISO-8859-1
as specified by the java ResourceBundle
contract.
UTF-8 as specified by the
GWT contract.Check if your IDE settings are compatible with our defaults.
Eclipse:
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#developing-with-eclipse
IntelliJ:
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#developing-with-intellij
Basically, line endings should be "\n" (except for .bat files).
99% of the files are "\n" line endings.
Recently, a few new files in the drools repo snook in with a different line ending, but those files need have a dos2unix.
Op 22-03-13 13:11, Cristiano Gavião schreef:
Hello,
I would like to discuss a problem that I'm facing with the git repositories from droolsjbpm when using it with eclipse Jgit/Egit.
The problem is that after import the projects into eclipse IDE and 'shared them with git', all files seems to be modified.
I could find the same type of problem here:
http://stackoverflow.com/questions/8227233/the-is-nothing-changed-but-eclipse-egit-keep-to-marked-the-file-as-changed
The worst is if I do a "format" in the code file, seems as the entire file have changed. :(
As I use MacOS I've setup my system core.autocrlf with 'input' as stated here: https://help.github.com/articles/dealing-with-line-endings
I've been using egit for a long time and I only face this kind of problem with droolsjbpm repos.
What kind of SO and IDE do you guys use at RedHat ?
Any of you had this kind of problem? any tip how to deal with ?
thanks and regards,
Cristiano
_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev