You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/03/08 06:42:22 UTC

[jira] Commented: (ARCHETYPE-25) images gif/jpgs etc seem to get corrupted when copied by archetype

    [ http://jira.codehaus.org/browse/ARCHETYPE-25?page=comments#action_60428 ] 

Carlos Sanchez commented on ARCHETYPE-25:
-----------------------------------------

Seems that the Archetype code uses FileWriter instead of FileOutputStream

http://jroller.com/page/RickHigh?entry=maven_archetype_woes

> images gif/jpgs etc seem to get corrupted when copied by archetype
> ------------------------------------------------------------------
>
>          Key: ARCHETYPE-25
>          URL: http://jira.codehaus.org/browse/ARCHETYPE-25
>      Project: Maven Archetype
>         Type: Bug

>   Components: maven-archetype-plugin
>  Environment: windows XP
>     Reporter: Chris Funk
>     Assignee: Jason van Zyl
>     Priority: Minor

>
>
> I created a web archetype to include images in the src/main/webapp directory.
> They seem to copy over correctly and there size is reatined, but oddly the images view as blank when displayed in browser or image viewer.
> I double checked to make sure the images I was using were ok and manually copied them over and everything worked fine.  I have the images in the resources section in archetype.xml.  Could be an encoding issue?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org