Hey Thomas, hey Luis,

thanks, you where right, the class path (var CP) is set to an old ant
version. Fixed it by using my own installed one.

Thx
Marcel

On 22 October 2015 at 16:21, Thomas Behr <thomas.b...@yworks.com> wrote:

> Hi Marcel,
>
> my guess would be that the build script actually uses some very old ANT
> version instead of version 1.9.4. AFAIK, build.sh is very outdated and has
> stuff like "use ANT 1.6.5" in there. (The attribute "flattenattributes" has
> been introduced in ANT 1.8.0.)
>
> My advice is to either build BATIK without the script (simply run the
> all-jar target from the ANT build.xml file) or (if direct building is no
> option for you) to open build.sh in a text editor and add the command line
> option "-v" (without the quotes) to the ANT invocation. This option means
> "verbose" and will result in lots and lots of additional output - including
> the actual ANT version that is used. If the script indeed uses an outdated
> ANT version, you probably need to fix the script's CP variable.
>
> Hope this helps.
>
> Thomas
>
>
>
> On 10/22/2015 03:43 PM, Marcel Böttcher wrote:
>
>> Hey their,
>>
>> I clone the trunk of the github repo and tried to build it on Ubuntu 14
>> via build.sh jars. I got following error:
>>
>> BUILD FAILED
>> /opt/batik/git/batik/build.xml:1864: The <jar> type doesn't support the
>> "flattenattributes" attribute.
>>
>> I use open jdk 1.7 and ant 1.9.4
>>
>> Any idea what's going wrong?
>>
>> Kind regards
>> Marcel
>>
>
> --
> Thomas Behr
> phone: +49 7071 9709050
> fax: +49 7071 9709051
>
> yWorks GmbH
> Vor dem Kreuzberg 28
> 72070 Tuebingen
> Germany
> http://www.yworks.com
> Managing Directors: Sebastian Müller, Michael Pfahler
> Commercial Registry: Stuttgart, Germany, HRB 382340
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org
>
>


-- 
Viele Grüße
Marcel Böttcher

Goldbek Cards GmbH
Dorotheenstrasse 176a, 22299 Hamburg
phone                        +49 (0)40 605 905 379
telefax                       +49 (0)40 605 905 377
mobile                       +49 (0)162 36 20 374
internet                      www.goldbek.de

Geschäftsführer: Constantin von Braun

Amtsgericht Hamburg, HRB 133174

Email disclaimer notice:
This communication may contain confidential information. If you are not the
intended recipient it may be unlawful for you to read, copy, distribute,
disclose or otherwise use the information contained within this
communication. If you are not the intended recipient of this email, please
telephone, fax or email us immediately. Errors and Omissions may occur in
the contents of this email arising out of or in connection with data
transmission, network malfunction or failure, machine or software error,
malfunction, or operator error by the person who is sending the email.
Goldbek Cards GmbH accepts no responsibility for any such errors or
omissions.

Reply via email to