velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DiFrango, Ron" <ron.difra...@capitalone.com>
Subject RE: Template Size
Date Tue, 13 Jul 2004 05:10:37 GMT
Dave,

Thanks for your response.

I too am trying to avoid coding it by hand as this problem is easily solved
by templating it via Velocity.  Believe me I wish I was not involved in the
COBOL code, but sometimes in this world you have to do things you do not
like. :-)

I just figured out my problem, I was not explicitly flushing and closing the
output stream, therefore some characters were getting missed.  Once I did
that it worked like a champ.

I am using

Thanks,

Ron

-----Original Message-----
From: Dave Newton [mailto:dave@solaraccess.com] 
Sent: Tuesday, July 13, 2004 12:57 AM
To: Velocity Users List
Subject: Re: Template Size


Ron DiFrango wrote:
> Not sure if anyone else has tried something like this, but I am trying
> to use Velocity to generate some COBOL code.

I tried generating COBOL code by hand once and that was way more than enough
for me.

> The problem I am running into is that my template file is getting cut
> off after 196 lines of the input file.

Weird. Doesn't happen for me with an empty context.

So... you didn't give us much to go on.

What's in the velocity log? 
What version are you using? 
What are you putting into the context? 
How are you evaluating the template?
Why COBOL? (Just kidding :)

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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