cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Myers <phan...@stserv.hcf.jhu.edu>
Subject Re: Disabling Batik for Cocoon
Date Mon, 26 Nov 2001 02:32:43 GMT
I know this has been answered in the users list plenty of times and that this
is a high traffic list.  Maybe  it's time to add this to the install document, 
because if you are using  headless X, which many cocoon1 users were it's bound
to come up when making the switch to cocoon2.

Anyway,

>From www.eteks.com you can get an awt replacement that doesn't need X.  

http://www.eteks.com/pja/en   It's gpl'd so i don't think it can be included in the
distribution.  Of course, GPL is fine to use since i'm not distributing anything.

Unpack the jars into a place where jdk will be able to use them-- 
$JAVAHOME/JRE/classes works.

Then add to your tomcat startup script
export CATALINA_OPTS='-Dawt.toolkit=com.eteks.awt.PJAToolkit \
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \
-Djava.awt.fonts=/usr/local/jdk/jre/lib/fonts/'

(catalina_opts if it's 4, tomcat_opts if it's 3 and all the svg wonders
should now work headless.

Should i xmlize this and submit a patch to something?
Tim Myers


On Sun, Nov 25, 2001 at 05:38:21PM -0800, Carlos Araya wrote:
> Good evening:
> 
> Is there a quick way of disabling batik. What else, if anything, should I
> look at disabling/removing to get cocoon not to require the X-server
> dependency?
> 
> Thanks
> 
> 
> -- 
> Carlos E. Araya
> ---+ WebCT Administrator/Trainer
>  G | California Virtual Campus
>  - | C/O De Anza College
>  P | 21250 Stevens Creek Blvd
> ---+ Cupertino, CA 95014
> 
> email               carlos@cvc.edu
> web                 http://www.cvc1.org/ (work)
>                     http://www.silverwolf-net.net (personal)
> phone               408 257 0420 (work)
> PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
> 
> Paradoxically, a refusal to 'put a monetary value on life' means that
> life is often undervalued.
> -- Artificial Intelligence: A Modern Approach
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message