You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2005/09/01 00:47:30 UTC
Using Lenya Access Controller as an isolated component
Hi
I am currently trying to use the Lenya Access Controller as an isolated
component.
I have managed to compile it with the following dependencies, which
might be of interest to you:
<path id="classpath.lenya.net">
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/log4j-1.2.11.jar"/>
</path>
<path id="classpath.lenya.util">
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/log4j-1.2.11.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/tools/jetty/lib/servlet-2.3.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/cocoon-2.1.8-dev.jar"/>
</path>
<path id="classpath.lenya.xml">
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/jing-20030619.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/log4j-1.2.11.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/xml-commons-resolver-1.1.jar"/>
</path>
<path id="classpath.lenya.ac">
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/avalon-framework-api-4.1.5.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/avalon-framework-impl-4.1.5.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/cocoon-2.1.8-dev.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/commons-codec-1.3.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/endorsed/jakarta-regexp-1.4.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/excalibur-sourceresolve-1.1.jar"/>
<pathelement
location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/jcifs-mock.jar"/>
<fileset dir="build/classes/org/apache/lenya/xml">
<include name="**.class"/>
</fileset>
<fileset dir="build/classes/org/apache/lenya/util">
<include name="**.class"/>
</fileset>
<fileset dir="build/classes/org/apache/lenya/net">
<include name="**.class"/>
</fileset>
</path>
There were suggestions that we offer Lenya as a jar, whereas I think we
should
go one step further and offer the various components as jars if possible
(Access Controller, Workflow, ...) because this would allow to re-use
Lenya also within other application and not just within Lenya itself.
Thanks
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Using Lenya Access Controller as an isolated component
Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
> Michael Wechner wrote:
>
>> Hi
>>
>> I am currently trying to use the Lenya Access Controller as an
>> isolated component.
>> I have managed to compile it with the following dependencies, which
>> might be of interest to you:
>
>
>> location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/cocoon-2.1.8-dev.jar"/>
>
>
>
> The access control component relies on a Cocoon environment because the
> authentification / authorization is based on Cocoon requests.
>
> To be usable in a non-Cocoon environment, it would need a redesign.
I think this would make sense, because it would be great if one could
re-use Lenya's components without the "rest". It seems to me that Lenya
should allow attaching different user interface, e.g. CLI, desktop
application and
web interface.
Michi
>
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Using Lenya Access Controller as an isolated component
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Hi
>
> I am currently trying to use the Lenya Access Controller as an isolated
> component.
> I have managed to compile it with the following dependencies, which
> might be of interest to you:
> location="/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/lib/cocoon-2.1.8-dev.jar"/>
The access control component relies on a Cocoon environment because the
authentification / authorization is based on Cocoon requests.
To be usable in a non-Cocoon environment, it would need a redesign.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org