ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Code too large
Date Tue, 01 Sep 2009 09:45:22 GMT

-----Original Message-----
From: M White [] 
Sent: Monday, August 31, 2009 12:42 PM
To: ant user
Subject: Reg: Code too large

    I am compiling some files .... and i am getting the error - 
Code too large for try .
Code too large for catch
But ultimately in the logs its printing ... Build Successful.
What are these errors about  ... " Code too large .." 
What should i do ?
                     Thanks & Regards

you need a fail in your catch block to make it fail, f.e. =

        <exec dir="C:/notexistent/path" executable="cmd.exe">
          <arg line="/c foobar" />
      ... other stuff ...
        <fail message="...."/> <<<<<<<<<<<<<<

without that fail your errrors get catched and it's always

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message