[rules-dev] problem with droolsjbpm git repo ?

Geoffrey De Smet ge0ffrey.spam at gmail.com
Fri Mar 22 09:09:21 EDT 2013


Here's the relevant eclipse section:

  *

    Set the correct file encoding (UTF-8 except for properties files)
    and end-of-line characters (unix):

      o Open menu /Window/, menu item /Preferences/.
      o

        Click tree item /General/, tree item /Workspace/

          + Label /Text file encoding/, radiobutton /Other/, combobox
            |UTF-8|.
          + Label /New text file delimiter/, radiobutton /Other/,
            combobox |Unix|.
      o

        Click tree item /XML/, tree item /XML Files/.

          + Combobox /Encoding/: |ISO 10646/Unicode(UTF-8)|.
      o

        Click tree item /CSS/, tree item /CSS Files/.

          + Combobox /Encoding/: |ISO 10646/Unicode(UTF-8)|.
      o

        Open tree item /HTML/, tree item /HTML Files/.

          + Combobox /Encoding/: |ISO 10646/Unicode(UTF-8)|.
      o

        Note: normal i18n properties files must be in |ISO-8859-1| as
        specified by the java |ResourceBundle| contract.

          + Note on note: GWT i18n properties files override that and
            must be in |UTF-8| as specified by the GWT contract.


Op 22-03-13 14:05, Geoffrey De Smet schreef:
> 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20130322/d4f7aa9c/attachment.html 


More information about the rules-dev mailing list