Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] (no subject)

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: shivaken <shivaken AT jcom.home.ne.jp>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] (no subject)
  • Date: Mon, 23 Sep 2002 12:50:41 +0900

On Monday 23 September 2002 06:00, you wrote:
> > > You could modify the .bashrc in skel, or just echo at the end of the
> > > cast what should be added to the classpath and leave it up to the SA.
> >
> > /etc/bashrc is a way for only bash user. (My shell is zsh...)
> > I want support tcsh and zsh.
> > At my machine, I wrote classpath at /etc/classpath. and
> > I set ". /etc/classpath" at /etc/zshrc.
>
> Other spells have similar problems, and I dont think there's a real
> solution. After all, bash needs "export CLASSPATH", tcsh need "set
> CLASSPATH", and I'm sure other shells have other syntaxes (sp?)...

We can support bash, tcsh, zsh and others, in this way.
1. list up direrctories and jars to /etc/classpath.
ex . .:\
$JAVA_BASE/lib/rt.jar:\
$JAVA_BASE/lib/ant.jar:\
...
2. set this line to bashrc and zshrc.
export CLASSPATH=`cat /etc/classpath`
for cshrc
setenv CLASSPATH `cat /etc/classpath`


Thanks

--
-------------------------------
shivaken <shivaken AT jcom.home.ne.jp>
-------------------------------






Archive powered by MHonArc 2.6.24.

Top of Page