Datasource definition in iml or ipr?

I'm working with Dan Allen (_Seam in Action_ author) to have seam-gen generate IDEA IntelliJ 8 files and things are going pretty well, there are a couple of things that would be nice to do. One of them is defining the Datasource (url, class, jar, etc) in the iml or ipr file and also telling IntelliJ to use Ant (and which tasks) to build. Can this be done in one of those two files?

7 comments
Comment actions Permalink

Hello Jason,

I'm working with Dan Allen (_Seam in Action_ author) to have seam-gen
generate IDEA IntelliJ 8 files and things are going pretty well, there
are a couple of things that would be nice to do. One of them is
defining the Datasource (url, class, jar, etc) in the iml or ipr file


This is implemented in the latest EAP builds. On creating and copying a data
source you have an option to store the target in .ipr.

and also telling IntelliJ to use Ant (and which tasks) to build.


AFAIK, you cannot replace default Make / Rebuild actions with ant. But you
can explicitly start ant targets from Ant build window, or from main menu
/ Build.

Alexander.


0
Comment actions Permalink

Thanks Alexander. I'm running 8m1, I'll have to try the latest EAP.

0
Comment actions Permalink

EAP 8940 is very sluggish and quite possibly unusable on OS X 10.5.5

0
Comment actions Permalink

Hello Jason,

EAP 8940 is very sluggish and quite possibly unusable on OS X 10.5.5


Any details?
http://support.jetbrains.com/kb/entry.jspa?externalID=192&categoryID=5
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=4&externalID=260

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Turns out I was running out of PermGen space. I saw that in the Console messages. I increased max memory to 512 and PermGen to 256, things are running smoothly now.

0
Comment actions Permalink

Can I only build & compile with ant or will you also pre-configure all facets (web, ejb, ear, seam, jpa) and a run configuration, so that I can simply build and run the project from IDEA itself?

0
Comment actions Permalink

Facets should be detected if you're using 2.1.1.CR1 or better

0

Please sign in to leave a comment.