Hi Renaud,

news <[EMAIL PROTECTED]> wrote on 04/19/2007 07:09:44 AM:

> In the build.xml I see this:
> 
>      <property name="debug"              value="off"/>
> 
> Is there a good reason for this? FWIU, debug=on has negligible impact on 

> performance/size, but it has a massive impact on ease of debugging. 

   It has a fairly significant impact on size, so we intentionally
don't include debug in our release builds.

> Right now I can't get useful stacktraces out of batik because the stack 
> does not have line numbers.

   Create a build.properties file in the same directory as the build.xml
(top level of dist), with the one line "debug=on" in it.  That way your
builds will always have debug info.

   This approach avoids issues with forgetting to turn off debug when
checking in changes to build.xml, or forgetting to change build.xml
before doing a release etc.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to