Possible Maven Archetype Template Processing Bug

2007-02-21 Thread Ole Ersoy
Hi,

I have an archetype that uses a png image.

When I create archetype instances the png
image is no longer readable (And its size has
increased by 1kb, from 1.6kb).

Here's is what maven says:

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

Perhaps there should be a  element
in the archetype.xml descriptor, so that maven would
just copy the image over, instead of trying to process
it and write the result.

Thoughts?

Cheers,
- Ole




 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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



Re: Possible Maven Archetype Template Processing Bug

2007-02-21 Thread Franz Allan Valencia See

Good day to you, Ole,

Try adding filtered=false to that resource.

Cheers,
Franz

On 2/21/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:

Hi,

I have an archetype that uses a png image.

When I create archetype instances the png
image is no longer readable (And its size has
increased by 1kb, from 1.6kb).

Here's is what maven says:

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

Perhaps there should be a  element
in the archetype.xml descriptor, so that maven would
just copy the image over, instead of trying to process
it and write the result.

Thoughts?

Cheers,
- Ole






Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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