Ok if you don't understand the messages do this, before you run "build" in the same terminal session type > set JAVA_HOME=C:\j2sdk1.4.1 [enter]
or whatever the path to your JDK is. you can check you've done it right by doing > %JAVA_HOME%\bin\java -version you'll see a short version message from java. d. > -----Original Message----- > From: JRC [mailto:[EMAIL PROTECTED]] > Sent: 07 September 2002 19:36 > To: James Users List > Subject: Re: Building 2.1a1 problems [was: Re: Hole in SMTP Auth fixed?] > > > i think i need a little building guidence...........what do i do now? > thanks > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\james>build > > James Build System > ------------------- > > Warning: JAVA_HOME environment variable is not set. > If build fails because sun.* classes could not be found > you will need to set the JAVA_HOME environment variable > to the installation directory of java. > > Buildfile: build.xml > > setup-properties: > > prepare: > > prepare-proposal: > > compile: > Compiling 142 source files to C:\james\build\classes > > BUILD FAILED > > C:\james\build.xml:266: Cannot use classic compiler, as it is not > available > A co > mmon solution is to set the environment variable JAVA_HOME to your jdk > directory > . > > Total time: 1 second > C:\james> > > > ----- Original Message ----- > From: "ste" <[EMAIL PROTECTED]> > To: "James Users List" <[EMAIL PROTECTED]> > Sent: Saturday, September 07, 2002 1:17 PM > Subject: Building 2.1a1 problems [was: Re: Hole in SMTP Auth fixed?] > > > > by the way, could anybody please explain how to build the 2.1a1 > > milestone build? > > The build script terminates 'cause it can't find the phoenix-bin/lib > > directory so I also tried creating it myself with the same contents of > > the bin directory from Phoenix4.0beta2 but then the error was: > > build.xml:116: taskdef class > > org.apache.avalon.phoenix.tools.tasks.Sar cannot be found. > > What is the obvious piece of information that I am missing? > > Is it OK to post this question here or should it be addressed to the > > developer's list? > > Thank you, ciao > > ste > > > > ste wrote: > > > :-) I'm using 2.0a3 with SMTPHandler.java from 2.1a1 because > even though > > > I read the friendly manual I wasn't able to build 2.1a1 from sources, > > > but for building 2.0a3 the instructions at: > > > > > > http://jakarta.apache.org/james/install.html > > > > > > step 0 > > > > > > are correct (basically: download a source package, unpack it > and run the > > > build script provided therewith). > > > > > > ciao > > > ste > > > > > > JRC wrote: > > > > > >> how do you rebuild from source? i'd like to try 2.1a1 with the > > >> POP3Handler.java from 2.0a2......or 2.0a2 with the SMTPHandler.java > from > > >> 2.1a1. > > >> > > >> thanks. > > >> > > >> ----- Original Message ----- > > >> From: "ste" <[EMAIL PROTECTED]> > > >> To: "James Users List" <[EMAIL PROTECTED]> > > >> Sent: Saturday, September 07, 2002 12:41 PM > > >> Subject: Re: Hole in SMTP Auth fixed? > > >> > > >> > > >> > > >>> Mike Shoemaker wrote: > > >>> > What is the minimum configuration to use pop3/smtp mail > externally, > > >>> > internally without being an open relay. I would prefer to enable > smtp > > >>> > auth. > > >>> > > > >>> > What portions of the config.xml must I change? > > >>> > > >>> Hi, I am new to James so please take my advice as you would > take alpha > > >>> software, here's how I did, step-by-step: > > >>> > > >>> 1) comment this: > > >>> <mailet match="RemoteAddrNotInNetwork=127.0.0.1" > class="ToProcessor"> > > >>> <processor> spam </processor> > > >>> </mailet> > > >>> > > >>> (it's inside the "processor" element whose "name" attribute is > > >> > > >> > > >> "transport") > > >> > > >>> 2) uncomment this: > > >>> <authRequired>true</authRequired> > > >>> > > >>> (it's inside the "handler" element that is inside the "smtpserver" > > >> > > >> > > >> element) > > >> > > >>> This is enough if you're using the latest milestone build (2.1a1). > > >>> > > >>> I am using James-2.0a3 and in order to get SMTP > authentication to work > > >>> with my mozilla client I had to perform one additional step: > > >>> > > >>> 3) replace the SMTPHandler.java source file in the 2.0a3 build with > the > > >>> same file from the 2.1a1 build and rebuild james from source > > >>> > > >>> Hope this helps, ciao > > >>> ste > > >>> > > >>> > > >>> > > >>> -- > > >>> To unsubscribe, e-mail: > > >> > > >> > > >> <mailto:[EMAIL PROTECTED]> > > >> > > >>> For additional commands, e-mail: > > >> > > >> > > >> <mailto:[EMAIL PROTECTED]> > > >> > > >>> > > >> > > >> > > >> > > >> > > >> -- > > >> To unsubscribe, e-mail: > > >> <mailto:[EMAIL PROTECTED]> > > >> For additional commands, e-mail: > > >> <mailto:[EMAIL PROTECTED]> > > >> > > >> > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
