[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Major refactoring - issues?

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2006-02-10 01:55:42 CET

On 9-Feb-06, at 7:42 PM, Karl Auer wrote:

>>> can drag stuff out of it and drop stuff into it. Why not be able to
>>> rename it, too?
>> The default package is a standard Java concept. It is defined more
>> as the absence of a package, i.e. the fact that there is no package
>> name for the classes that are "in" it. I think it would be
>> misleading to allow it to be treated as if it had a name. The IDE
>> should not create the sort of confusion that such a change could
>> cause.
> By that logic, dragging and dropping into or out of the default
> package
> should also not be supported.

??? Why? You are allowed to change what package you want your class
to be in.

> The point is, I think, that at present creating a named package out of
> the default package is fraught with danger for the versioning
> system if
> not done properly. If a straightforward rename was permitted, this
> danger would not exist; you'd have an intuitive way to convert
> unpackaged sources to members of a package, without risking
> stuffing up
> your versioning.

I disagree, the default package can never have a name and it
therefore makes no sense to "rename" it.

Moving classes to a new package can still be done intuitively.


To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Feb 10 01:56:00 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.