You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Vincent van Beveren <vi...@nazarene.nl> on 2005/01/21 13:09:32 UTC

Crunshing the default VM

Hi everyone,

I have included a velocity Macro with the velocimacro.library property. 
This macro is used to build some components and stuff. Unfortunalty for 
readablility there is a lot of whitespace in the macro, which can all be 
cleared out. Is there a way to clear whitespace, because it increases 
the transfer size, and makes the source of the HTML very unreadable.

Is there somethnig that can solve this?

Thanks,
Vincent

-- 
XIAM Solutions B.V.
Barchman Wuytierslaan 72A
3818 LK AMERSFOORT
tel. : +31(0)33 462 40 07
e-mail: vincent@nazarene.nl, info@xiam.nl

WAARSCHUWING:
Dit bericht is UITSLUITEND bestemd voor de (rechts)perso(o)n(en) aan welke het bericht is gericht. Het kan vertrouwelijke of alleen voor deze rechts)perso(o)n(en) bestemde informatie bevatten, die niet mag worden geopenbaard. Als dit bericht niet voor u bestemd is, mag u de ontvangen informatie niet lezen, gebruiken, verspreiden of kopiƫren. Als u dit bericht per abuis heeft ontvangen, gelieve het bericht dan te vernietigen en contact op te nemen met de afzender.

WARNING:
This message is intended ONLY for the person(s) or entity to which it is addressed and may contain confidential and/or privileged information, the disclosure of which is prohibited. If you are not the intended recipient you may not read, use, disseminate or copy the information transmitted. If you have received this message by mistake, please contact the sender and delete the material from any computer.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19-1-2005


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


Re: Crunshing the default VM

Posted by Shinobu Kawai Yoshida <sh...@gmail.com>.
Hi Vincent,

> I have included a velocity Macro with the velocimacro.library property.
> This macro is used to build some components and stuff. Unfortunalty for
> readablility there is a lot of whitespace in the macro, which can all be
> cleared out. Is there a way to clear whitespace, because it increases
> the transfer size, and makes the source of the HTML very unreadable.
> 
> Is there somethnig that can solve this?

For now, you can put your name somewhere in here:
   http://wiki.apache.org/jakarta-velocity/VelocityWhitespaceGobbling

The "One of many threads" link carries some solutions you can apply right now.

Best regards,
-- Shinobu

--
Shinobu "Kawai" Yoshida <sh...@gmail.com>

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