Archive for October 5th, 2009

New Ways of Setting up Packaging Configurations

Monday, October 5th, 2009

IntelliJ IDEA 9 (Maia) brings a more powerful and flexible way to set up packaging configurations (artifacts) for your project. Artifacts are configured in Project Structure dialog:

Output layout of an artifact is displayed in a tree. You can edit it with Alt+Ins and Delete shortcuts, and by using drag-and-drop.

You can build artifact at any time from the main menu (Build | Build Artifact | <artifact name>), or you can automate it with the use of Build on make option in artifact settings, and Build Artifacts option in run configuration settings:

These features will be available in the next Maia EAP (around next Monday). Packaging configurations of existing JavaEE facets are migrated to artifacts automatically.

Bean Validation Support Becomes more Powerful in Maia

Monday, October 5th, 2009

In earlier post about Bean Validation support, we focused on Java related things. In other words, we only talked about Bean Validation support in Java code. IntelliJ IDEA 9 (Maia) also has powerful Bean Validation support in XML descriptors (validation.xml and XMLs describing constraint mappings).

Let’s start from filling out validation.xml. All features like classes/packages completion are working as we’re expecting them to:

And, of course, all standard inspections like wrong class, package or file path also work here. (more…)