Hi Mike!
It's good to hear you're getting close!
I recommend you change the web.xml file (in
glassfish/admin-gui/src/docroot/WEB-INF) to turn on jsftemplating
"debug" mode. Change the "com.sun.jsftemplating.DEBUG" value in the
web.xml to "true".
After that you can do a maven -o build like you mentioned, you may also
want to do a "clean" to start fresh. After a build you'll have to
restart the server.... however, if you just change .jsf files (after
the debug flag is turned on), then you can see the changes
immediately. However, if these files are in a jar file (they are by
default), then you won't be able to change them. You can look at the
deployed version of the files in
AS_HOME/lib/install/applications/admingui/adminGUI_war/.
Optionally, you can deploy the "docroot" directory in the source....
but you need to copy in a few jar files (see the
lib/install/applications/.../WEB-INF/lib/*.jar to see what jar files
should be there. The advantage of deploying your src directory is that
you can modify the changes in the source and see them in the browser
instantly (for .jsf-type changes). Also, I think a simple "ant clean
build" will rebuild the admin gui when setup this way vs. using maven.
Ken
Michael Phoenix wrote:
OK I've got glassfish built and up and running to a point
where I'm ready to start playing with it in order to see how JSF
Templating. From what I understand of this build process, all I need to
do if I want to make code changes to admin-gui and apply them to my
current build is to simply build the admin-gui module as instructed in java.net docs on how to build glassfish by
executing the command "maven build" from the admin-gui folder. Is this
correct or are there other things that I need to do to test the
changes?
Thanks,
Mike
On 4/7/07, Ken
Paulsen <Ken.Paulsen@sun.com>
wrote:
For lots of examples of JSFTemlating, look at the GlassFish admin-gui
source code. There are also some samples checked into JSFTemplating
also.... including a woodstock sample (note: this is a port of the JSP
version and doesn't make use of JFSTemplating features to simplify the
app.
I