I'm not clear on what you are asking. Are you asking how to build it
with GlassFish lib instead of Tomcat, or are you asking on how to deploy
it on GF?
If you want to deploy it on GF, please read the java_setup.html in the
docs directory.
If you asking about how to build it, just point servlet.lib.path to your
GLASSFISH_HOME/lib (or Tomcat/lib) directory. If you look at build.xml,
you will notice that the servlet.lib.path variable refers to the
classpath, so it needs the servlet libraries to compile it. You can
build it with either GF or Tomcat.
Sorry about the defunct reference to 'tomcat.home'. You don't need this
to build it.
In the geocoder/README, there are instructions to set up the geocoder
if you are using tomcat, but no instructions for glassfish. It also
says to set the tomcat.home location, but it doesn't exist. Does it
mean to edit servlet.lib.path to the tomcat/glassfish home directory
or the tomcat/glassfish lib directory?