<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Here's the relevant eclipse section:<br>
<br>
<ul>
<li>
<p>Set the correct file encoding (UTF-8 except for properties
files) and end-of-line characters (unix):</p>
<ul>
<li>Open menu <em>Window</em>, menu item <em>Preferences</em>.</li>
<li>
<p>Click tree item <em>General</em>, tree item <em>Workspace</em></p>
<ul>
<li>Label <em>Text file encoding</em>, radiobutton <em>Other</em>,
combobox <code>UTF-8</code>.</li>
<li>Label <em>New text file delimiter</em>, radiobutton <em>Other</em>,
combobox <code>Unix</code>.</li>
</ul>
</li>
<li>
<p>Click tree item <em>XML</em>, tree item <em>XML Files</em>.</p>
<ul>
<li>Combobox <em>Encoding</em>: <code>ISO
10646/Unicode(UTF-8)</code>.</li>
</ul>
</li>
<li>
<p>Click tree item <em>CSS</em>, tree item <em>CSS Files</em>.</p>
<ul>
<li>Combobox <em>Encoding</em>: <code>ISO
10646/Unicode(UTF-8)</code>.</li>
</ul>
</li>
<li>
<p>Open tree item <em>HTML</em>, tree item <em>HTML Files</em>.</p>
<ul>
<li>Combobox <em>Encoding</em>: <code>ISO
10646/Unicode(UTF-8)</code>.</li>
</ul>
</li>
<li>
<p>Note: normal i18n properties files must be in <code>ISO-8859-1</code>
as specified by the java <code>ResourceBundle</code>
contract.</p>
<ul>
<li>Note on note: GWT i18n properties files override that
and must be in <code>UTF-8</code> as specified by the
GWT contract.</li>
</ul>
</li>
</ul>
</li>
</ul>
<br>
<div class="moz-cite-prefix">Op 22-03-13 14:05, Geoffrey De Smet
schreef:<br>
</div>
<blockquote cite="mid:514C570C.2080903@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Check if your IDE settings are compatible with our defaults.<br>
Eclipse:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#developing-with-eclipse">https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#developing-with-eclipse</a><br>
IntelliJ:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#developing-with-intellij">https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#developing-with-intellij</a><br>
<br>
Basically, line endings should be "\n" (except for .bat files).<br>
99% of the files are "\n" line endings.<br>
Recently, a few new files in the drools repo snook in with a
different line ending, but those files need have a dos2unix.<br>
<br>
<div class="moz-cite-prefix">Op 22-03-13 13:11, Cristiano Gavião
schreef:<br>
</div>
<blockquote cite="mid:514C4A7C.7080307@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hello,<br>
<br>
I would like to discuss a problem that I'm facing with the git
repositories from droolsjbpm when using it with eclipse
Jgit/Egit.<br>
<br>
The problem is that after import the projects into eclipse IDE
and 'shared them with git', all files seems to be modified.<br>
I could find the same type of problem here: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/8227233/the-is-nothing-changed-but-eclipse-egit-keep-to-marked-the-file-as-changed">http://stackoverflow.com/questions/8227233/the-is-nothing-changed-but-eclipse-egit-keep-to-marked-the-file-as-changed</a><br>
<br>
The worst is if I do a "format" in the code file, seems as the
entire file have changed. :(<br>
<br>
As I use MacOS I've setup my system
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<strong>core.autocrlf</strong> with 'input' as stated here: <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://help.github.com/articles/dealing-with-line-endings">https://help.github.com/articles/dealing-with-line-endings</a><br>
<br>
I've been using egit for a long time and I only face this kind
of problem with droolsjbpm repos.<br>
<br>
What kind of SO and IDE do you guys use at RedHat ?<br>
<br>
Any of you had this kind of problem? any tip how to deal with ?<br>
<br>
thanks and regards,<br>
<br>
Cristiano<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a></pre>
</blockquote>
<br>
</body>
</html>