Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » [Eclipse] Keeping workspace and project separate + ant integration.(eclipse workspace seperate project folder build.xml integration)
[Eclipse] Keeping workspace and project separate + ant integration. [message #660599] Sat, 19 March 2011 18:49
simou  is currently offline simou Friend
Messages: 1
Registered: March 2011
Junior Member
Hey,

when I used to do my development with Eclipse (a looong time ago) I think that was my basic setup:

------------------------------------------------------------ -----------
My own project folder holding: build.xml + source files + jar libraries

Eclipse workspace folder with: .classpath, IDE stuff, etc.
------------------------------------------------------------ ------------


If I remember it correctly I used to do all incremental builds with
Eclipse but I also had my build.xml from the project folder
visible in the ant view. So any server deployment, DB setups
and unit testing activities were handled directly via the build.xml
or the ant view. There was only 1 build.xml and of course only 1
project/source tree. But they were separate from the workspace.
I simply forgot how I did it though:(

Yesterday I wanted to come back to Eclipse and I started
out with a small hibernate project from scratch, i.e. again project
folder containing source files, libraries, hiberbnate configs and
a build.xml. Then I told Eclipse to import the existing project
from the build.xml. What happened was that E copied my
build.xml into its workspace. And now the build.xml can't find the
source tree anymore because the source files are still under my
project folder (my build.xml uses only relative paths)

Can anyone please help remember what I did before to achieve
a clean separation between workspace and project folder?
There must be a common solution I hope.

Many thanks!

dissclaimer: I asked a similar Q on stackoverflow, but I think
this board should have a stronger focus on Eclipse.

http:// stackoverflow.com/questions/5358407/eclipse-how-to-keep-proj ect-source-files-and-ant-build-xml-seperate-from-eclipse
Previous Topic:How to disable the "open declaration/implementation" popup menu
Next Topic:How to mitigate test class which uses too much memory?
Goto Forum:
  


Current Time: Thu Apr 25 23:25:48 GMT 2024

Powered by FUDForum. Page generated in 0.02368 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top