Community
Participate
Working Groups
At line 204 of AntEnvironment, it always tries to new up a "transform" object. It turns out that this is optional and the AntTask fails on one of the mappings defined in org.eclipse.jst.ws.creation.ui (the CoreException is thrown back to the CommandEngine and it stops before going to adopter's extension). Object transform = null; try { transform = ce.createExecutableExtension(MAPPER_TRANSFORM_ATTRIBUTE); } catch (CoreException cex) { Status errorStatus = new Status(Status.ERROR, "ws_ant", 5092, cex.getMessage(), cex); getStatusHandler().reportError(errorStatus); getLog().log(ILog.ERROR, "ws_ant", 5092, this, "getMappingExtensions", EnvironmentMessages.bind(EnvironmentMessages.MSG_ERR_ANT_DATA_TRANSFORM, key, transform)); throw new CoreException(errorStatus); } This is the exception: [wsgen] Executable extension definition for "transform" not found. [wsgen] java.lang.IllegalArgumentException: Executable extension definition for "transform" not found. [wsgen] at org.eclipse.wst.command.internal.env.ant.AntOperationManager.initBeforeExecute(AntOperationManager.java:42) [wsgen] at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:382) [wsgen] at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:327) [wsgen] at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:226) [wsgen] at org.eclipse.wst.command.internal.env.ant.AntController.<init>(AntController.java:73) [wsgen] at ws.ant.task.WebServiceGenerationAntTask.execute(WebServiceGenerationAntTask.java:26) [wsgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [wsgen] at org.apache.tools.ant.Task.perform(Task.java:364) [wsgen] at org.apache.tools.ant.Target.execute(Target.java:341) [wsgen] at org.apache.tools.ant.Target.performTasks(Target.java:369) [wsgen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [wsgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [wsgen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [wsgen] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [wsgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [wsgen] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:704) [wsgen] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:455) [wsgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [wsgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) [wsgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) [wsgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) [wsgen] at java.lang.reflect.Method.invoke(Method.java:391) [wsgen] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356) [wsgen] at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:215) [wsgen] at java.lang.Thread.run(Thread.java:816) [wsgen] IWAB0014E Unexpected exception occured.
This is a duplicate of 126259 If you remove properties from the properties file that you didn't specifically set yourself (i.e. the ones that just have sample settings) this problem should go away. *** This bug has been marked as a duplicate of 126259 ***
Thanks Joan, Comment out the properties does the trick (for our BUJAVA scenario, it is the ServiceProjectName and ServiceEARProjectName that need to get commented out). Regards, Kelvin
verified in WTP 102
Closed.