Community
Participate
Working Groups
version: 2.1 M1 Build id: 200306051737 Linux RH7.3 I overwrite the source and output folder" under "window->preferences->java->new project->folders radio button" to my own folders instead of default ECLIPSE_HOME/workspace/ to seperate src from class files. What I input is for src: /home/xzma/Workspace/sources for class: /home/xzma/Workspace/classes I also change the eclipse working dir to /home/xzma/Workspace instead of default EcLIPSE_HOME/workspace. I was expecting the files created in /home/xzma/Workspace/sources for source files and /home/xzma/Workspace/classes for classs files. However, what I got is under ECLIPSE_HOME/workspace/ it creats recursively home/xzma/Workspace/sources/my_project/*.java for source. for class, the same.
One thing to correct: I made one thing wrong in the previous description, I actually forget to change the project folder to /home/xzma/Workspace. But the bug is still there. meaning that when creating file for source or class file, the tool should not create it blindly under the project workspace. Secondly, Eclipse, version 2.1, Build id: 200306051737 does not allow creating more that one porjects under the same dir other than $ECLIPSE_HOME/workspace (when one tries to assign the dir, the error says: ***(the dir) overlaps. The opposit could be a feathure request. So that it provides more flexible. Further, if the dir is not $ECLIPSE_HOME/workspace, eclipse does not create the dir using the project name as it does sweetly under $ECLIPSE_HOME/workspace. Why should it be this way?? Lucky, when it export to file system, the dir with project name is created and make it has nice dir structure. Xiaozheng
You can use linked folders to mount arbitrary directories into Eclipse resource tree. Then if properly configured, you may have generated files be located outside the Eclipse internal filesystem. When creating a folder in Eclipse navigator, look into "Advanced", right below the folder name. Closing.