maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raphaël Piéroni" <raphaelpier...@gmail.com>
Subject Re: dojo.js breaks my archetype !!
Date Wed, 04 Apr 2007 12:35:04 GMT
Hi Nicolas,

IIRC, there is a filtered attribute you can use in a resource (don't
work with a source)

Hope this helps and works


Raphaël

2007/4/4, nicolas de loof <nicolas.deloof@gmail.com>:
> dojo.js has the #include string in a comment.
> This makes my custom webapp archetype fail
>
> [ERROR] Parser Exception:
> archetype-resources/webapp/src/main/webapp/scripts/dojo-0.4.2/dojo.js.uncompressed.js
> : org.ap
> ache.velocity.runtime.parser.ParseException: Encountered "command" at line
> 806, column 59.
> Was expecting:
>     "(" ...
>
>         at org.apache.velocity.runtime.parser.Parser.generateParseException(
> Parser.java:3271)
>
> Is there any way in the archetype.xml file to exclude some resources to be
> parsed as velocity templates, and simply considered as static content ?
>
> Nico.
>
Mime
View raw message