incubator-wookie-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: [jira] [Created] (WOOKIE-193) Eclipse .classpath file contains mac specific java settings
Date Fri, 01 Apr 2011 12:22:25 GMT
On 01/04/2011 13:04, Paul Sharples wrote:
> On 01/04/2011 12:37, Ross Gardler wrote:
>> .classpath and similar files should not be in SVN. Feel free to remove
>> it and add it to svn:ignore
>
> Okay, but won't that mean that when someone checks out the project, it
> won't be correctly configured in eclipse by default? Surely it would be
> *nicer* to have it in there for eclipse users?

No, everyone has different settings for their local systems. Eclipse 
randomly re-orders things when something gets changed etc.

Local config files should never be in global repositories.

I would expect that if you remove it and add it to svn:ignore in a short 
amount of time when someone updates it will not delete as it will be in 
svn:ignore and thus no longer SVN maintained.

However, you do make a good point, it would be annoying if it didn't 
work that way. Perhaps the best thing to do is post the contents of the 
file, just before you delete it to this list. People can then easily 
re-create.

(this is one big advantage of Maven over Ant, it's rigid structures mean 
it is possible to do mvn eclipse:eclipse, I don't think Ant has an 
equivalent)

Ross

>
>>
>> Ross
>>
>> On 01/04/2011 12:18, Paul Sharples (JIRA) wrote:
>>> Eclipse .classpath file contains mac specific java settings
>>> -----------------------------------------------------------
>>>
>>> Key: WOOKIE-193
>>> URL: https://issues.apache.org/jira/browse/WOOKIE-193
>>> Project: Wookie
>>> Issue Type: Bug
>>> Components: Configuration
>>> Affects Versions: 0.9.1
>>> Environment: Windows (any), but tested against Windows 7 x64 Sp1
>>> Reporter: Paul Sharples
>>> Assignee: Paul Sharples
>>> Priority: Minor
>>> Fix For: 0.9.1
>>>
>>>
>>> When a windows/eclipse user checks out the code from svn, eclipse
>>> reports build errors as the .classpath refers to a specific mac
>>> install of java
>>>
>>> <classpathentry kind="con"
>>> path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM
>>> 1.6"/>
>>>
>>> On windows when i change that to a more generic...
>>>
>>> <classpathentry kind="con"
>>> path="org.eclipse.jdt.launching.JRE_CONTAINER/"/>
>>>
>>> ...everything behaves properly. I dont want to break everyones setup
>>> by commiting this change back, before I can confirm that this update
>>> will also work on macos/eclipse.
>>>
>>> FYI: in my Eclipse setup, under Window->Preferences->Java->Installed
>>> JREs the default JRE points to a 1.6.0_24 instance.
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> For more information on JIRA, see:
>>> http://www.atlassian.com/software/jira
>>
>>
>


-- 
rgardler@apache.org
@rgardler

Mime
View raw message