Multiple source folders sharing one output folder
I've a legacy project written in eclipse 3.x. It has 3 source folders. When i migrate it to intellij with plugin Eclipse Workspace importerm i see that there is only one output dir that can i set. Actually eclipse has also one output dir per project. But it compiles all files to bin folder under their subfolder. So that, i can get three different output dirs.
How can i configure this in IntelliJ? (I'm using IntelliJ IDEA EAP 6.0.2)
请先登录再写评论。
If you need to have three different output directories, then you have to use three different modules. Put every source folder inside its own module and then specify a different output path for each module.
This is not what i want.
Is there any way to do it? For example, in Eclipse you can do it..
Yes, there is a way. Read my previous post.
It's one output dir per module in IDEA, so Martin's suggestion is the only possible solution (that I know of, at least). I remember looking for a way to map this Eclipse setting into IDEA's modules, but couldn't find one...
HTH,
Andrei
So how can i handle old eclipse projects. I want to use IntelliJ when i editing and testing my java projects.
Any idea?