On Feb 28, 2007, at 6:22 PM, Stephen Bartnikowski wrote:
Hello,
Is there a way to tell the ant build to not build apr and apr-util?
For
example, I already have apr and apr-util installed from the
distribution iso
but I'm getting build errors building apr-util during the log4cxx
ant build.
I'm assuming not since someone asked a similar question on the
user's list a
few months ago, but maybe something's changed.
I'm trying to a build a log4cxx SVN snapshot that's a few months
old on a
OpenSuSE 10.2 PowerPC.
Thanks!
Steve
The build file skips the "build-apr" and "build-aprutil" targets if
the "apr-available" and "aprutil-available" properties are set.
Those properties are set in the "init" task based on the presence (or
lack of) a static library at the expected location. You may try:
ant -v -Dapr.dir=/path_to_apr -Daprutil.dir=/path_to_aprutil build-
aprutil
and check the output to see what is going on in evaluating those
properties.