I'm looking over the differences between run.sh and run.bat, and it
looks like the classpath was not updated in run.sh. With the new way
Avalon works, you shouldn't have an Avalon.jar (if you do, you probably
need to run ant clean and build again, or you're not working against the
latest version).
The jar's I have in my lib directory are: activation.jar,
AvalonAware.jar, dnsjava.jar, mail_1_1_3.jar, xerces_1_1_1.jar, and then
in the bin directory is Loader.jar. If you can modify run.sh to include
all these jars, hopefully it should work. I'm running on Windows in
front of me and wouldn't be able to test the unix script anytime in the
near future (very busy at work).
Also, again please check that you have the latest copy... you shouldn't
have an Avalon.jar file and shouldn't need to get anything outside of
the JAMES CVS tree to get it running.
Hopefully there are enough clues to get it running (or to the next
problem).
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
devrim baris acar wrote:
>
> Hi,
> As you have told i have downloaded ANT and i have successfully built
> JAMES.jar.
> But still I could not make the james run from the CVS repository.
> The problem is that the run.sh script uses org.apache.avalon.Main class to
> run the james but this class does not exist in the Avalon.jar file i have
> downloaded
> from the CVS repository(extracted and looked into).
> Maybe you have changed the name.
>
> I would be pleased if you have helped me.
> Thanks anyway.
>
> By the way I am planning to write a webmail project on the james based on
> servlets.
>
> >Behalf Of Serge Knystautas
> > Subject: Re: compile
> >
> >
> > The files we put on the site for download are prepackaged and should run
> > in place, so we hadn't thought to write up something on compiling. If
> > you're interested in building JAMES from CVS, we're using ANT, which I
> > think most of the Java Apache and all of the Jakarta and XML (java)
> > projects are using. Get it from the tools download on
> > jakarta.apache.org. Once you get that installed, JAMES should be self
> > evident how to build.
> >
> > Serge Knystautas
> > Loki Technologies
> > http://www.lokitech.com/
> >
> > devrim baris acar wrote:
> > >
> > > I have downloaded the cvs repository of James.I want to compile
> > it myself.
> > >
> > > Can you tell me the steps?
> > >
> > > Idea: Why don't you put a installation sentence that could
> > guide guys like
> > > me?
> > >
> > > Thanks in advance.
> > >
> > > Baris Acar
> >
> >
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/>
Problems?: [EMAIL PROTECTED]