oh, all right, but i think ,i should inspect the cmd
"-Declipse.addVersionToProjectName=true" more carefully.what's more, when i
comes to use version 2.6, my eclipse's workspace does not run as well as
before.

The follow is the log:

[WARNING] could not read workspace
project:D:\taobao.workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\wangwang-plugin
org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace
content allowed before start tag and not \u9518 (position: START_DOCUMENT se
8... @1:1)
        at
org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
        at
org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
        at
org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
        at
org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:187)
        at
org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:83)
        at
org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:48)
        at
org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readArtefact(ReadWorkspaceLocations.java:341)
        at
org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readWorkspace(ReadWorkspaceLocations.java:533)
        at
org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init(ReadWorkspaceLocations.java:94)
        at
org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfiguration(EclipsePlugin.java:1784)
        at
org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathContainers(EclipsePlugin.java:1350)
        at
org.apache.maven.plugin.eclipse.EclipsePlugin.setup(EclipsePlugin.java:807)
        at
org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:498)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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)

 The project wangwang-plugin  is also in my workspace,but i have not
modified the project's file.
when i run the cmd "mvn clean eclipse:clean eclipse:eclipse
-Declipse.addVersionToProjectName=true"
for the bellow project


<projectDescription>
  <name>**-connect-1.12-SNAPSHOT</name>
  <comment>**</comment>
  <projects>
    <project>**-json</project>
    <project>**-string</project>
    <project>**-xml</project>
    <project>**-server</project>
    <project>**-config</project>
    <project>**-core</project>
    <project>**-dal</project>
    <project>**-sm</project>
    <project>**-engine</project>
    <project>**-tim</project>
    <project>**-client</project>
  </projects>
  <buildSpec>
    <buildCommand>
      <name>org.eclipse.jdt.core.javabuilder</name>
    </buildCommand>
  </buildSpec>
  <natures>
    <nature>org.eclipse.jdt.core.javanature</nature>
  </natures>
</projectDescription>

the maven throws the exception, and also the maven eclipse(2.6) plugin
didn't generate the eclipse project definite succssfully
,although the console tell me generate succssfully.

On Thu, Apr 2, 2009 at 2:24 PM, Barrie Treloar <[email protected]> wrote:

> On Thu, Apr 2, 2009 at 4:03 PM, linchongsu <[email protected]>
> wrote:
> > hi,dear
> > i found i can't run "mvn clean eclipse:clean eclipse:eclipse
> > -Declipse.addVersionToProjectName=true" all right with version 2.6
>
> If you can provide a small repeatable test case then raise a JIRA and
> we can look into it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
漠洋(苏琳冲)
SuLinchong
Phone   13656669328
Qq        387973308
Msn      [email protected]

Reply via email to