portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: How to build a war-file for ssoportlet of JS2?
Date Mon, 25 Sep 2006 23:39:27 GMT
Michael Boss wrote:
> Hi,
> 
> I wish to make for SSOWebContentPortlet.java (from JS2.1-dev under
> \jetspeed\components\web-content\src\java\org\apache\jetspeed\portlet\)
> war-file and further to deploy it on a portal (not JS2).
> For this purpose I have created an ANT-script and will connect necessary
> libraries:
> portlet-api-1.0.jar
> jetspeed-api-2.1-dev.jar
> jetspeed-commons-2.1-dev.jar
> portals-bridges-common-1.0.jar
> portals-bridges-velocity-1.0.jar
> commons-codec-1.3.jar
> commons-httpclient-3.0.1.jar
> commons-logging-1.0.3.jar
> jetspeed-components-2.1-dev.jar
> jetspeed-rewriter-2.1-dev.jar - I have created it with a maven (maven
> java:jar)
> jetspeed-web-content-2.1-dev.jar
> velocity-1.4.jar
> dom4j-1.6.1.jar
> 
> But at compilation I receive an error:
> C:\Entwicklung\ssoportlet>ant webapp
> Buildfile: build.xml
> prepare:
> compile:
>    [javac] Compiling 2 source files to
> C:\Entwicklung\ssoportlet\WebApp\WEB-INF\classes
>    [javac]
> C:\Entwicklung\ssoportlet\src\ssoportlet\SSOWebContentPortlet.java:234:
> cannot access org.apache.velocity.context.Context
>    [javac] file org\apache\velocity\context\Context.class not found
>    [javac]             getContext(request).put(SSO_EDIT_FIELD_PRINCIPAL,
> context.getRemotePrincipalName());

We also use velocity 1.4 in the demo app, where the SSOWebContentPortlet 
example is built.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message