- This topic has 3 replies, 3 voices, and was last updated 15 years, 4 months ago by support-eugene.
-
AuthorPosts
-
Frederic ChopardMemberHi,
I installed ME7.5 yesterday and I have some problems with the external tools support. Some of my projects are using Ant scripts to generate classes from WSDL. I configured these scripts to be executed with each build by adding an external tool builder. This worked fine with ME6.5, but now I get some errors stating that the launch configuration does not exist even if it’s there, here is the log:
!ENTRY org.eclipse.core.resources 4 2 2009-07-22 08:31:13.428
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.resources”.
!STACK 1
org.eclipse.debug.core.DebugException: Launch configuration Generate platcom jars for clients at C:\Data\PlatCom Implementation\Sources\platcom-svcserver-business\.externalToolBuilders\Generate platcom jars for clients.launch does not exist.
at org.eclipse.debug.internal.core.LaunchManager.createDebugException(LaunchManager.java:905)
at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1362)
at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:393)
at org.eclipse.debug.internal.core.LaunchConfiguration.getAttribute(LaunchConfiguration.java:335)
at org.eclipse.ui.externaltools.internal.launchConfigurations.ExternalToolsUtil.getResourcesForBuildScope(ExternalToolsUtil.java:176)
at org.eclipse.ui.externaltools.internal.model.ExternalToolBuilder.build(ExternalToolBuilder.java:77)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.debug.core 4 5012 2009-07-22 08:31:13.428
!MESSAGE Launch configuration Generate platcom jars for clients at C:\Data\PlatCom Implementation\Sources\platcom-svcserver-business\.externalToolBuilders\Generate platcom jars for clients.launch does not exist.
!SUBENTRY 1 org.eclipse.debug.core 4 5012 2009-07-22 08:31:13.428
!MESSAGE Launch configuration Generate platcom jars for clients at C:\Data\PlatCom Implementation\Sources\platcom-svcserver-business\.externalToolBuilders\Generate platcom jars for clients.launch does not exist.So I tried to remove the configuration and recreate a new one, but I also get an error with the following message: Internal error, Reason: Unable to save launch configuration. Please note that this message is displayed as soon as I select an Ant Builder from the external tool window, I don’t even get the configuration window. Here is the log:
!ENTRY org.eclipse.core.resources 2 75 2009-07-22 11:14:01.255
!MESSAGE Errors during build.
!SUBENTRY 1 com.genuitec.eclipse.ast.deploy.core 2 75 2009-07-22 11:14:01.255
!MESSAGE Errors running builder ‘DeploymentBuilder’ on project ‘platcom-common-lib’.
!SUBENTRY 1 com.genuitec.eclipse.ast.deploy.core 2 75 2009-07-22 11:14:01.255
!MESSAGE java.lang.NullPointerException encountered while running DeploymentBuilder.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.Deployment.resourceChanged(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ProjectDeltaVisitor.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.�(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildDelta(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Do you have any hints ?
Thanks
Wis
support-shaliniMemberwismax,
Can you answer a few questions?
1. What is the external tool builder that you are referring to?
2. MyEclipse 7.5 is based on eclipse 3.4.2, can you verify the compatibility of the tool builder with eclipse 3.4.2?
3.This worked fine with ME6.5
Are you using the same workspace for ME7.5 or have you imported your projects from the previous workspace?
Frederic ChopardMemberThanks to take some time to help me, so my answers:
1. It’s an Ant script, you can add one like that: Project Properties… > Builders > New… > Ant Builder. In the last window, you can select and configure an Ant script that will be executed during the project build.
2. I assume that Ant is fully supported by Eclipse 3.4.2 as it was with previous releases.
3. I created a new blank workspace and imported by projects inside.-wis
support-eugeneMemberCan you provide your ant scripts so I try it locally?
-
AuthorPosts