12-17-2006 11:43 PM
12-18-2006 11:44 AM
What is the simplest way to compile the PageTag.java file and stuff it back into the installation? In the past on other apps, after setting the appropriate CLASSPATH, etc., I used to simply change the code, compile, and place in a jar.
import java.io.IOException;
import java.io.Writer;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import org.alfresco.web.app.Application;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
So you should be able to compile just the PageTag.java against the; tomcat jars for the servlet classes, apache commons logging jars and the Alfresco webclient.jar from the Alfresco WAR file. The resulting class needs to replace the one in the webclient.jar file inside the Alfresco WAR - so you should be able to unpack the Alfresco WAR, unpack the webclient.jar, replace the class file and pack it all up again. I've done similar unpack, minimum compile and repack operations with other products myself also which all worked ok.12-18-2006 11:49 AM
12-19-2006 11:22 AM
08-21-2007 04:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.