On 4/5/02 2:09 AM, "Sam Joseph" <[EMAIL PROTECTED]> wrote:
> Geir Magnusson Jr. wrote: > >> On 4/4/02 7:29 PM, "Sam Joseph" <[EMAIL PROTECTED]> wrote: >> >>> Hi there, >>> >>> Not sure if this is the right place for bugs, but I think that the >>> latest release of velocity has a small problem in that the ant build.xml >>> file doesn't place the velocity-dep-1.2.jar in the forumdemo. It may be >>> that I didn't use ant exactly according to your instructions, but I >>> would have thought that the build.xml file should include a depedency >>> that makes sure both velocity-1.2.jar and velocity-dep-1.2.jar are >>> present in the forumdemo war .... >>> >> >> Yep - if you are right, we should fix that. Will do in the 1.3 release. >> >> However - you don't need both jars - because the -dep- jar is the velocity >> jar with its dependencies (commons-collections and avalon-logkit) >> included... >> > Hmm, maybe I was mistaken then, because adding the velocity-dep-1.2.jar > certainly seemed to clear up the problem ... I'll just see if I can > replicate it .... > > Yeah, if I remove the velocity-dep-1.2.jar from the forumdemo I get this > error appended below. > If I put velocity-dep-1.2.jar back in it goes away -- maybe something > necessary is missing from velocity-1.2.jar, or, ah, I think I understand > - the system is supposed to work with the velocity-dep-1.2.jar and the > velocity-1.2.jar is not intended for the examples .... I just have to > make sure to use the velocity-dep-1.2.jar in tomcat .... [snip] Yep - you got a class not found exception because the non-dep jar doesn't contain the external dependencies and the -dep jar does, for convenience. Another way : Velocity-dep-1.2.jar == velocity-1.2.jar + commons-collections.jar + logkit.jar -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting The bytecodes are language independent. - Sam Ruby -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
