forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Reducing Forrest build time
Date Tue, 09 Aug 2005 23:35:09 GMT
On Tue, 2005-08-09 at 10:23 +0200, Juan Jose Pablos wrote:
> Diwaker Gupta wrote:
> > As Forrest grows and becomes more complex, we really have to watch out for the 
> > build times, and think of ways to reduce the build time. I was doing a build 
> > today of site-author, and it took ** 35 minutes **
> 
> I notice as well that the core.log goes huge, this is from the freshsite:
> 
> cheche@opositor:/var/tmp/fs/build/webapp/WEB-INF/logs$ du -sh core.log
> 123M    core.log
> 

Yes, I think that it was deployed with DEBUG on.

If you start forrest run you will see something like:
01:29:27.409 EVENT  Checking Resource aliases
01:29:28.379 EVENT  Starting Jetty/4.2.19
01:29:28.594 EVENT  Started WebApplicationContext[/,Apache Forrest]
01:29:28.693 EVENT  Initializing Apache Cocoon 2.2.0-dev
01:29:28.820 WARN!! Delete existing temp dir /tmp/Jetty__8888__ for
WebApplicationContext[/,Apache Forrest]
DEBUG   2005-08-10 01:29:30.248 [net.sf.e] (): Creating new CacheManager
with config URL:
jar:file:/guada/home/thorsten/apache/forrest-trunk/lib/core/cocoon-2.2.0-dev-r230820.jar!/org/apache/cocoon/components/store/impl/ehcache.xml
DEBUG   2005-08-10 01:29:30.281 [net.sf.e] (): Configuring ehcache from
URL:
jar:file:/guada/home/thorsten/apache/forrest-trunk/lib/core/cocoon-2.2.0-dev-r230820.jar!/org/apache/cocoon/components/store/impl/ehcache.xml
DEBUG   2005-08-10 01:29:30.323 [net.sf.e] (): Disk Store
Path: /tmp/Jetty__8888__/cache-dir/
DEBUG   2005-08-10 01:29:30.393 [net.sf.e] (): Index
file /tmp/Jetty__8888__/cache-dir/cocoon-ehcache-1.index created
successfully
DEBUG   2005-08-10 01:29:30.440 [net.sf.e] (): cocoon-ehcache-1 Cache:
Using SpoolingLinkedHashMap implementation
DEBUG   2005-08-10 01:29:30.440 [net.sf.e] (): initialized MemoryStore
for cocoon-ehcache-1
DEBUG   2005-08-10 01:29:30.441 [net.sf.e] (): Initialised cache:
cocoon-ehcache-1
01:29:30.779 EVENT  Apache Cocoon 2.2.0-dev is up and ready.
01:29:30.883 EVENT  Started SocketListener on 0.0.0.0:8888
01:29:30.883 EVENT  Started org.mortbay.jetty.Server@12152e6

We have to build cocoon again (with: compiler.debug=off), I guess.

WDYT?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message