maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MANT-30) classcast exception when running ant:ant on tagtraum.com's gcviewer project
Date Sun, 06 Jan 2008 18:10:57 GMT

     [ http://jira.codehaus.org/browse/MANT-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg closed MANT-30.
-------------------------------

      Assignee: Dennis Lundberg
    Resolution: Fixed

Patch applied. Thanks!

> classcast exception when running ant:ant on tagtraum.com's gcviewer project
> ---------------------------------------------------------------------------
>
>                 Key: MANT-30
>                 URL: http://jira.codehaus.org/browse/MANT-30
>             Project: Maven 2.x Ant Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: gentoo linux, java 1.5, maven 2
> using svn-version 545783
>            Reporter: Patrick Huber
>            Assignee: Dennis Lundberg
>             Fix For: 2.1
>
>         Attachments: error-in-jar-plugin-config-handling.patch
>
>
> when running ant:ant on the tagtraum.com gcviewer-1.26 project, I the exception below.
A fix is attached, enjoy...
> java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String
>         at org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenPluginBasicOption(AntBuildWriterUtil.java:902)
>         at org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenJarPluginBasicOption(AntBuildWriterUtil.java:838)
>         at org.apache.maven.plugin.ant.AntBuildWriterUtil.writeJarTask(AntBuildWriterUtil.java:572)
>         at org.apache.maven.plugin.ant.AntBuildWriter.writePackageTarget(AntBuildWriter.java:909)
>         at org.apache.maven.plugin.ant.AntBuildWriter.writeGeneratedBuildXml(AntBuildWriter.java:304)
>         at org.apache.maven.plugin.ant.AntBuildWriter.writeBuildXmls(AntBuildWriter.java:112)
>         at org.apache.maven.plugin.ant.AntMojo.execute(AntMojo.java:112)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

-- 
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

        

Mime
View raw message