DWT package mapping?
fraserofthenight at gmail.com
Tue Oct 21 16:38:46 PDT 2008
Frank Benoit wrote:
> At the moment there are these mappings
> org.eclipse.swt -> dwt
> org.eclipse -> dwtx
> 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
More information about the Digitalmars-d-dwt