You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Ian Dickinson (Created) (JIRA)" <ji...@apache.org> on 2012/01/17 00:05:39 UTC

[jira] [Created] (JENA-196) LARQ svn includes Eclipse .settings directories

LARQ svn includes Eclipse .settings directories
-----------------------------------------------

                 Key: JENA-196
                 URL: https://issues.apache.org/jira/browse/JENA-196
             Project: Jena
          Issue Type: Bug
          Components: LARQ
            Reporter: Ian Dickinson
            Assignee: Paolo Castagna
            Priority: Minor


I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Paolo Castagna (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188342#comment-13188342 ] 

Paolo Castagna commented on JENA-196:
-------------------------------------

Indeed, it might be that mvn eclipse:eclipse generated the .settings/ directory and content.

                
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Andy Seaborne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188344#comment-13188344 ] 

Andy Seaborne commented on JENA-196:
------------------------------------

I'm not sure that m2e can control the warnings levels in the same way as the incremental parser/compiler in the Eclipse Java editor.  We have per-Eclipse-project settings (e.g. compiler = Java6, warning enabled) not the general Eclipse-wide preferences. I seem to get different warnings in an m2e-controlled project with more detailed warnings in Eclipse - can I make them the same?

There is some point checking in code templates though (ASF bolierplate) which is a ui.prefs thing.

CXF uses;

<cxf.compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</cxf.compile.flags>

so isn't that compiler specific?

.settings/ is a directory with separate files for different aspects.  We can check in some files (e.g. compiler settings) and not other (e.g. UI prefs) if someone wants to spend a moment to work out which is which.

We do need to have someway of communicating the right setup in Eclipse - it helps processing contributions if people have used the same setup although it does not force them to and we get contributions with many warnings.  Unused imports being common; while harmless, it obscures potentially significant warnings.  "no warning" is much easier to work with at scale.

But in LARQ, the only settings are:
.settings/ ==>
total 4
-rw-r--r-- 1 afs afs 333 Oct  7 18:57 org.eclipse.jdt.core.prefs

and that file is:

#Fri Sep 23 14:59:38 BST 2011
encoding//src/test/java=UTF-8
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
eclipse.preferences.version=1
encoding//src/test/resources=UTF-8
org.eclipse.jdt.core.compiler.source=1.6
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
org.eclipse.jdt.core.compiler.compliance=1.6

Ian - what was clashing? (Other modules are decidedly messier.)
                
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Paolo Castagna (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187731#comment-13187731 ] 

Paolo Castagna edited comment on JENA-196 at 1/17/12 3:37 PM:
--------------------------------------------------------------

Ian, is this causing you a specific problem?
We share the .settings, for example, to see all the same "warnings" in Eclipse.

Other Jena modules have the .settings directory checked into SVN, specifically:
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/ARQ/trunk/.settings/
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/Fuseki/trunk/.settings/
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/IRI/trunk/.settings/
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/.settings/
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/SDB/trunk/.settings/
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/TDB/trunk/.settings/
- http://svn.apache.org/repos/asf/incubator/jena/Jena2/jena/trunk/.settings/
                
      was (Author: castagna):
    Ian, is this causing you a specific problem?
We share the .settings, for example, to see all the same "warnings" in Eclipse.
Other Jena modules have the .settings directory checked into SVN.
                  
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Ian Dickinson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187795#comment-13187795 ] 

Ian Dickinson commented on JENA-196:
------------------------------------

Hi Paolo,
I didn't realise that the other projects included .settings. LARQ came to my attention because I had svn conflicts last time I did an svn update. The other projects didn't conflict, so I assumed that they didn't have .settings commited to svn. I guess I should have checked. I can see the rationale for shared warning levels; checking-in uiprefs feels a bit weird. Oh well.
                
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Ian Dickinson (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Dickinson closed JENA-196.
------------------------------

    
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Paolo Castagna (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188337#comment-13188337 ] 

Paolo Castagna commented on JENA-196:
-------------------------------------

I am surprised you had SVN conflicts (by conflict, do you mean your Eclipse IDE changed something in .settings?), the content of .settings in LARQ is pretty limited: http://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/.settings/org.eclipse.jdt.core.prefs:

#Fri Sep 23 14:59:38 BST 2011
encoding//src/test/java=UTF-8
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
eclipse.preferences.version=1
encoding//src/test/resources=UTF-8
org.eclipse.jdt.core.compiler.source=1.6
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
org.eclipse.jdt.core.compiler.compliance=1.6

Happy to remove it if will cause further problems in future.
                
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Benson Margulies (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187734#comment-13187734 ] 

Benson Margulies commented on JENA-196:
---------------------------------------

The problem is that these things are sensitive to eclipse versions and eclipse plugin versions. A more common practice is to use the maven-eclipse-plugin or m2e to auto-generate these settings. Apache CXF has a comprehensive ball of hair that deals with all of this; other people just check in an Eclipse prefs file.

                
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Ian Dickinson (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Dickinson resolved JENA-196.
--------------------------------

    Resolution: Won't Fix
    
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-196) LARQ svn includes Eclipse .settings directories

Posted by "Paolo Castagna (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187731#comment-13187731 ] 

Paolo Castagna commented on JENA-196:
-------------------------------------

Ian, is this causing you a specific problem?
We share the .settings, for example, to see all the same "warnings" in Eclipse.
Other Jena modules have the .settings directory checked into SVN.
                
> LARQ svn includes Eclipse .settings directories
> -----------------------------------------------
>
>                 Key: JENA-196
>                 URL: https://issues.apache.org/jira/browse/JENA-196
>             Project: Jena
>          Issue Type: Bug
>          Components: LARQ
>            Reporter: Ian Dickinson
>            Assignee: Paolo Castagna
>            Priority: Minor
>
> I don't think that the svn image should include Eclipse .settings directory. Personally, I'd prefer the svn didn't include .classpath and .project as well, but definitely not settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira