How to debug PDE ant task for building? [message #762149] |
Wed, 07 December 2011 11:00  |
Eclipse User |
|
|
|
Hi,
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="**/*"/>
</delete>
<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" />
</fileset>
</copy>
....
<target name="build.EDMUI" depends="init">
<delete dir="${buildDirectory}/EDMUI"/>
<pde run="-buildfile
${ajdt.pdebuild.scripts}/productBuild/productBuild.xml
-Dajdt.pdebuild.home=${ajdt.pdebuild.home}
-Dajdt.pdebuild.scripts=${ajdt.pdebuild.scripts}
-Dproduct=/com.yambina.mdwmui/EDMUI.product" name="EDMUI" />
<foreach list="${configs}" delimiter="&" trim="true"
target="post.build.EDMUI" param="type" inheritall="true" />
<post.build.clean/>
</target>
Thx.
David
|
|
|
|
Powered by
FUDForum. Page generated in 0.04718 seconds