Is this a "so what?", or a "how so?"? :)

I'll assume the second one:

Actually it was, "so, why do you care?". What does this pattern buy you besides losing time, duplicating files on your hard driver (ie. potential confusion), ...

IDEA collects the relevant data and copies or compiles it into the
directory `exploded/' which contains the `WEB-INF/'. So `exploded/' is
practically the whole compiled application, ready to be wrapped into a
`.war'.

So I kindof fail to imagine a way to keep my `*.java' files under
`WEB-INF/classes' and stay somehow consistent with IDEA's intended use
patterns.

If you do, enlighten me please. :) Maybe I'm just grossly missing the
point...

I'd strongly prefer to just symlink my `exploded/' into
Why?

It appears...cleaner to me. The "*.java" files are clearly seperated
from the result.

What is the result? Which separation are you looking for? Also, don't forget that for anyone that uses Windows and that has to inherit your project or work with it, symlinking doesn't work at all. We actually initially had a symlink approach for the jumpstart, but it's narrowly targeted at only unix-like operating systems.

Anyway, if there'll ever anyone search a solution for this problem,
JetBrains already answered me:

--8<---------------cut here---------------start------------->8---
Create source directory e.g. 'resources', move your sub-directories in
that place.
--8<---------------cut here---------------end--------------->8---

The files are now twice inside (once next to WEB-INF and once where it
belongs to) but yet it works fine and I can do my symlink magic. :)

Sorry to say so, but this feels horribly wrong to me. Why would you want your entire source directory to live in an artificial directory called resources? To me this sounds like a case of the IDE standing in your way and forcing you to adopt your source layout to a certain layout.

Anyway, if you're happy with your setup now, that's the most important part ;-)

Take care,

Geert

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to