Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » headless pde build : InvocationTargetException in generated build.xml
headless pde build : InvocationTargetException in generated build.xml [message #606279] Mon, 19 July 2010 14:06
Tobias Hoppenthaler is currently offline Tobias HoppenthalerFriend
Messages: 21
Registered: July 2009
Junior Member
I am trying to set up a headless build of my product and it works for
the first few plugins (everything gets compiled, I have the classfiles
in the @dot directory), but then at some point I get

path/to/generated/buildxml/of/pluginxy/build.xml:251:
java.lang.reflect.InvocationTargetException

I marked line 251 in the generated script below with a leading 251:

<pathelement
path=" ../../../target/plugins/org.eclipse.xtext.ui_1.0.0.v20100616 1118.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.emf.ecore.edit_2.6.0.v20 100614-1136.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.emf.edit_2.6.0.v20100614 -1136.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.emf.ecore.change_2.5.0.v 20100521-1846.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.emf.edit.ui_2.6.0.v20100 614-1136.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.emf.common.ui_2.6.0.v201 00614-1136.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.xtext.ui.shared_1.0.0.v2 01006161118.jar "/>
<pathelement
path=" ../../../target/plugins/org.eclipse.xtext.builder_1.0.0.v201 006161118.jar "/>
</path>
<!-- compile the source code -->
251: <javac destdir="${build.result.folder}/@dot"
failonerror="${javacFailOnError}" verbose="${javacVerbose}"
debug="${javacDebugInfo}" includeAntRuntime="no"
bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}"
target="${bundleJavacTarget}" errorProperty="compilation.error.occured"
>
<compilerarg line="${compilerArg}"
compiler="${build.compiler}"/>
<classpath refid="@dot.classpath" />
<src path="src/" />
<src path="src-gen/" />
<compilerarg
value="@${basedir}/javaCompiler...args"
compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
<compilerarg line="-log
&apos;${build.result.folder}/@dot${logExtension}&apo s; "
compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
</javac>
<antcall target="checkCompilationResults"/>
<!-- Copy necessary resources -->
<copy todir="${build.result.folder}/@dot"
failonerror="true" overwrite="false">
<fileset dir="src/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
<fileset dir="src-gen/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
</copy>
</target>

the target's name is @dot

I have no clue how to debug this. Any help would be highly appreciated!

Thanks,

Tobi
Previous Topic:Cheat sheets and localization
Next Topic:headless pde build : InvocationTargetException in generated build.xml
Goto Forum:
  


Current Time: Wed Apr 24 23:50:06 GMT 2024

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

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

Back to the top