Maven+Jetty+Dojo (and IntelliJ)
I already showed my gratitude towards the ease of rapid development using the jetty-maven-plugin in an earlier post. But now i am even more surprised….
I was working on some new Dojo demos for our courses. Looking for an easy lab environment for these new demos i was experimenting with the jetty-maven-plugin and was amazed by its ease of integrating dojo in your maven/jetty project. I found it here.
Just by adding the following
<dependency>
<groupId>org.dojotoolkit</groupId>
<artifactId>dojo-war</artifactId>
<version>1.3.2</version>
<type>war</type>
</dependency>
It will overlay your web application; just run jetty:run and access http://localhost:8080/dojo
It did not stop there! When i imported the project in IntelliJ it recognized it instanlty:

And i was able to use code completion, jump to source code…
About this entry
You’re currently reading “ Maven+Jetty+Dojo (and IntelliJ) ,” an entry on Sirius ICT
- Published:
- 11.30.09 / 7pm
No comments
Jump to comment form | comments rss [?] | trackback uri [?]