"MalformedURLException: no protocol:" thrown by AndroMDAGenTask

Description

I just want to test one of the andromda samples with ant because maven is not an issue at our site. If you place the following build.xml in samples\crud:

<project name="andromda-ant" default="run" basedir=".">
<path id="andromda.ant.classpath">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="run">
<taskdef name="andromda" classname="org.andromda.ant.task.AndroMDAGenTask"
classpathref="andromda.ant.classpath" />
<andromda configurationUri= "file:C:\Programme\androMDA\samples\crud\mda\conf\andromda.xml"/>
</target>
</project>

MalformedURLException is thrown. It doesn't matter wether you put "file:", "file:/" or "file://". In latter case another exception will be raised.

I have managed to bypass this exception by eliminating lib\xercesImpl.jar from my ant 1.6.5 distribution but this cannot be a real solution. So what to do?

Environment

Windows XP Prof., jdk 1.4.2, ant 1.6.5

Assignee

Former user

Reporter

Peter Empen

Labels

None

Priority

Major
Configure