eclipse dorado plugin
http://lindows.iteye.com/blog/224004
下载中心
http://www.bstek.com/downloadcenter.htm
dorado debug shutcut
page time:Ctrl+Shift+F12
bstekIDE Eclipse插件扩展点应用介绍
http://macrochen.iteye.com/blog/138625
BstekIDE_1.2.2_Installer.jar
http://www.bstek.com/download?subpath=eclipse$2F
大小 | 最后修改时间 | 下载数量 | |
BstekDoradoStudioPluginInstallGuideline-v01-20070717.zip | 67KB | 2008-01-22 10:02:34 | 761 |
BstekIDE_1.2.1_Installer.exe | 60,171KB | 2008-04-14 14:59:40 | 30 |
BstekIDE_1.2.2_Installer.exe | 63,258KB | 2008-04-23 17:25:05 | 59 |
BstekIDE_1.2.3_Installer.jar | 73,111KB | 2008-06-24 18:17:03 | 18 |
BstekIDE_1.2.4_Installer.jar | 73,425KB | 2008-07-09 19:25:48 | 227 |
BstekIDE_1.2.5_Installer.jar | 73,444KB | 2008-09-01 18:35:04 | 224 |
BstekIDE_1.2_Installer.exe | 50,665KB | 2008-03-21 11:06:42 | 25 |
BstekIDE_1.2_Installer.jar | 52,143KB | 2008-03-21 18:06:31 | 17 |
com.bstek.ide.site | <Folder> | 2008-04-02 13:44:14 | <Folder> |
HelloWorld_Eclipse.rar | 69,662KB | 2008-01-22 17:02:30 | 60 |
update |
dorado begin ...
1.http://www.bstek.com/download?subpath=dorado$2Fdorado5$2Ezip/
D:\dorado5\如何开始.txt
请首先运行setup.bat完成dorado自动配置.
目录说明:
- [doc] 文档.
- [lib] dorado项目所需要使用到的jar.
- [sample] 一套演示如何使用dorado的例程.
- [studio] 集成开发工具.
- [upgrade] 与自动版本升级相关的文件.
安装说明:
1.运行安装目录下的setup.dat,仔细阅读两个选项说明.
2.双击dorado studio快捷方式启动dorado开发工具.
3.点击dorado studio开发工具顶部的Start Up Service按钮启动自带的Web服务器.
(这时会自动打开dorado sample的页面,更多的使用说明请参考sample和doc/下的开发手册)
附注:
- 登录dorado控制台(http://server:port/yourapp/console.d)的初始用户名为admin, 初始口令为dorado.
- 登录studio中服务的初始用户名为dev, 初始口令为dorado.
dorado current version:5.2 071127.1604 STD
D:\dorado5\studio\studio.exe
studio.exe>>>Start Up Service
http://localhost:8180/doradosample/main.jsp
studio.exe>>>Create a NEW Project>>>hr
Project >>>Configures>>>datasource>>>add
- Name:hrJDBC
- Type:JDBC
Name:hrJDBC Type:JDBC
press "ok"
D:\dorado5\hr\home\datasource.xml
- <?xml version="1.0" encoding="UTF-8"?>
- <datasources>
- <datasource name="hrJDBC" type="JDBC">
- <minEvictableIdleTimeMillis>30000</minEvictableIdleTimeMillis>
- <timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
- <driver>org.hsqldb.jdbcDriver</driver>
- <url>jdbc:hsqldb:D:/dorado5/hr/data/hsqldb/</url>
- <dialect>com.bstek.dorado.data.db.dialect.HSQLDBDialect</dialect>
- <user>sa</user>
- <minIdle>0</minIdle>
- <maxIdle>0</maxIdle>
- <maxActive>0</maxActive>
- <loginTimeout>0</loginTimeout>
- <maxWait>0</maxWait>
- </datasource>
- </datasources>
<?xml version="1.0" encoding="UTF-8"?> <datasources><datasource name="hrJDBC" type="JDBC"><minEvictableIdleTimeMillis>30000</minEvictableIdleTimeMillis><timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis><driver>org.hsqldb.jdbcDriver</driver><url>jdbc:hsqldb:D:/dorado5/hr/data/hsqldb/</url><dialect>com.bstek.dorado.data.db.dialect.HSQLDBDialect</dialect><user>sa</user><minIdle>0</minIdle><maxIdle>0</maxIdle><maxActive>0</maxActive><loginTimeout>0</loginTimeout><maxWait>0</maxWait></datasource> </datasources>
copy D:\dorado5\sample\web\WEB-INF\lib\hsqldb.jar to D:\dorado5\hr\web\WEB-INF\lib\hsqldb.jar
2.test hr_jdbc
studio.exe>>>Start Up Service>>>Project>>>hr>>>Configures>>>datasource>>>Validate>>>Test Finished Sucessfully!
为了方便以后的开发,我们需要把hrJDBC数据源配置到项目树的configures节点下的setting配置文件中。
D:\dorado5\hr\home\setting.xml
- <?xml version="1.0" encoding="UTF-8"?>
- <properties>
- <property name="common.defaultDataSource" value="hrJDBC"/>
- <!-- 略 -->
- </properties>
<?xml version="1.0" encoding="UTF-8"?> <properties><property name="common.defaultDataSource" value="hrJDBC"/><!-- 略 --> </properties>
3.添加视图模型对象
D:\dorado5\hr\src\com\bstek\dorado\demo\hr\Login.view.xml
- <?xml version="1.0" encoding="UTF-8"?>
- <view>
- <Datasets>
- </Datasets>
- <Controls>
- </Controls>
- </view>
<?xml version="1.0" encoding="UTF-8"?> <view><Datasets></Datasets><Controls></Controls> </view>
4.添加DataSet对象
dorado studio jdbc
jdbc/sntest
com.bstek.dorado.data.db.dialect.Oracle10gDialect
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@192.168.100.120:1521:sntest
snworkorder
snworkorder
查询操作
------------------------------------------------------------------------------------------------------------
D:\dorado5\provider\web\WEB-INF\classes\doradohome\datasource.xml
- <?xml version="1.0" encoding="UTF-8"?>
- <datasources>
- <datasource name="jdbc/sntest" type="JDBC">
- <minEvictableIdleTimeMillis>30000</minEvictableIdleTimeMillis>
- <timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
- <driver>oracle.jdbc.driver.OracleDriver</driver>
- <url>jdbc:oracle:thin:@192.168.100.120:1521:sntest</url>
- <dialect>com.bstek.dorado.data.db.dialect.Oracle10gDialect</dialect>
- <user>snworkorder</user>
- <password>snworkorder</password>
- <minIdle>0</minIdle>
- <maxIdle>0</maxIdle>
- <maxActive>0</maxActive>
- <loginTimeout>0</loginTimeout>
- <maxWait>0</maxWait>
- </datasource>
- </datasources>
<?xml version="1.0" encoding="UTF-8"?> <datasources><datasource name="jdbc/sntest" type="JDBC"><minEvictableIdleTimeMillis>30000</minEvictableIdleTimeMillis><timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis><driver>oracle.jdbc.driver.OracleDriver</driver><url>jdbc:oracle:thin:@192.168.100.120:1521:sntest</url><dialect>com.bstek.dorado.data.db.dialect.Oracle10gDialect</dialect><user>snworkorder</user><password>snworkorder</password><minIdle>0</minIdle><maxIdle>0</maxIdle><maxActive>0</maxActive><loginTimeout>0</loginTimeout><maxWait>0</maxWait></datasource> </datasources>
------------------------------------------------------------------------------------------------------------
D:\dorado5\provider\web\WEB-INF\classes\provider.view.xml
- <?xml version="1.0" encoding="UTF-8"?>
- <view>
- <Datasets>
- <Dataset id="dataset1" type="Wrapper" wrappedType="AutoSql" dataSource="jdbc/sntest" originTable="TBL_EMPLOYEE" keyFields="EMPLOYEEID">
- <Joins />
- <Fields>
- <Field name="EMPLOYEEID" originField="EMPLOYEEID" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="EMPLOYEENAME" originField="EMPLOYEENAME" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="MOBILENUM" originField="MOBILENUM" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="JOBLEVEL" originField="JOBLEVEL" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="EMPLOYEESYSTEMCODE" originField="EMPLOYEESYSTEMCODE" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="KINDCODE" originField="KINDCODE" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="KINDNAME" originField="KINDNAME" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="EMAIL" originField="EMAIL" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="PHONENUM" originField="PHONENUM" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="ORGFINACIALCODE" originField="ORGFINACIALCODE" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- <Field name="ORGFINACIALNAME" originField="ORGFINACIALNAME" table="TBL_EMPLOYEE" dataType="string" group="false">
- <Properties />
- </Field>
- </Fields>
- <MatchRules>
- <MatchRule level="1" dataType="string" escapeEnabled="true" table="TBL_EMPLOYEE" originField="EMPLOYEEID" operator="=" value=":EMPLOYEEID" />
- </MatchRules>
- <SortRules />
- <MasterLink />
- <Parameters />
- <Properties />
- </Dataset>
- <Dataset id="datasetQuery" type="Form">
- <MasterLink />
- <Fields>
- <Field name="EMPLOYEEID" dataType="string">
- <Properties />
- </Field>
- </Fields>
- <Parameters />
- <Properties />
- </Dataset>
- </Datasets>
- <Controls>
- <Control id="table1" type="DataTable" dataset="dataset1" editable="false" width="100%" />
- <Control id="buttonQuery" type="Button" command="commandQuery" />
- <Control id="commandQuery" type="QueryCommand" conditionDataset="datasetQuery" queryDataset="dataset1">
- <Parameters />
- <Events />
- </Control>
- <Control id="pagepilot1" type="PagePilot" dataset="dataset1" />
- <Control id="formConditions" type="AutoForm" dataset="datasetQuery" groupType="subwindow">
- <FormGroup>
- <Element name="EMPLOYEEID" field="EMPLOYEEID" type="TextEditor">
- <FieldLabel />
- <TextEditor />
- </Element>
- </FormGroup>
- </Control>
- </Controls>
- <Properties />
- </view>
<?xml version="1.0" encoding="UTF-8"?> <view><Datasets><Dataset id="dataset1" type="Wrapper" wrappedType="AutoSql" dataSource="jdbc/sntest" originTable="TBL_EMPLOYEE" keyFields="EMPLOYEEID"><Joins /><Fields><Field name="EMPLOYEEID" originField="EMPLOYEEID" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="EMPLOYEENAME" originField="EMPLOYEENAME" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="MOBILENUM" originField="MOBILENUM" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="JOBLEVEL" originField="JOBLEVEL" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="EMPLOYEESYSTEMCODE" originField="EMPLOYEESYSTEMCODE" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="KINDCODE" originField="KINDCODE" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="KINDNAME" originField="KINDNAME" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="EMAIL" originField="EMAIL" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="PHONENUM" originField="PHONENUM" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="ORGFINACIALCODE" originField="ORGFINACIALCODE" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field><Field name="ORGFINACIALNAME" originField="ORGFINACIALNAME" table="TBL_EMPLOYEE" dataType="string" group="false"><Properties /></Field></Fields><MatchRules><MatchRule level="1" dataType="string" escapeEnabled="true" table="TBL_EMPLOYEE" originField="EMPLOYEEID" operator="=" value=":EMPLOYEEID" /></MatchRules><SortRules /><MasterLink /><Parameters /><Properties /></Dataset><Dataset id="datasetQuery" type="Form"><MasterLink /><Fields><Field name="EMPLOYEEID" dataType="string"><Properties /></Field></Fields><Parameters /><Properties /></Dataset></Datasets><Controls><Control id="table1" type="DataTable" dataset="dataset1" editable="false" width="100%" /><Control id="buttonQuery" type="Button" command="commandQuery" /><Control id="commandQuery" type="QueryCommand" conditionDataset="datasetQuery" queryDataset="dataset1"><Parameters /><Events /></Control><Control id="pagepilot1" type="PagePilot" dataset="dataset1" /><Control id="formConditions" type="AutoForm" dataset="datasetQuery" groupType="subwindow"><FormGroup><Element name="EMPLOYEEID" field="EMPLOYEEID" type="TextEditor"><FieldLabel /><TextEditor /></Element></FormGroup></Control></Controls><Properties /> </view>
D:\dorado5\provider\web\provider.jsp
- <%@ page contentType="text/html; charset=UTF-8" %>
- <%@ taglib uri="http://www.bstek.com/dorado" prefix="d" %>
- <html>
- <head>
- <title></title>
- </head>
- <body>
- <d:View config="provider">
- <d:DataTable id="table1" />
- <d:AutoForm id="formConditions" />
- <d:PagePilot id="pagepilot1" />
- <d:Button id="buttonQuery" />
- </d:View>
- </body>
- </html>
<%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib uri="http://www.bstek.com/dorado" prefix="d" %> <html> <head> <title></title> </head> <body><d:View config="provider"><d:DataTable id="table1" /><d:AutoForm id="formConditions" /><d:PagePilot id="pagepilot1" /><d:Button id="buttonQuery" /></d:View> </body> </html>
sdfasfasf
Dorado在Eclipse中的集成
http://jarik.iteye.com/blog/169276
一、新建Eclipse工程。
二、拷贝dorado中的HOME文件夹到新工程中。
三、拷贝dorado中sample\web\WEB-INF下的dorado.properties,dorado.tld,dynamic-dropdown2.jsp三个文件到新工程的WEB-INF下。
四、修改dorado.properties文件:
configFileLoader=com.bstek.dorado.common.fileloader.PathFileLoader
configFileLoader.root=D:/eclipse/workspace/sample2/home
sourceFileLoader=com.bstek.dorado.common.fileloader.PathFileLoader
sourceFileLoader.root=D:/eclipse/workspace/sample2/src
D:/eclipse/workspace/sample2为工程路径。
五、修改新工程下的web.xml文件。
将dorado中sample\web\WEB-INF的web.xml文件内容中的
<filter>
<filter-name>doradofilter</filter-name>
<filter-class>com.bstek.dorado.core.DoradoFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>doradofilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>doradoservlet</servlet-name>
<servlet-class>com.bstek.dorado.core.DoradoServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>doradoservlet</servlet-name>
<url-pattern>*.d</url-pattern>
</servlet-mapping>
<taglib>
<taglib-uri>http://www.bstek.com/dorado</taglib-uri>
<taglib-location>/WEB-INF/dorado.tld</taglib-location>
</taglib>
粘贴到新工程的web.xml中,结果如下:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<filter>
<filter-name>doradofilter</filter-name>
<filter-class>com.bstek.dorado.core.DoradoFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>doradofilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>doradoservlet</servlet-name>
<servlet-class>com.bstek.dorado.core.DoradoServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>doradoservlet</servlet-name>
<url-pattern>*.d</url-pattern>
</servlet-mapping>
<jsp-config>
<taglib>
<taglib-uri>http://www.bstek.com/dorado</taglib-uri>
<taglib-location>/WEB-INF/dorado.tld</taglib-location>
</taglib>
</jsp-config>
</web-app>
其中红色部分的<jsp-config></jsp-config>为增加的内容,因为jsp使用的标签库是2.4的,所以加这一部分内容。
六、拷贝dorado中sample\web\WEB-INF\lib文件夹下的所有jar包到新工程的WEB-INF\lib下。
七、发布工程,测试配置是否正确。若出现以下信息,表示配置正确:
[dorado] >>> Starting Service... ... ...
[dorado] Using JDOM 0.9 as XML processor
[dorado] Configure loader: com.bstek.dorado.common.fileloader.PathFileLoader
[dorado] Configure root: D:/eclipse/workspace/sample2/home
[dorado] Source loader: com.bstek.dorado.common.fileloader.PathFileLoader
[dorado] Source root: D:/eclipse/workspace/sample2/src
[dorado] Loading "setting.xml"...
[dorado] Initializing Logger...
[dorado] Initializing Performance Moniter...
[dorado] Loading "user-config.xml"...
[dorado] Loading "mapping/global.map.xml"...
[dorado] Loading "mapping/dorado.map.xml"...
[dorado] Loading "mapping/sample.map.xml"...
[dorado] Initializing Velocity Service...
[dorado] Initializing Connection Pool...
[dorado] Testing Connection "doradosample"...
[dorado] Initializing Module Manager...
[dorado] >>> Service Started!
[dorado] Version: dorado-5.0 061119.2050 (Unregistered)
八、在新工程中新建文件。
命名为 工程名.dorado
比如工程名为exemple,那么新建的文件名为exemple.dorado
将dorado\sample下的doradosample.dorado的内容拷贝到新建的文件里。
#Dorado Project
#Wed Jun 01 03:14:16 CST 2005
webApp=doradosample
port=8180
sourcePath=${project.root}/src
localHome=${project.root}/home
defaultURI=
server=localhost
转载于:https://www.cnblogs.com/liuzhuqing/archive/2012/06/19/7480854.html
eclipse dorado plugin相关推荐
- eclipse maven plugin 插件 安装 和 配置
本文转自:http://www.blogjava.net/fancydeepin/archive/2012/07/13/eclipse_maven3_plugin.html maven3 安装: 安装 ...
- eclipse报告Plugin execution not covered by lifecycle configuration
在配置kotlin的MAVEN项目中,Eclipse出现以下错误: Plugin execution not covered by lifecycle configuration: org.jetbr ...
- Eclipse clearcase plugin
ClearCase官方的GUI客户端,实在是不好用.用Eclipse CDT开发,发现Sourceforget的Clearcase插件还是不错的,相比较ClearCase Explorer,以下优点: ...
- 使用m2e将工程转化为maven工程后eclipse报Plugin execution not covered by lifecycle configuration:xxx plugin问题的解决方法
从官方文档 http://wiki.eclipse.org/M2E_plugin_execution_not_covered 可以了解到,最好的解决方法是交给专门针对该插件的project confi ...
- Eclipse Vaadin Plugin插件安装
软件说明 Eclipse: 4.13.0 https://www.eclipse.org/downloads/ JDK:1.8.0_77 https://www.oracle.com/techn ...
- eclipse maven plugin 插件安装和配置
2019独角兽企业重金招聘Python工程师标准>>> 环境准备: eclipse(Helios) 3.6 maven 3.0.4 maven3 安装: 安装 Maven 之前要求先 ...
- eclipse plugin
安装插件 建立工程 LIB Activator.java package com.my.plugin;import org.eclipse.ui.plugin.AbstractUIPlugin; im ...
- Eclipse 之 EasyExplore 插件
Eclipse 之 EasyExplore 插件 分类: Java技术 2009-08-19 17:36 1838人阅读 评论(2) 收藏 举报 这个插件的1.04版支持eclipse 3.5 如果你 ...
- Eclipse java反编译插件之jadclipse
准备: eclipse3.6.net.sf.jadclipse_3.3.0.jar.jad.exe 一.先将net.sf.jadclipse_3.3.0.jar丢到eclipse的plugin目录 二 ...
最新文章
- 服务器产品选型与性价比图解
- 查找(包括顺序查找和折半查找)
- Asp.Net+SqlServer+EntityFrameWork(项目问题总结)
- 操作系统内存管理--简单、页式、段式、段页式
- 二层冗余网络引起的问题
- RHEL124第一天
- Spring+SpringMVC+Mybatis框架搭建
- 如何在 Mac 上更改特定应用程序的语言?
- 网站访问计数器 php,用PHP生成访客计数器
- 华为Metn40有没有鸿蒙系统,华为matex2测评_华为matex2上手测评
- 华为OSN1500B故障应急处理
- H5动画实现简单的转盘抽奖。
- Atiitt 知识图谱的艺术 艾提拉著 目录 1. 常见知识图谱的处理技术	1 2. 常用的公开知识图谱如DBpedia, Freebase, Yago,Openkg等	2 3. 构建知识图谱的方
- MongoDB——聚合管道之$unwind操作
- MapReduce实现商品推荐算法(用户购买向量*商品同现矩阵)
- iOS开发百度导航SDK的使用入门
- TOP15 科幻小说系列
- 第三章:Servlet、ServletConfig、ServletContext
- 缘分,有时就在一刹那
- 驾考科目三考试经验谈
热门文章
- RUNOOB python练习题9 如何在代码中加入砸瓦鲁多
- Swift中的闭包例子
- 动态链接库.so和静态链接库.a的区别
- Exchange server 2010系列教程之三 发送邮件测试
- gprof, Valgrind and gperftools - an evaluation of some tools for application level CPU profiling on
- c# params 工作原理。
- ASP.NET 数据库缓存依赖
- Linux下查看TOMCAT控制台
- 机器学习实践七----异常检测和推荐系统
- Java中获得了方法名称的字符串,怎么样调用该方法