|
Re: package name does not match directory name problem during importing [message #55140 is a reply to message #55114] |
Thu, 12 June 2003 06:04 |
Eclipse User |
|
|
|
Originally posted by: chris.javadisciple.com
I had exactly the same problem when I had to import some classes after
reinstalling. I had Eclipse build a "default package" folder and I moved
the sources there, and the problem stopped.
Charles Zhang wrote:
> Hi, some of the classes I'm importing are in a directory "generated" because
> they are automatically generated. However, the package name of these classes
> does not begine with "generated". However, JDT will report all of them as
> error. "Delcared package does not match the expected package name
> generated.blah blah".
>
> Anyone has any clue how to turn this thing off? Thanks.
>
> Charles
>
>
--
Chris Rehm
chris@javadisciple.com
Thou shalt not avenge, nor bear any grudge against the children of thy
people, but shalt love thy neighbour as thyself. [Lev. 19:18]
|
|
|
Re: package name does not match directory name problem during importing [message #55357 is a reply to message #55114] |
Thu, 12 June 2003 14:50 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NOSPAM.us.ibm.com
When you import, on the import page, have in "From Directory" the
"generated" directory, BUT DON'T check the "generated" directory in the
tree that appears below. Instead check the children directories (and any
files on the left hand panel that you also want from "generated"). AND
at the bottom check the "Create Selected Folders Only" radio button.
By doing this it imports only the subdirectories and direct children of
generated without also creating the generated folder.
Rich
|
|
|
|
Powered by
FUDForum. Page generated in 0.03615 seconds