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)

0
5 comments
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

This is not what i want.

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

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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.