You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org> on 2008/06/12 22:49:12 UTC
[jira] Commented: (ARCHETYPE-164) DefaultArchetypeArtifactManager
not handling slashes correctly
[ http://jira.codehaus.org/browse/ARCHETYPE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138393#action_138393 ]
Raphaël Piéroni commented on ARCHETYPE-164:
-------------------------------------------
Hi,
Does this problem still occurs with the version 2.0-alpha-3 of the plugin?
> DefaultArchetypeArtifactManager not handling slashes correctly
> --------------------------------------------------------------
>
> Key: ARCHETYPE-164
> URL: http://jira.codehaus.org/browse/ARCHETYPE-164
> Project: Maven Archetype
> Issue Type: Bug
> Components: Creator, Generator
> Affects Versions: 2.0-alpha-2
> Environment: Maven 2.0.8, Windows XP
> Reporter: Zach Mabe
> Attachments: simple-ws-service-archetype-0.0.2-SNAPSHOT.jar, simple-ws-service-archetype-0.0.2-SNAPSHOT.pom
>
>
> Within the method getFilesetArchetypeResources, the following command is not working as the name of the zipfile entry is "archetype-resources\src\main\java\faults\ExceptionInformation.java"
> String resource =
> StringUtils.replace (
> entry.getName (),
> Constants.ARCHETYPE_RESOURCES + "/",
> ""
> );
> The archetype was created with the create-from-project command.
> I've attached the offending archetype.
> Note: if I package the archetype as a jar instead of a maven-archetype, this isn't problem. That's why I've selected Creator and Generator as affected components as I am not sure why/how the path seperator is set in the jar file.
--
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