You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Doug Carter <dc...@mercycorps.org> on 2010/01/13 18:16:04 UTC

The type doesn't support the nested "mapper" element.

Hi all,

I'm having trouble building pdfbox from source, on CentOS 5.4, with Ant
1.6. The build fails with the the error:

downloadfile:
    [mkdir] Created dir: /src/pdfbox-0.8.0-incubating/target/classes/Resources
      [get] Getting: http://issues.apache.org/jira/secure/attachment/12413646/glyphlist.txt
      [get] To: /src/pdfbox-0.8.0-incubating/target/classes/Resources/glyphlist.txt

BUILD FAILED
/src/pdfbox-0.8.0-incubating/build.xml:193: The <unwar> type doesn't support the nested "mapper" element.

---

I've Googled this for 30 minutes and so far don't have a clue on how
to correct it. Can anyone give me a pointer to some docs and/or a fix?

TIA,

Doug



Re: The type doesn't support the nested "mapper" element.

Posted by "Brian L. Matthews" <bl...@gmail.com>.
On 1/13/10 9:16 AM, Doug Carter wrote:
> Hi all,
>
> I'm having trouble building pdfbox from source, on CentOS 5.4, with Ant
> 1.6. The build fails with the the error:
>
> downloadfile:
>      [mkdir] Created dir: /src/pdfbox-0.8.0-incubating/target/classes/Resources
>        [get] Getting: http://issues.apache.org/jira/secure/attachment/12413646/glyphlist.txt
>        [get] To: /src/pdfbox-0.8.0-incubating/target/classes/Resources/glyphlist.txt
>
> BUILD FAILED
> /src/pdfbox-0.8.0-incubating/build.xml:193: The<unwar>  type doesn't support the nested "mapper" element.
>    

According to the ant docs for 1.7.1, a nested mapper element is 
supported on unwar, so I'd guess you just have to upgrade your ant.

Brian