DWT package mapping?

Frank Benoit keinfarbton at googlemail.com
Tue Oct 21 22:41:08 PDT 2008


Robert Fraser schrieb:
> Frank Benoit wrote:
>> At the moment there are these mappings
>>
>> org.eclipse.swt -> dwt
>> org.eclipse     -> dwtx
>>
>> Symbols:
>> SWT             -> DWT
>> SWTError        -> DWTError
>> SWTException    -> DWTException
>> ...
>>
>> But there are more candidates for the dwt project.
>>
>> com.novocode    -> ??
>> com.ibm.icu     -> ??
>> org.osgi        -> ??
>>
>> Where to put them?
>> And the rule for renaming should be consistent and open to new packages.
>> But why do renaming anyway? Is it really that hard to type? Can IDEs and
>> collective imports help?
>>
>> What also is bad about the renaming, is that it must be done all over
>> again. That is time consuming when preparing Java source.
>>
>> So I think... What about changing all the renaming back to the original?
>> Would that work? What do you think?
> 
> I would say even if you rename the imports, don't rename the project
> (i.e. the website, logo, etc.). DWT is a catchy name, even if using
> "DWT" requires you to import something in org.swt

Yes, that is not what i want. I am just thinking about the package name
and symbols.


More information about the Digitalmars-d-dwt mailing list