Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] emf.XSD2Java ant task errors with recent 4.20 builds

Hi,

could anyone point me to recent changes in EMF / Ant / platform that could cause emf.XSD2Java ant tasks to fail?

Last Friday's platform was OK, yesterday's nightly build is broken for me.

Ant task looks like:
    <emf.XSD2Java genModel="${genmodelFile}">
      <model file="${parent.dir}/models/instrumentSetup.xsd" />
      <arg line="-reload" />
    </emf.XSD2Java>

Similar errors are reported for emf.Ecore2Java tasks too, by specifying the "taskname" attribute I can workaround them - but the same "fix" doesn't work for emf.XSD2Java.
If you have any ideas how to "fix" emf.XSD2Java, also welcome.

Problem: failed to create task or type emf.XSD2Java
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

	at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:497)
	at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:429)
	at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:165)
	at org.apache.tools.ant.Task.perform(Task.java:349)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:32)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	... 49 more

Kind regards,
Andrey Loskutov

Спасение утопающих - дело рук самих утопающих

https://www.eclipse.org/user/aloskutov



Back to the top