Re: Ant install wo app with debug
Re: Ant install wo app with debug
- Subject: Re: Ant install wo app with debug
- From: John Pollard <email@hidden>
- Date: Fri, 12 Jun 2009 10:57:07 +0100
Hi Chuck,
Yes Ant, and I think my build.xml is pretty much out of the can. Here
is the compile target:
<target name="compile" depends="init.properties">
<taskdef name="wocompile"
classname="org.objectstyle.woproject.ant.WOCompile" />
<mkdir dir="bin" />
<wocompile srcdir="Sources" destdir="bin">
<frameworks root="ProjectLocal" embed="false" eclipse="true" />
<frameworks root="External" embed="false" eclipse="true" />
<frameworks root="Local" embed="false" eclipse="true" />
<frameworks root="User" embed="false" eclipse="true" />
<frameworks root="System" embed="false" eclipse="true" />
<frameworks root="Network" embed="false" eclipse="true" />
<classpath>
<fileset dir="Libraries">
<include name="*.jar" />
</fileset>
<fileset dir="${wo.extensions}">
<include name="*.jar" />
</fileset>
</classpath>
</wocompile>
</target>
Regards,
John
On 11 Jun 2009, at 22:31, Chuck Hill wrote:
On Jun 11, 2009, at 8:41 AM, John Pollard wrote:
I have now located Project, Properties, Java Compiler, Configure
Workspace Properties
I have not ticked "Enable project specific settings"
There is then a Classfile Generation section which includes:
"Add line number attributes to generated class file..." which
already shows as ticked, along with the other options in this
section.
So why might my deployed app stack traces not be showing line
numbers I wonder?
Thanks again for any help anyone can give with this.
Are your deployments Ant built? What does the <compile> /
<wocompile> task in build.xml look like?
Chuck
On 11 Jun 2009, at 16:15, John Pollard wrote:
Hi List,
After updating wolips and Eclipse to "the new hotness" (though I
can't say for sure it was this that caused the change), stack
traces on deployed applications lost line numbers in app log
files. Is there a debug line I can add to build.xml or
build.properties to ensure install builds happen with java
debugging enabled? If so please be specific, such as under which
target if in build.xml?
I am using:
Eclipse 3.4.1
WOLips 3.4.5594
Many thanks for any help.
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden