`
badqiu
  • 浏览: 673918 次
  • 性别: Icon_minigender_1
  • 来自: 珠海
社区版块
存档分类
最新评论

rapid-framework发布v1.0.2版本

阅读更多

该版本主要增加的相关文档导航,及一些模板及目录的调整

在线文档也增加了不少内容.具体可以查看在线文档

项目Home: http://code.google.com/p/rapid-framework/

rapid-framework v1.0.2 ChangeLog



 

jar升级
          rapid-xsqlbuilder升级至v1.0.1,中括号[]默认自动进行toString()
modules/struts2修改
         struts/javacommon目录调整
         增加ant任务文件build.xml,install-struts2命令可以快速将web框架切换至struts2
模板修改
        template/other/java_hibernate_xml调整目录,增加${subpackage}
        struts2 的${className}Action.java实现Preparable接口
文档
       关键位置增加文档说明及目录增加相关readme说明


rapid-framework介绍


基于spring,struts(struts2),hibernate的web项目脚手架

一个类似 ruby on rails 的java web快速开发脚手架,本着不重复发明轮子的原则,框架只是将零散的struts(struts2)+spring+hibernate各个组件组装好在一起,并对struts及struts2进行改造,提供零配置编程,并内置一个强大的代码生成器及模板文件, 可以生成java的hibernat model,dao,manager,struts+struts2 action类,可以生成jsp的增删改查及列表页面

8
2
分享到:
评论
8 楼 louiscai 2008-11-21  
我想问一下,我在使用中,结合mysql都没有问题,但是结合oracle的表时,我发现oracle的主键不是自增的,这块我项目中怎样配置?然后数据库需要建触发器吗?
非常着急,谢谢!!
7 楼 badqiu 2008-09-26  
你的这个问题是没有主键
6 楼 jd2bs 2008-08-27  
报下面error是缺了啥 说generateConstructor not found 需要额外的包支持莫?



[Property] outRoot=d:/webapp-generator-output
[Property] subpackage=system
[Property] basepackage_dir=com/kingsoft
[Property] jdbc.schema=
[Property] jdbc.password=pass
[Property] hibernate_id_generator=increment
[Property] basepackage=com.kingsoft
[Property] jdbc.url=jdbc:mysql://localhost:3306/test
[Property] jdbc.catalog=
[Property] jdbc.driver=com.mysql.jdbc.Driver
[Property] jdbc.username=root

[Delete Dir] d:/webapp-generator-output
jdbc.schema=null jdbc.catalog=null
***************************************************************
* BEGIN generate table:blog
***************************************************************
[generate] template:insert_demo\i18n.properties to insert_demo\i18n.properties
[generate] template:insert_demo\spring-service.xml to insert_demo\spring-service.xml
[generate] template:java\${basepackage_dir}\${subpackage}\dao\${className}Dao.java to java\com/kingsoft\system\dao\BlogDao.java
[generate] template:java\${basepackage_dir}\${subpackage}\model\${className}.java to java\com/kingsoft\system\model\Blog.java
2008-8-27 16:08:13 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重:

on line 103, column 9 in java\${basepackage_dir}\${subpackage}\model\${className}.java generateConstructor not found.
The problematic instruction:
----------
==> user-directive generateConstructor [on line 103, column 9 in java\${basepackage_dir}\${subpackage}\model\${className}.java]
in user-directive generateCompositeIdConstructorIfis [on line 35, column 9 in java\${basepackage_dir}\${subpackage}\model\${className}.java]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: on line 103, column 9 in java\${basepackage_dir}\${subpackage}\model\${className}.java generateConstructor not found.
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:134)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.IfBlock.accept(IfBlock.java:82)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Macro$Context.runMacro(Macro.java:164)
at freemarker.core.Environment.visit(Environment.java:601)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:237)
at generator.Generator.saveNewOutputFileContent(Generator.java:169)
at generator.Generator.generateFile(Generator.java:113)
at generator.Generator.generateTable(Generator.java:89)
at generator.Generator.generateTable(Generator.java:49)
at generator.GeneratorMain.main(GeneratorMain.java:13)
java.lang.RuntimeException: generate table 'blog' oucur error,template is:java\${basepackage_dir}\${subpackage}\model\${className}.java
at generator.Generator.generateTable(Generator.java:91)
at generator.Generator.generateTable(Generator.java:49)
at generator.GeneratorMain.main(GeneratorMain.java:13)
Caused by: freemarker.core.InvalidReferenceException: on line 103, column 9 in java\${basepackage_dir}\${subpackage}\model\${className}.java generateConstructor not found.
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:134)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.IfBlock.accept(IfBlock.java:82)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Macro$Context.runMacro(Macro.java:164)
at freemarker.core.Environment.visit(Environment.java:601)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:237)
at generator.Generator.saveNewOutputFileContent(Generator.java:169)
at generator.Generator.generateFile(Generator.java:113)
at generator.Generator.generateTable(Generator.java:89)
... 2 more
Exception in thread "main"
5 楼 fish119 2008-08-27  
你好,试用了rapid-framework,效果不错。不过有点问题想问问,现在的rapid-framework是否支持父子表?一对一、一对多关系?
4 楼 lxy19791111 2008-08-16  
马上试用一下,支持你
3 楼 wangxin0072000 2008-08-14  
试了一下,效果很好。但是作为一个java项目,如果再能生成ant部署文件就更强了。
2 楼 jifeny 2008-08-14  
1 楼 lsx1982 2008-08-13  
badqiu 帮你顶顶~~

相关推荐

Global site tag (gtag.js) - Google Analytics