Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
WindowsXP
Description
I my first file called "myDefinition.vm" , I difined a trivial macro
#macro ( myMycro $p1 $p2)
$p1 $p2
#end
In my second file, I parse and call my macro:
#parse( myDefinition.vm")
#myMacro( "apple" "orange)
The result is always a single line:
#myMacro( "apple" "orange)
Velocity does not recognize the definition of my macro. I tried putting the macro is the same file and that works. But when the definition from another file does not seem to work.
Attachments
Issue Links
- duplicates
-
VELOCITY-362 can't load macros in file loaded with #parse
- Resolved