Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2003

Tip: Looking for answers? Try searching our database.

Using Eclipse - Project Configuration

Thread view: 
Rob Young - 15 Jul 2003 19:04 GMT
I have started using eclipse v2.1.  I have a pre-existing source code
tree which I want to put into an eclipse project.  The directory
sturcture of the source code is Source \ com \ foo \ bar and the
packages under the Source directory is com.foo.bar.  When I imported
this file system it worked fine, but I have to import another source
code tree into the project which has the directory structure of Source
\ mock \ com \ foo2 and the package for these are com.foo2.  However,
when I bring in these files I get errors stating that the expected
package Source.mock.com.foo2 does not agree with package name
com.foo2. Any suggestions on how to import these other source tree
elements.

Thanks
Rob Young
Blondel Christophe - 23 Jul 2003 12:34 GMT
> I have started using eclipse v2.1.  I have a pre-existing source code
> tree which I want to put into an eclipse project.  The directory
[quoted text clipped - 10 lines]
> Thanks
> Rob Young

Did anyone answer to your question ?
Because i have the same problem.
I try to import a project and because the tree source does not
correspond exactly to my package source, i get errors.

Regards,
C.Blondel
Nigel Wade - 23 Jul 2003 12:49 GMT
> I have started using eclipse v2.1.  I have a pre-existing source code
> tree which I want to put into an eclipse project.  The directory
[quoted text clipped - 10 lines]
> Thanks
> Rob Young

Try importing from Source\mock rather than Source (or should that be
Source\mock\com rather than Source\mock). Anyway, try both and hopefully
one will import the packages with the correct source root.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.