Precompiling JSPs in Eclipse
November 26, 2005 3:20 PM
Subscribe
How do I precompile JSP pages in Eclipse?
I have tried Googling and search the Eclipse help. I don't want to precompile in the server, but rather in the IDE. And I tried just adding them to the build path, but nothing happened.
(I want to skip the load/request part of testing to hit errors earlier)
posted by andrew cooke to computers & internet (4 comments total)
Admittedly, I don't know much about JSP, but maybe this is why the Eclipse project hasn't attempted this?
That said, it sounds like there's a command-line precompiler. And the Eclipse folks themselves seem to have punted on JSP entirely. They point people to IBM's platform instead.
So, two thoughts:
1. Your only hope is probably an Eclipse JSP plugin that includes a JSP "builder". Builders are the part of the Eclipse IDE that perform compilation and syntax checking. Try Googling around for something like "Eclipse 'jsp plugin' builder precompile" or some combination of those words.
But I doubt such a thing exists. If it did, it would migrate into Eclipse itself pretty quickly.
2. If I were in your shoes, I'd give Nitrox a whirl to see where that led me. They seem to have thought about issues like this.
posted by maschnitz at 5:25 PM on November 26, 2005