<ajdtVersion>2.0.1</ajdtVersion> breaks silently
------------------------------------------------

                 Key: MECLIPSE-610
                 URL: http://jira.codehaus.org/browse/MECLIPSE-610
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: AJDT support
    Affects Versions: 2.7, 2.8
            Reporter: Urs Keller


The version is handled as a float. A configuration with 2.0.1 will break it, 
but there is no warning what so ever.
org.apache.maven.plugin.eclipse.EclipsePlugin.createEclipseWriterConfig(IdeDependency[]):
 Line 1238:

        float ajdtVersionFloat;
        try
        {
            ajdtVersionFloat = Float.parseFloat( ajdtVersion );
        }
        catch ( NumberFormatException e )
        {
            ajdtVersionFloat = 0.0f;
        }


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to