velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: Simple question about #include
Date Mon, 06 Sep 2004 12:39:01 GMT
Hi Phil,

> I would like to include a file to handle some special cases. My
> implementation is,
> 
> #set ( $includeFile = "includeCreate${feature.aixmElementName}.vm" )
> #include( $includeFile )
> 
> There are 100 aixmElementName names and there are only a few special
> cases. My current solution requires empty files for all the other cases.
> 
> How would you configure this to include only the include files that
> exist?
I'm not sure if I understand your intentions correctly, but why not
create another list?  One that holds only the aixmElementName names of
the files that exist.

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai(shinobu.kawai@gmail.com)

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message