cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject Re: [C2] Precompiled sites
Date Sun, 25 Feb 2001 14:02:47 GMT
If you set your work directory to WEB-INF/classes, then you should be good
to go!

----- Original Message -----
From: Davanum Srinivas <dims@yahoo.com>
To: <cocoon-dev@xml.apache.org>
Sent: Saturday, February 24, 2001 3:15 PM
Subject: Re: [C2] Precompiled sites


> Berin, Team,
>
> 1. Set the CLASSPATH to include all the jars in the xml-cocoon\lib
directory, cocoon.jar,
> tools.jar from JDK
>
> 2. Run the following sample command: (on one line :-)
> "java org.apache.cocoon.Main -c
D:\jakarta\xml-cocoon\build\cocoon\webapp -x
> docs/samples/xsp/simple.xsp docs/samples/forms/employee.xsp"
>
> This will create the following java files and corresponding classes in the
work directory:
> a. org\apache\cocoon\sitemap_xmap.java
> b. org\apache\cocoon\docs\samples\xsp\simple_xsp.java
> c. org\apache\cocoon\docs\samples\forms\employee_xsp.java
>
> Thanks,
> dims
>
> --- Berin Loritsch <bloritsch@apache.org> wrote:
> > Davanum Srinivas wrote:
> > >
> > > Berin,
> > >
> > > How do i pre-compile a site? Can you post the procedure?
> >
> > The procedure is not in place, the framework to allow for
> > consistent naming of generated classes accross installations
> > is in place.  The next step is to modify the command line
> > utility to compile the sitemap and XSP pages and set the
> > Work Directory to $context/WEB-INF/classes.  This has not
> > been done yet.
> >
> > We might be able to go hog wild and create an Ant Task,
> > but I have _no_ experience with that.
> >
> > >
> > > Thanks,
> > > dims
> > >
> > > --- Berin Loritsch <bloritsch@apache.org> wrote:
> > > > The framework is in place for precompiled sites to work.
> > > >
> > > > For some reason, Cocoon didn't like context filenames with
> > > > no parent directories.  I wish I new why.  The good news is,
> > > > we can specify a root package (defaults to "org.apache.cocoon")
> > > > which all classes are compiled into.
> > > >
> > > > As a result of this change, I uncovered some bugs and redundant
> > > > code in the FileStore.  All is well.
> > > >
> > > > Now if only I could get the GeneratorSelector to use the precompiled
> > > > classes....
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > >
> > >
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message