邓华

BlogJava 联系 聚合 管理
  48 Posts :: 0 Stories :: 149 Comments :: 0 Trackbacks
总结APPFUSE在应用过程中出现的BUG,以及应用心得.

1. 在appfuse开发过程中, 如果不想设置环境变量CATELINA_HOME, 即TOMCAT位置, 可以修改properties.xml

<!-- These values are only used if not specified in build.properties -->
    
<property name="tomcat.home" value="${env.CATALINA_HOME}"/>    

将其中的values 修改为tomcat的实际路径,如: E:\dev\server\tomcat-5.0.28_appfuse

2. 如果使用的数据库为mysql5,将字符集设定成UTF-8时, 可能会出现错误:

db-load:
  [dbunit] Executing operation: CLEAN_INSERT
  [dbunit] on file:
C:\dev\eclipse\workspace\appfuse\metadata\sql\sample-data.xml
  [dbunit] with format: xml
  [dbunit] WARNING - app_user.enabled data type (1111, סbitע) not
recognized and will be ignored. See FAQ f

BUILD FAILED
C:\dev\eclipse\workspace\appfuse\build.xml:672:
org.dbunit.dataset.NoSuchColumnException: app_user.enabled 

这是1.8.2的一个BUG, 在1.9中已经解决.  如果需要用1.8.2 需要修改两个地上
   a) https://appfuse.dev.java.net/source/browse/appfuse/src/dao/org/appfuse/model/User.java?r1=1.22&r2=1.23
   b) https://appfuse.dev.java.net/source/browse/appfuse/metadata/sql/sample-data.xml?r1=1.9&r2=1.10

3. 在使用ant new初建工程的时候, 在新工程中,如果运行ant test-all 会报错

Test step verifytitle (E:\dev\work\app\password\test\web\web-tests.xml:223: )  named "<unknown>" failed with message "Wr
ong document title found! Expected "AppFuse ~ ????????????" but got "AppFuse ~ ???????????""

这个是由于appfuse测试过程中对中文的支持问题. 解决方法忘记了..-_- 
posted on 2006-03-11 18:39 邓华的碎碎念 阅读(1354) 评论(1)  编辑  收藏

Feedback

# re: appfuse1.82 应用总结 2007-07-10 10:34 chen bo
不错  回复  更多评论
  


只有注册用户登录后才能发表评论。


网站导航: