You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Chris Williams <ch...@yahoo.com> on 2005/02/01 03:43:38 UTC

Build problem using ant off of CVS HEAD

I am trying to use ant on Solaris 9 and getting the following error.

$ ant
Buildfile: build.xml
os-detect:
win-init:
unix-init:
init:
config-check:
unix-prep:
check-config-msvc:
prep-config-msvc:
win-prep:
prep:
build-log4cxx:

BUILD FAILED
/disk11/projects/logging-log4cxx/build.xml:220: The <cc> type doesn't
support the nested "project" element.

Total time: 6 seconds

Any idea why this error could be occurring?  I am using ant 1.6.2 and have
the ant-contrib and cctask jars in the ant lib directory.

Thanks
Chris


Re: Build problem using ant off of CVS HEAD

Posted by Curt Arnold <ca...@houston.rr.com>.
The Ant build uses the CVS HEAD version of cpptasks.  I'm also an admin 
there so I'll release a new cpptasks before log4cxx 0.9.8 is released.


On Jan 31, 2005, at 8:43 PM, Chris Williams wrote:

> I am trying to use ant on Solaris 9 and getting the following error.
>
> $ ant
> Buildfile: build.xml
> os-detect:
> win-init:
> unix-init:
> init:
> config-check:
> unix-prep:
> check-config-msvc:
> prep-config-msvc:
> win-prep:
> prep:
> build-log4cxx:
>
> BUILD FAILED
> /disk11/projects/logging-log4cxx/build.xml:220: The <cc> type doesn't
> support the nested "project" element.
>
> Total time: 6 seconds
>
> Any idea why this error could be occurring?  I am using ant 1.6.2 and 
> have
> the ant-contrib and cctask jars in the ant lib directory.
>
> Thanks
> Chris
>