I found out that to build log4cxx you should have a patch executable in your path, on Windows you don't always/normally have that. But it is included in Cygwin (in the package patch  ;-)    http://www.cygwin.com/). It's needed to apply apr-1.1.0.patch .
Well that's all.

on 2005-03-02 10:25 Björn Carlsson wrote:
I have now tried to build log4cxx using ANT, and I must say it was very nice. I made a little batch file to assist me:

for VS6

set CLASSPATH=%BEDEV%\libs\cpptasks.jar
call d:\VS6\VC98\Bin\VCVARS32.BAT
call C:\Program\apache-ant-1.6.2\bin\ant.bat  %1 %2 %3 %4 %5

and for VS.NET 2003

set CLASSPATH=%BEDEV%\libs\cpptasks.jar
call "c:\program\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat"
call C:\Program\apache-ant-1.6.2\bin\ant.bat %1 %2 %3 %4 %5

and without any parameters it builds the static debug configuration, and with clean as parameter the built files are deleted.
If you want to find some more parameters look in build.xml
I just thought this could help some other Ant newbies.
I do get a few unit test errors, but more about that in next mail.
And a little more information from:  http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=509

--
/Björn Carlsson
VersionSupport.com


No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 2005-03-01



No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.4 - Release Date: 2005-03-07

Reply via email to