|organize Resources [message #652787]
||Sun, 06 February 2011 18:37
Registered: February 2011
im new to eclipse/java dev, so this prob may be easy to solve..
I have a project which i develop on two machines (Win7 / Ubuntu). The project has a lot of resources (images) which are stored in an seperate folder named "res/". I put this folder into the "bin/" directory created by eclipse (mistake..?), so that i have access to the them via URL ("/res/bla.png" for example) from the program.
Well, that works fine but after cloning (via hg) the project to the other computer i loose my "res/" folder after running the project the first time in eclipse. I think the reason is, that eclipse overrides the existing bin folder with its "own", new created "bin/" (with just the *.class- Data).
So here is my question:
How do i have to organize my res/ in eclipse so that i can access them easily from progam AND dont have to worry about loosing my data?
alternativly, is there a way to tell eclipse to use the exitisting bin folder without deleting it (and all the stuff in it)?
thank you in advance
[Updated on: Sun, 06 February 2011 18:55]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02679 seconds