Well,

I was expecting a picture of Cindy Crawford, and
instead it's a picture of my mother in law :-)

I think something happens due to maven attempting
parameter replacement, because I get this when I run
the archetype:

[WARNING]
org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/images/123.png
[line 9,column 50] : $I is not a valid reference.
[WARNING]
org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/images/123.png
[line 11,column 115] : $I is not a valid reference.

I think Maven is playing with the file after having
read it.

I've rerun the build several times with clean install,
and I get the same result each time.

Thoughts?

Thanks,
- Ole



--- Wayne Fay <[EMAIL PROTECTED]> wrote:

> Not the same meaning what exactly? The binary files
> are not identical?
> Or you were expecting a picture of a cat and it was
> replaced with a
> picture of a dog? ;-)
> 
> Did you try extracting the file from the archetype
> jar (in your m2
> repo) and confirm the file was stored properly?
> There's only so many
> places where a binary file might get corrupted.
> 
> Wayne
> 
> On 2/21/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have an archetype containing a png image.
> >
> > When I create an archetype instance, the png image
> is
> > not the same as the one in the archetype
> definition.
> >
> > Has anyone else seen this?
> >
> > Ideas?
> >
> > Thanks,
> > - Ole
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Don't get soaked.  Take a quick peak at the
> forecast
> > with the Yahoo! Search weather shortcut.
> >
> http://tools.search.yahoo.com/shortcuts/#loc_weather
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to