You probably need to do a clean so everything gets re-compiled.

On Thu, Sep 27, 2012 at 5:08 AM, Maik Musall <[email protected]> wrote:

> Hmm, doesn't work yet. My wocompile now looks like this:
>
> <wocompile destdir="bin" includeantruntime="false" memorymaximumsize=
> "1024m" fork="true" encoding="utf-8" debug="on" debuglevel=
> "lines,vars,source">
>
> Java 6.
>
> Any suggestions?
>
> Maik
>
>
> Am 26.09.2012 um 16:37 schrieb Maik Musall <[email protected]>:
>
> Hi Johann (and thanks, John),
>
> Am 26.09.2012 um 16:10 schrieb Johann Werner <[email protected]>:
>
> Hi Maik,
>
> congrats to mastering jenkins :)
>
>
> Thanks :)
>
> To have more info in your stack traces you have to disable optimization
> during the compilation. Check your wocompile ant task:
>
> <wocompile destdir="bin" source="${compiler.source}"
> target="${compiler.target}"
> deprecation="${compile.deprecation}" *debug="on" optimize="off"*
> encoding="utf8" includeantruntime="false">
>
> Important is to add the optimize=off otherwise the reported line numbers
> can differ from your source code line numbers.
>
>
> I looked up the ant docs, and there it says:
>
> optimizeIndicates whether source should be compiled with optimization;
> defaults to off. *Note* that this flag is just ignored by Sun's javac starting
> with JDK 1.3 (since compile-time optimization is unnecessary).
>
> So, I guess the optimize="off" is both redundant and without effect ;)
>
>
> Maik
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag
>
> This email sent to [email protected]
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>
> This email sent to [email protected]
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to