IntelliJ 9, Glassfish 2.1.1 & Maven2
- by Xetius
I have a Maven2 project which I am editing in IntelliJ IDEA 9.0.2. I am trying to build it and debug it within a Glassfish 2.1.1 container.
This is only working sometimes. Occasionally it is giving me an error, telling me it can't deploy. Other times, it deploys, but does not run the filtering on the POM, not replacing a variable in the sun-web.xml file (and other container specific files) leaving it as ${targetenv} instead of replacing it with the value it should.
I think I am missing something here, and have something very confused, but I have no idea what.
Any help would be most gratefully received.