"MalformedURLException: no protocol:" thrown by AndroMDAGenTask
---------------------------------------------------------------

         Key: ANT-26
         URL: http://jira.andromda.org/browse/ANT-26
     Project: Ant
        Type: Bug
 Environment: Windows XP Prof., jdk 1.4.2, ant 1.6.5
    Reporter: Peter Empen
 Assigned to: Martin West 


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?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to