Java development with an iPhone touch pad for the Atari 2600 from an urban hip-hop perspective

Day: March 22, 2007

Idea Selena can’t read Maven2 generated iml files! I’ve been stumbling over the problem for a while and if it hit you recently I’m gonna help you out. The trick is to generate the file with Selena and overwrite it with Maven2. I’ll be specific.

What I used to do:

Run “mvn archetype:create -DgroupId=blah -DartifactId=wha …” and generate a Java or web project in the current directory.

Run “mvn archetype:create -DgroupId=blah -DartifactId=wha …” and generate a Java or web project in the current directory.

“Create new module” in Idea, find the generated project folder using that same spiffy file dialog.

Let stand for 10-30 seconds

Run “mvn idea:module” (via an Idea external tool setting mapped to my F10 key so really I just hit F10) to rewrite the module descriptor for Idea

Let stand for 30 seconds, enjoy

Better M2 support in Selena would be a big plus here but for now that’s what it takes. If you hit a similar issue and want to vent about it fill in the box below. Your name and contact info will be kept confidential, entrusted to the webservers and kind folks at WordPress. (Although that Matt character looks a little shady, I dunno.)

The source of all code that’s fun

Code like a girlMy Page RankWho links to me?
The opinions expressed here are my own and are not borrowed, stolen, shared, or necessarily understood by my current employer.