"allow output folders for source folders" won't stay checked [message #720432] |
Tue, 30 August 2011 11:21  |
Eclipse User |
|
|
|
I recently had to reinstall eclipse on a new pc and have been trying to set up my project for over a week. I have run into many problems. Just when I finally thought I had everything figured out, now the "allow output folders for source folders" will not stay checked in the build properties. This was the only way I could get my errors to go away since I am declaring variables in outside classes. I finally had my project building error free after discovering this checkbox. But then I realized my project had to be a "dynamic web project" in order to set up tomcat. So I started a new project from SVN using the dynamic web project option. Now this checkbox will not stay checked and I get all these 'cannot be resolved to a variable' errors. I check the box and hit 'ok' nothing happens (normally the errors would immediately be fixed) and I go to the project properties again and the box has unchecked itself. No matter what I do it will not stay checked. Is there a way to fix this?
|
|
|
|
|
|
|
|
Re: "allow output folders for source folders" won't stay checked [message #1009244 is a reply to message #720432] |
Thu, 14 February 2013 13:43   |
Eclipse User |
|
|
|
Hi, I have realized how to fix it. We are normal people and think that "compile into src dir" means that output will go into a corresponding src dir. Eclipse is different. When you say it "compile" it creates anouther option, called "tell me your target directory". So, "allow output folders for source folders" just shows you "Output folder: (locaion)" option. Since location is (default) by default, and you do not change the location, the option is hidden next time you open the dialog. So, once you ticked the "allow output folders for source folders", you do not mention the new target location options. Yet, you must specify em in the source folders that you do not want to go to bin.
The checkbox "compile into source" is actually misleading rather than useful. It is a bug to have it. Why to hide the target location option at all?
[Updated on: Thu, 14 February 2013 14:12] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.07499 seconds