Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-20-2009, 12:27 AM
Member
 
Join Date: Jan 2009
Posts: 3
Rep Power: 0
Katherine is on a distinguished road
Default Adding existing items to a project
How can Eclipse add existing to a project? I have multiple files located in different folders I need to add. I would rather have Eclipse link to these files than create new ones.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 01-20-2009, 03:56 AM
Steve11235's Avatar
Senior Member
 
Join Date: Dec 2008
Posts: 972
Rep Power: 2
Steve11235 is on a distinguished road
Default
I understand what you want to do, but I would suggest against it, even if it is possible. I don't think Eclipse will work with links.

Even if it did, your development source is split into different locations, which makes keeping everything synchronized more difficult.

I generally create a new project, and then copy the existing source files into the project src folder.

Have you looked into Subversion? It's a tool for source code control. TortoiseSVN is a great implementation for Windows.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-20-2009, 05:08 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Yes Steve, in most of the IDE courage to do this as you said. Few months back I got a chance to participate for a seminar about NetBeans, and expertise there also advice to follow the same way you suggest here.

For Subversion I prefer CollabNetSubversion and the latest is 1.4.6-4
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-20-2009, 05:21 AM
Steve11235's Avatar
Senior Member
 
Join Date: Dec 2008
Posts: 972
Rep Power: 2
Steve11235 is on a distinguished road
Default
I glanced at CollabNetSubversion, and it looks very nice.

Since I am stuck in the Windows world, I like TortoiseSVN, since it adds capabilities through Windows Explorer. That way, I can manage my source without using an IDE.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 01-20-2009, 05:23 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Actually I'm not a Linux user. But in few of my project I've to work on with Windows as well as Linux and Mac. CollabNetSubversion is really great in that sense.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
open existing project project .. itaipee Eclipse 1 12-28-2008 09:12 PM
Adding recieved items to Server repository. nel636 New To Java 1 11-28-2008 02:46 PM
Launch configuration EclipseStarter references non-existing project... Aruz Eclipse 0 10-15-2008 08:57 PM
Converting an existing project to an EclipseME project JavaForums Java Blogs 0 06-23-2008 10:41 AM
Adding items to a jComboBox tronovan New To Java 0 08-08-2007 09:48 AM


All times are GMT +2. The time now is 11:34 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org