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)

5 comments
Comment actions Permalink

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.

0
Comment actions Permalink

This is not what i want.

Is there any way to do it? For example, in Eclipse you can do it..

0
Comment actions Permalink

Yes, there is a way. Read my previous post.

0
Comment actions Permalink

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

0
Comment actions Permalink

So how can i handle old eclipse projects. I want to use IntelliJ when i editing and testing my java projects.

Any idea?

0

Please sign in to leave a comment.