Rather than editing my source files, is there not a way to disable velocity for spcific files or folders? I ask because some of the problem files in my archetype are binary. I'm not too comfortable editing those by hand as you suggest. And I think they may be related to the problems I'm seeing.

Thanks,

Doug

On May 10, 2009, at 12:41 PM, Heinrich Nirschl <[email protected] > wrote:

On Sun, May 10, 2009 at 3:13 PM, Doug Hughes <[email protected]> wrote:
As a last test, I intentionally put invalid XML in the
archetype-metadata.xml file. I was able to run archetype:create without it
reporting an XML error.  This tells me it's ignoring my metadata file
anyhow.... any ideas on what I can do to work around this?

I think, this file is only used, if you use the archetype:generate goal.

[line 17,column 31] : $tagext is not a valid reference.

For the references that should go unchanged into the generated sources
I usually do

#set ($d = "$")

... ${d}{target} ...

This will expand to ${target} and will not raise a warning.

- Henry

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

Reply via email to