Skip to main content
Participant
April 7, 2008
Question

"Special" version of Velocity required by Flex SDK?

  • April 7, 2008
  • 1 reply
  • 461 views
The Flex compiler (mxmlc) appears to have a dependency to a customized version of Velocity (more on this below). Is this correct? If so:
1) What changes were made to Velocity source code?
2) Does Adobe intend to release them?

The reason I believe that the Velocity classes may have been modified for Flex is because the compiler source code includes a class called flex2.compiler.util.VelocityManager, which has an external dependency to flex.util.SerializedTemplateFactory, which is currently available only in compiled form inside the mm-velocity-1.4.jar.

I thought it was curious that (1) SerializeTemplateFactory was put inside the velocity .jar, and (2) that the .jar contains the following String: "Make sure you are using the special velocity in flex/sdk/lib."
This topic has been closed for replies.

1 reply

Participating Frequently
April 7, 2008
We made some changes to improve the parsing performance for mxmlc and we're working on open-sourcing these changes; thanks for bringing it up :)