You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michael Bierenfeld <mi...@atmiralis.de> on 2000/05/25 15:14:06 UTC
Repositories for HomeBrewed Classes
Hello
this has been asked by Igor Romanov <ri...@nizhny.ru> (Subject : Cache problem) before but I was not able to find a solution neither in the Mailing list nor in the Cocoon Documentation. We have the same
problem.
We have a some own java classes eg. packaged in xmltools.jar and xmlbeans.jar.
These packages are included in the xsp-pages with
<xsp:structure>
<xsp:include> xmltools.* </xsp:include>
<xsp:include> xmlbeans.* </xsp:include>
</xsp:structure>
We are using cocoon-1.7.4 jserv-1.0. Now, if we do modifications in our own classes we have to restart apache in order apply the modifikations to the application. I know it is somewhat an jserv issue
but what should we do ?
Our wrapper (in jserv.properties) classpath has :
wrapper.classpath=/usr/local/cocoon-1.7.4/bin/cocoon.jar
wrapper.classpath=/usr/local/cocoon-1.7.4/lib/ant.jar
wrapper.classpath=/usr/local/cocoon-1.7.4/lib/stylebook-1.0-b2.jar
wrapper.classpath=/usr/local/cocoon-1.7.4/lib/xerces_1_0_3.jar
wrapper.classpath=/usr/local/cocoon-1.7.4/lib/xalan_1_0_1.jar
wrapper.classpath=/usr/local/cocoon-1.7.4/lib/fop_0_12_1.jar
wrapper.classpath=/home/global/Projekte/classes/xmltools.jar
wrapper.classpath=/home/global/Projekte/classes/xmlbeans.jar
xmltools.jar and xmlbeans.jar are changed quite often. If we remove those jars out of jserv.properties and include them in zone.properties as :
repositories=/usr/local/apache/htdocs/Projekte/classes/xmltools.jar
repositories=/usr/local/apache/htdocs/Projekte/classes/xmlbeans.jar
XSP cannot compile our pages. This fact is somewhat clear to me. Is there any solution for this problem, cause if you are working with more than one person on a projekt restarting apache after each
java-modification is very disturbing to the other people.
Regards
Michael