Random bits of information by a developer

23 October 2008

Seam generates IDEA IntelliJ project files

For those using Seam, you've probably seen the announcement that Seam 2.1.0.GA has been released. Work continues at a fast pace for Seam 2.1.1. Dan Allen (Seam in Action author) and I have been working on generating the IDEA IntelliJ module and project files for IntelliJ 8 aka Diana, which has Seam support (check out their screen cast detailing the support, I think you'll be impressed). The initial versions were just checked in yesterday. The next time you run seam create-project you will have Eclipse, Netbeans and IntelliJ project files. For those that wish to tweak the iml and ipr file they're in the seam-gen/ide-project-files/idea directory. Dan continues to work on seam-gen so stay tuned for more announcements. There are a couple of minor issues with it, but nothing an experienced IntelliJ user can't deal with (like XSDs for the namespaces in the XHTML pages, setting up the correct JDK, tying together the JPA files with a Datasource, etc). Please download trunk and let us know! Feel free to leave comments on the JIRA issue.

5 comments:

philip said...

I'm going to try out the IntelliJ project gen now, sounds good ... hope it works from the latest seam source

philip said...

Works!

Steps were:
svn co http://anonsvn.jboss.org/repos/seam/trunk seam

then

ant build

then set up PATH variable

then do the normal seam generation of project and the IntelliJ project was just sitting there in the folder, nice. I use purchased version of IntelliJ8.

Lightguard said...

Good to hear Philip. I'm hoping we can things a little better with the datasource password and also where IntelliJ dumps the class files when it builds. There is no easy way to tell IntelliJ to use ant Ant build file unfortunately, you have to do that part on your own.

Dan Hayes said...

Anyone have the actual xml schema for RichFaces/Ajax4Jsf? I can't find it anywhere on the web and it is the only one IntelliJ is having trouble locating in the library jars. I am seeing RED in my XML editor :-)

Lightguard said...

You may have to create your own schema. If you can find a tld for it then search for facelets-xsd and you should find an XSLT to create an XSD from the TLD.