I'd like to see the error handing improved a little when the creation of a
project fails. Some of the information, generally why, is lost and not
displayed to the user:
!ENTRY org.maven.ide.eclipse 4 0 2008-06-16 00:59:32.328
!MESSAGE Unable to create project from archetype
[au.com.warpspeed.archetypes:basic-ear:1.0 -> null]
!STACK 0
org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Failed to
generate project from the old archetype
at
org.apache.maven.archetype.generator.DefaultArchetypeGenerator.processOldArchetype(Unknown
Source)
at
org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(Unknown
Source)
at
org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(Unknown
Source)
at
org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(Unknown
Source)
at
org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(Unknown
Source)
at
org.maven.ide.eclipse.wizards.MavenProjectWizard$4.runInWorkspace(Unknown
Source)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Caused by:
org.apache.maven.archetype.old.ArchetypeTemplateProcessingException:
Sample already exists - please run from a clean directory
at
org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(Unknown
Source)
... 8 more
The line Sample already exists - please run from a clean directory is
lost, and only ever dispalyed as null.
-Chris
**********************************************************************
CAUTION - This message is intended for the addressee named above. It may
contain privileged or confidential information.
If you are not the intended recipient of this message you must:
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer
immediately.
Internet emails are not necessarily secure. Australian Associated Motors
Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not
accept responsibility for changes made to this message after it was sent.
Unless otherwise stated, views expressed within this email are the author's own
and do not represent those of AAMI.
**********************************************************************