Gradle WebProject Deploys in NetBeans

I had a small breakthrough with supporting Gradle Web Projects. It is now possible to run a web application from NetBeans with a configured Application Server. There are restrictions though:

  • The Application Server shall be  a Glassfish
  • The project shall have a WEB-INF/glassfish-web.xml with proper context root setup.

Due to some strange bugs/features in NetBeans, trying Tomcat results in NPE, deploying the application without glassfish-web.xml results that the application is always deployed in /WEB-INF context root.

This slideshow requires JavaScript.

The current solution actually try to deploy the war instead of an exploded directory. The absence of this exploded webapp makes NetBeans a bit cranky.

This entry was posted in gradle, netbeans, Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s