Notes for those interested, here is how I build plexus.
From there I got jetty to run inside plexus, but stop there. I couldn't load summit.

Is there any demos/applications using summit already?

David

- create a "src" directory in plexus-components
- put "saaj-api.jar" in my classpath (maven should load it instead)
- execute "maven"
- build a directory structure such like
- bin
- conf
- logs
- webapps
- create a startup script such like
CLASSPATH=
CLASSPATH="$CLASSPATH":../lib/plexus-0.2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-jetty-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-manager-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-messenger-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-persister-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-pull-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-scheduler-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-summit-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-velocity-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-workflow-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/plexus-xmlrpc-1.0-alpha-2.jar
CLASSPATH="$CLASSPATH":../lib/avalon-framework-4.0.jar
CLASSPATH="$CLASSPATH":../lib/commons-io-0.2.jar
CLASSPATH="$CLASSPATH":../lib/commons-lang-1.0.jar
CLASSPATH="$CLASSPATH":../lib/log4j-1.2.6.jar
CLASSPATH="$CLASSPATH":../lib/jetty-4.1-rc6.jar
CLASSPATH="$CLASSPATH":../lib/servletapi-2.3.jar
CLASSPATH="$CLASSPATH":../lib/jasper-compiler.jar
CLASSPATH="$CLASSPATH":../lib/jasper-runtime.jar
CLASSPATH="$CLASSPATH":../lib/commons-logging-1.1-dev.jar
java -Dplexus.home=../ -classpath $CLASSPATH org.apache.plexus.Plexus ../conf/plexus.xml
- put all depencies in the lib folder
- create a plexus.xml config file

<plexus>
<load-on-start>
<service role="org.apache.plexus.jetty.ServletContainer" id="jetty"/>
</load-on-start>

<!--
|
| Loggers
| Sinks
|
| Directing particular loggers to sinks.
|
-->

<logging>

<!-- LoggerManger -->
<logger-manager-type>log4j</logger-manager-type>

<!-- Loggers -->

<logger>
<id>root</id>
<appender-id>default</appender-id>
<priority>INFO</priority>
</logger>

<!-- Appenders -->

<appender>
<id>default</id>
<type>file</type>
<type-configuration>
<file>${plexus.logs}/plexus.log</file>
<append>true</append>
</type-configuration>
<threshold>INFO</threshold>
<layout>pattern-layout</layout>
<conversion-pattern>%-4r [%t] %-5p %c %x - %m%n</conversion-pattern>
</appender>
</logging>

<resources>
<component-repository>${plexus.home}/components</component-repository>
<jar-repository>${plexus.home}/app-lib</jar-repository>
<directory>${plexus.home}/conf</directory>
</resources>

<components>

<!--
|
| Id'd Jetty ServletContainer component.
|
-->
<component>
<id>jetty</id>
<role>org.apache.plexus.jetty.ServletContainer</role>
<implementation>org.apache.plexus.jetty.JettyServletContainer</ implementation>
<version></version>
<configuration>
<host>localhost</host>
<port>8080</port>
<webappsDirectory>../webapps</webappsDirectory>
<extractWars>true</extractWars>
<stopGracefully>true</stopGracefully>
</configuration>
</component>

<!--
|
| Anonymous Jetty ServletContainer component.
|
<component>
<role>org.apache.plexus.jetty.ServletContainer</role>
<implementation>org.apache.plexus.jetty.JettyServletContainer</ implementation>
<version></version>
<configuration>
</configuration>
</component>
-->

</components>
</plexus>




On Wednesday, February 19, 2003, at 09:26 PM, Pete Kazmier wrote:

David Worms writes:
David> I haven't looked at plexus for a while and it seems to have
David> move form its "zenplex" cvs repository. Does someone know how
David> to get it?

Plexus has been moved to the eng.werken.com machine and the repository
has been split up into 'plexus-container' and 'plexus-components'. The
following CVSROOT will get you to the repos (anonymous password is
empty, just hit return):

   :pserver:[EMAIL PROTECTED]:/cvsroot/plexus

For those of you that aren't familiar.  Plexus is an avalon-like
component container runtime.  In its simplest form, Plexus manages the
lifecycle of a set of components.  It can be used for any number of
things from a web application framework (like Summit) to a runtime for
Maven.  Summit is a Turbine-like web application framework that runs
within Plexus.  Its basically Turbine but its guts have been turned
into components.  Both of which are currently under development. For
those interested in Summit, you'll find it in the plexus-components
repository.

Thanks,
Pete


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to