Kwirirai is dead right. Neither of the "latest" James code drops (james-with-phoenix or without) have the necessary phoenix libs in them. I downloaded them and dropped in the entire phoenix-bin directory from cvs and it now builds fine for me. (Both of them work fine after this treatment.)
I don't know how much of that is strictly necessary, but you certainly need more than is distributed in either of the src drops.
Cheers
ADK
Kwirirai wrote:
Sorry It is just not working out
I unzipped into a new directory and ran build.bat
I did not modify anything ,I just ran the build.bat file
I am getting the error
file:C:/jamessrc21_new/build.xml:136: C:\jamessrc21_new\phoenix-bin\lib
not found.
Kwirirai Nhakwi
Design@7 visual works
2nd Floor, Redbridge South
Eastgate Centre, Sam Nujoma St.
Harare, Zimbabwe Phone +263 - 4 703510, 703170
www.designat7.co.zw
-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 14, 2002 3:49 PM
To: James Developers List
Subject: RE: Error Compiling AvalonMailRepository James 2.1a1-cvs
That classpath looks wrong. The classpath as it is in the shipped
source
is:
set
CLASSPATH=phoenix-bin\lib\xercesImpl-2.0.2.jar;phoenix-bin\lib\xml-apis.
jar;
tools\lib\velocity-1.3-dev.jar;tools\lib\jdom-b7.jar
and is relative to the root of the project.
You are trying to build with absolute classpaths pointing into the
distribution directory, which is the target directory for the build
process.
Please try using the package as it is shipped, and building from the
directory containing build.bat.
--- Noel
-----Original Message-----
From: Kwirirai [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002 2:54
To: 'James Developers List'
Subject: RE: Error Compiling AvalonMailRepository James 2.1a1-cvs
I am not using any other packages I am using this file:
james-with-phoenix-2.1a1-cvs-src.zip .Please tell me if I am doing
something wrong. I am doing it like this
1.make a directory called Jamessrc21
2. unpack the distribution in this directory
3.edit the build script to this
@echo off
echo.
echo James Build System
echo -------------------
set OLD_ANT_HOME=%ANT_HOME%
set ANT_HOME=tools
set OLD_CLASSPATH=%CLASSPATH%
set
CLASSPATH=C:\jamessrc21\dist\james-2.1a1-cvs\lib\xercesImpl-2.0.2.jar;C:
\jamessrc21\dist\james-2.1a1-cvs\lib\xml-apis.jar;tools\lib\velocity-1.3
-dev.jar;tools\lib\jdom-b7.jar;C:\jamessrc21\dist\james-2.1a1-cvs\lib\ph
oenix-client.jar
%ANT_HOME%\bin\ant.bat -emacs %1 %2 %3 %4 %5 %6 %7 %8
goto cleanup
:cleanup
set ANT_HOME=%OLD_ANT_HOME%
set CLASSPATH=%OLD_CLASSPATH%
4.I had to add the missing classpath phoenix-client.jar to make it start
compiling as you can see in the build.bat file
5.edit the build.xml line -commented line 177
6.run the build.bat file
The same errors start occuring
Kwirirai Nhakwi
Design@7 visual works
2nd Floor, Redbridge South
Eastgate Centre, Sam Nujoma St.
Harare, Zimbabwe
Phone +263 - 4 703510, 703170
www.designat7.co.zw
-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 7:00 PM
To: James Developers List
Subject: RE: Error Compiling AvalonMailRepository James 2.1a1-cvs
The required jars should be in the full package. Do not use ANY other
Avalon jars except for the ones provided in the full package.
--- Noel
-----Original Message-----
From: Kwirirai [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 6:10
To: 'James Developers List'
Subject: RE: Error Compiling AvalonMailRepository James 2.1a1-cvs
I downloaded the full package but I still cannot compile the package
using the build script but still get the same types of errors .If I know
the required jars for avalon it would help .
Kwirirai Nhakwi
-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 5:08 AM
To: James Developers List
Subject: RE: Error Compiling AvalonMailRepository James 2.1a1-cvs
Visit http://jakarta.apache.org/builds/jakarta-james/latest/src/ and
download the full package including Phoenix.
You will want to use the build.bat script.
--- Noel
--
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]>
