Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

百度fis的jar包在哪下? #26

Open
bigdogaaa opened this issue Aug 31, 2015 · 5 comments
Open

百度fis的jar包在哪下? #26

bigdogaaa opened this issue Aug 31, 2015 · 5 comments

Comments

@bigdogaaa
Copy link

用了jello,spring集成时有个bean是百度的类,但是mavencentral里找不到。
com.baidu.fis.velocity.spring.FisBean

<!--初始 fis 配置-->
<bean id="fisInit" class="com.baidu.fis.velocity.spring.FisBean" />

另外,

<bean id="velocityConfigurer" class="org.springframework.web.servlet.view.velocity.VelocityConfigurer">
    <property name="resourceLoaderPath" value="/WEB-INF/views/"/>
    <property name= "velocityProperties">
        <props>
            <prop key="input.encoding">utf-8</prop>
            <prop key="output.encoding">utf-8</prop>
            <!--启用 fis 提供的自定义 diretives 启动-->
            <prop key="userdirective">com.baidu.fis.velocity.directive.Html, com.baidu.fis.velocity.directive.Head, com.baidu.fis.velocity.directive.Body, com.baidu.fis.velocity.directive.Require, com.baidu.fis.velocity.directive.Script, com.baidu.fis.velocity.directive.Style, com.baidu.fis.velocity.directive.Uri, com.baidu.fis.velocity.directive.Widget, com.baidu.fis.velocity.directive.Block, com.baidu.fis.velocity.directive.Extends</prop>
        </props>
    </property>
</bean>

这个bean里的userdirective中的标签依赖什么jar包?

@2betop
Copy link
Contributor

2betop commented Aug 31, 2015

包源代码在此:https://github.com/fex-team/fis-velocity-tools

clone 下来后,通过 mvn package 就能生成 jar 包。

@bigdogaaa
Copy link
Author

3Q。。。这里回复的好快,去jello里提问等好久。

@2betop
Copy link
Contributor

2betop commented Aug 31, 2015

没看到,不好意思

@bigdogaaa
Copy link
Author

这里还是没有我需要的那个的类库com.baidu.fis.velocity

@2betop
Copy link
Contributor

2betop commented Aug 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants