PDE Build 3.2 (M5) can't build my RCP app [message #302077] |
Tue, 11 April 2006 17:37 |
Eclipse User |
|
|
|
Originally posted by: harward.junkmail.gmail.com
This is a multi-part message in MIME format.
--------------000008030703020502070703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I've got an existing RCP app that I have been building with PDE Build
3.1.2 without an trouble.
I have recently migrated to Eclipse 3.2 (M5). I can run and then build
my RCP within the Eclipse IDE (with the export wizard). However, when I
try to execute my automated build from the command line (-application
org.eclipse.pde.build.Build) the PDE Build application crashes with a
NullPointerException. I have attached the stack trace.
I'm thinking my problem could be the result of one of a couple things:
1) Perhaps a bug in PDE Build 3.2?
2) PDE Build 3.2 requires additional configuration (perhaps in
build.properties, feature.xml, or the .product file?) that was not
required in 3.1.2.
Any insight along these lines will be appreciated.
--------------000008030703020502070703
Content-Type: text/plain;
name="exception.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="exception.txt"
java.lang.NullPointerException
at org.eclipse.pde.internal.build.ProductGenerator.getBrandingP lugin(ProductGenerator.java:259)
at org.eclipse.pde.internal.build.ProductGenerator.getSplashLoc ation(ProductGenerator.java:267)
at org.eclipse.pde.internal.build.ProductGenerator.createConfig Ini(ProductGenerator.java:142)
at org.eclipse.pde.internal.build.ProductGenerator.generate(Pro ductGenerator.java:64)
at org.eclipse.pde.internal.build.builder.FeatureBuildScriptGen erator.generateRootFilesAndPermissions(FeatureBuildScriptGen erator.java:544)
at org.eclipse.pde.internal.build.builder.FeatureBuildScriptGen erator.generateGatherBinPartsTarget(FeatureBuildScriptGenera tor.java:523)
at org.eclipse.pde.internal.build.builder.FeatureBuildScriptGen erator.generateBuildScript(FeatureBuildScriptGenerator.java: 317)
at org.eclipse.pde.internal.build.builder.FeatureBuildScriptGen erator.generate(FeatureBuildScriptGenerator.java:247)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate Features(BuildScriptGenerator.java:168)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate (BuildScriptGenerator.java:80)
at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTas k.run(BuildScriptGeneratorTask.java:80)
at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTas k.execute(BuildScriptGeneratorTask.java:72)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:37)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:106 8)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:37)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:106 8)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:37)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:106 8)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:37)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:106 8)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:40)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:106 8)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:704)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:494)
at org.eclipse.pde.internal.build.BuildApplication.run(BuildApp lication.java:13)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:99)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
--------------000008030703020502070703--
|
|
|
|
Re: PDE Build 3.2 (M5) can't build my RCP app [message #302079 is a reply to message #302078] |
Tue, 11 April 2006 19:57 |
Eclipse User |
|
|
|
Originally posted by: harward.junkmail.gmail.com
Olivier - thanks for the suggestion. I was actually already half way
through setting up M6 when I got your reply. Seems to be an issue with
M5 as things seem to be building now with the M6 milestone release of
PDE Build.
|
|
|
Powered by
FUDForum. Page generated in 0.03028 seconds