Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to debug PDE ant task for building?
How to debug PDE ant task for building? [message #762149] Wed, 07 December 2011 16:00 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member

My latest issue is that the ant pde task fails to pick up a couple of my
plugins and features out of the 20 or so I have, it does not build the
@dot directory so later tasks fail. pde gives no debug output that might
help me.

Like most I don't really want to have to debug pde to find out why, it
should have some form of debug mode where it logs all it's steps. The
weird thing is I have a colleague who has theh exact same checkout as I
do and his works mine doesn't. We even went to the length of checking in
his eclipse install so I could checkout and make sure I was identical.
It worked a few days ago so I restored to the version of eclipse I was
using then, no change. Here are theh pertinent aparts of my build.xml

<target name="init" unless="init.done">
<mkdir dir="${work.dir}/plugins" />
<mkdir dir="${buildDirectory}" />

<delete includeemptydirs="true">
<fileset dir="${work.dir}/plugins" includes="**/*"/>

<copy todir="${work.dir}/plugins">
<fileset dir="${workspace.dir}/edmui">
<include name="com.yambina.drools.lib/**" />
<include name="com.yambina.edm.cdoserver/**" />
<include name="com.yambina.edm.commons/**" />
<include name="com.yambina.edm.commons-logging.cfg/**" />
<include name="com.yambina.edm.core/**" />
<include name="com.yambina.edm.etldesigner/**" />
<include name="com.yambina.edm.lib/**" />
<include name="com.yambina.edm.log/**" />
<include name="com.yambina.edm.log.log4j/**" />
<include name="com.yambina.edm.log4j.cfg/**" />
<include name="com.yambina.edm.validation/**" />
<include name="com.yambina.edmmodel/**" />
<include name="com.yambina.edmmodel.edit/**" />
<include name="com.yambina.mdwmui/**" />
<include name="com.yambina.mdwmui.drools.eclipse/**" />
<include name="com.yambina.etloda/**" />
<include name="com.yambina.etlodaui/**" />
<include name="org.drools.eclipse-5.2.0.Final/**" />

<exclude name="*/bin/**" />
<exclude name="*/target/**" />
<exclude name="*/.settings/**" />
<exclude name="*/.classpath" />
<exclude name="*/.project" />
<exclude name="*/.options" />
<exclude name="**/*.class" />
<target name="build.EDMUI" depends="init">
<delete dir="${buildDirectory}/EDMUI"/>

<pde run="-buildfile
-Dproduct=/com.yambina.mdwmui/EDMUI.product" name="EDMUI" />

<foreach list="${configs}" delimiter="&amp;" trim="true"
target="" param="type" inheritall="true" />



Re: How to debug PDE ant task for building? [message #762179 is a reply to message #762149] Wed, 07 December 2011 16:53 Go to previous message
Curtis Windatt is currently offline Curtis WindattFriend
Messages: 166
Registered: July 2009
Senior Member

PDE does have some tracing options, easiest way to see them is to create a new Eclipse Application launch configuration and look at the tracing tab.

PDE Core uses PDE Build to create the build scripts then executes the ant tasks so we do not get direct feedback on progress/problems. If ant encounters problems it dumps them to a log file which PDE Core later parses.
Previous Topic:Debug mode not working
Next Topic:unknown saveable assertation on reopening a custom editor
Goto Forum:

Current Time: Sat Jun 25 10:27:33 GMT 2022

Powered by FUDForum. Page generated in 0.02175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top