DWT package mapping?
oaalto at gmail.com
Tue Oct 21 23:43:16 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 vote for keeping the original names completely. A decent IDE will
generate the needed imports for you anyway, so you don't have to type them.
More information about the Digitalmars-d-dwt