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] Updated: (MIDEA-10) Failure to generate idea files when parsing existing iws file containing a markup inside attribute value
Date Sun, 15 Oct 2006 16:55:57 GMT
     [ http://jira.codehaus.org/browse/MIDEA-10?page=all ]

Dennis Lundberg updated MIDEA-10:
---------------------------------

    Fix Version/s: 2.0

> Failure to generate idea files when parsing existing iws file containing a markup inside
attribute value
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MIDEA-10
>                 URL: http://jira.codehaus.org/browse/MIDEA-10
>             Project: Maven 2.x Idea Plugin
>          Issue Type: Bug
>         Environment: IDEA 4.5.x
>            Reporter: Jerome Lacoste
>         Assigned To: Brett Porter
>             Fix For: 2.0
>
>
> Have an iws file containing:
>   <component name="RunManager">
>     <option value="true" name="SHOW_SETTINGS_BEFORE_RUNNING"></option>
>     <option value="true" name="COMPILE_BEFORE_RUNNING"></option>
>     <activeType name="Application"></activeType>
>     <configuration selected="false" type="Application" default="true" name="<template>">
>       <option name="MAIN_CLASS_NAME"></option>
>       <option name="VM_PARAMETERS"></option>
>       <option name="PROGRAM_PARAMETERS"></option>
>       <option value="$PROJECT_DIR$" name="WORKING_DIRECTORY"></option>
>     </configuration>
> when doing mvn idea:idea I get the following failure:
> [INFO] Error parsing existing IWS file: /home/jerome/Dev/IdeaProjects/BBC/Basis/Basis-trunk-svn2/basis/Basis/basis-parent.iws
> Embedded error: markup not allowed inside attribute value - illegal <  (position:
TEXT seen ...uration selected="false" type="Application" default="true" name="<... @186:78)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error parsing existing IWS file:
/home/jerome/Dev/IdeaProjects/BBC/Basis/Basis-trunk-svn2/basis/Basis/basis-parent.iws
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:585)
>         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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error parsing existing IWS
file: /home/jerome/Dev/IdeaProjects/BBC/Basis/Basis-trunk-svn2/basis/Basis/basis-parent.iws
>         at org.apache.maven.plugin.idea.IdeaMojo.rewriteWorkspace(IdeaMojo.java:169)
>         at org.apache.maven.plugin.idea.IdeaMojo.execute(IdeaMojo.java:129)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:419)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
>         ... 16 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: markup not allowed
inside attribute value - illegal <  (position: TEXT seen ...uration selected="false" type="Application"
default="true" name="<... @186:78)
>         at org.codehaus.plexus.util.xml.pull.MXParser.parseAttribute(MXParser.java:2027)
>         at org.codehaus.plexus.util.xml.pull.MXParser.parseStartTag(MXParser.java:1796)
>         at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1124)
>         at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
>         at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:148)
>         at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:59)
>         at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:47)
>         at org.apache.maven.plugin.idea.IdeaMojo.rewriteWorkspace(IdeaMojo.java:159)
>         ... 19 more

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