Importing project from jDeveloper 9?

Answered

I wonder if there's a way to import a project from jDeveloper 9 to IDEA 5.0? I'm starting working on a somewhat long-lived project, for which jDeveloper 9 is used as standard. I got permission from the project lead to use IDEA if I'll be able to figure out how not to break jDeveloper compatibility in the process.

The project itself is a large J2EE app, with intermingled EJB and Web parts. They use external Ant build script to build it, and I'm fine with that - I'd like to use IDEA to work on the project sources, not to build it (but building it with IDEA would've been great, of course).

The source tree for the project looks like this:

com
+----package1

+----


ejb

+---- here go ejbs

+----


struts

+--- here goes web part


+----


common

+--- here goes utility classes required by both web and ejb parts

+----package2
+----


ejb
| +-----
+----


struts
| +-----
+----


common
+-----

You get the idea (pun intended). I can always edit this in IDEA as a simple Java project, but then I'll loose auto-updating of web.xml and ejb-jar.xml and all other nice J2EE things which IDEA provides.

IDEA seems to rely on there being only one module under the module's root directory, and all files under it belonging to the said module. However, to be able to create separate EJB and Web Modules, I'll have to somehow tell IDEA which files from the common structure belong to which module, which I haven't found a way to do.

I could re-structure the project to separate EJBs and Web parts into different top-level directories, but then I'll have problems re-applying my work to the existing code base - and, as I've said, compatibility with jDeveloper is mandatory :-(.

Any help will be greatly appreciated. I hate jDeveloper :(.

2 comments

how i can import jdeveloper project into intellij ?

0

Like noted here there is no special migration for jDeveloper projects. Use File | New | Project from Existing Sources action to create new project in IntelliJ IDEA.

0

Please sign in to leave a comment.