[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Eclipse + svn/subclipse + apache dir structure

Chris Gates schrieb:
[...]
Initially i was trying to checkout the single trunk folder. Doing it this way allows all the build files to work correctly.

I then tried checking out each project folder. After setting up the libraries, this lets me edit the code like normal, and eclipse can build the files and everything, but the ant build files no longer work. I beleive that this is because they are missing the common build file that is located in the trunk folder, and so therefore has now not been checked out. I cannot check this out into the workspace to be at the root of the projects, like it is when checking out the whole of the trunk Is there anyway of adding this common build file, or is the only course of action to edit each of the project build files to incorporate the elements of the common one?

Perhaps it helps to check out the trunk so you have only one eclipse project containing the subprojects and then define the subprojects src folders as Source Folders (right-click subproject/src folder->Build Path->Use as Source Folder). This only works if the checked out project (from trunk) has the Java nature. If your trunk does not contain a .project file, you have to checkout with the New Project Wizard and create a Java project.
After you have configured your build path and included all subprojects src folders, you can checkin .project and .classpath to the trunk so you don't need to do that work again and can share your project settings.


Regards
Sebastian