Eclipse OSBP 设置 配置

My first app

Contents

[hide]

General information

Abstract

My1App is an OSBP application created purely from models, based on the OS.bee Software Factory.

If you want to have a basis on which you can explore OS.bee, this is a good starting point. You can try to modify models and see the resulting changes. The models show everything from persistence up to the UI and demonstrate a lot of the stunning features and simplicity of MDSD (Model-Driven Software Development) with OS.bee.

In this introduction, you will find the system requirements for running the app, the steps needed to generate the app, how to start the app and tips for configuring the app.

License information

The OS.bee Software Factory is distributed under a commercial license.

The product itself is based on the OSBP Software Factory which is an Eclipse project. In addition, the software depends on several other open source projects, and the entire list of licenses used can be found here.

Requirements

Please install the OS.bee Software Factory first. Instructions for the installation can be found here.

How to generate My1App

My1App is generated from within Eclipse.

  1. In Project Explorer, right click the mouse, then select New -> Other....

  2. Expand the entry OSBP Projects, select My1App and then click on Next.

  3. The general configuration window for My1App will then be displayed.

    • Click on Next.
  4. The JNDI Data Source can be set up on this page. Click Next when done.
    • The default value is h2memory, which saves all data in memory.
    • If you want to use a different JNDI Data Source, e.g., MySQL or Oracle, you can change it later.

  5. Setup for the mock-data generation. Click on Next.

  6. Choose the location where you would like to save the files of My1App
    • You can use the default location:

    • Or you can specify your own folder by unchecking the checkbox:

    • Click on Next when done.
  7. The XMS Memory is usually ? of total physical memory, but you can change it if you want. The desktop link which will be used later to start the application can also be found here.

    • Click on Finish to start the application generation step.

  8. When the window disappears, you can see in Project Explorer that all projects of My1App have been generated.

    • Please note that up until this point, the application has not yet been completely generated. Typically, the workspace is still being built (see the bottom right corner of the window). Wait until this process has completed.

  9. When the Building Workspace message disappears, the generation of My1App is complete. Project Explorer should now look like this:

How to start My1App

  • Now we are ready to start My1App.

Launch Eclipse Application

  1. Open the file my1app.product contained in the org.osbp.my1app.product project.

  2. First, the product definition should be validated. Please click the button at the top right.

  3. If no problems were detected, click on OK. Otherwise, fix any problems first.

  4. Now, click on Launch an Eclipse application to start My1App.

  5. While the application is being launched, open the Console view to monitor the progress. One of the last lines displayed should end with the phrase TRIGGER DONE....

Starting My1App in a Browser

To start My1App, point your browser to this address:
http://localhost:8081/my1app

  1. Login

    1. The login screen is displayed first.

    2. Enter the user name and password, e.g., Admin, Admin, then click on Login to continue.

  2. Welcome screen 
    • The welcome screen is now displayed.

  3. Menu list
    • At the top left of the window, just beside Admin, is the MENU button. Click it to pop open the menu.
    • There are two main menus: Menu and Persons.

    1. Menu

      • There are two submenus under Menu:

        1. Persons:

        2. User administration:

  4. Tab list
    • At the top right of the window, there are some tabs. By clicking on them, you can easily switch between pages.

How to configure My1App

Note that this part is optional, since My1App can always be started without additional configuration. If you want to change the default settings however, please continue reading.

  • All configuration is performed within Eclipse.

Select OSBP Application Project

  • The first step of the configuration is to change the Product Configuration from workspace to org.osbp.my1app.product in Preferences -> OSBP Application Configuration. Please note that this entry is not saved. You must repeat this step each time you wish to configure My1App. Or, you can access the Preferences for org.osbp.my1app.product by right-clicking org.osbp.my1app.product and selecting Properties

Detail Configuration

No configuration is necessary for My1App to run. However, if you wish to change anything, you can.
Click on the ‘>‘ symbol next to OSBP Application Configuration to expand the tree.

  1. Configure Authentication.

  2. Configure Bpm Engine.

  3. Configure Controls.

  4. Configure Data Sources.
    • All data sources can be set up here.

    • If you want to use other data sources, please configure them first. Click + to expand the tree, and then enter all necessary information, e.g. Server NameServer PortDatabase Name etc.

  5. Configure Email.

  6. Configure External Data Sources.

  7. Configure Localization.

  8. Configure PersistenceUnits.
    • All details about Persistence Units can be changed here.

    • Click + to expand the tree. You can then change the JNDI Data SourceDDL Generation etc.

  9. Configure Project Wizard.

  10. Configure Service Communication.

  11. Configure Verify Dependencies.
    • If you see all green points, it means My1App is ready to start without any dependency errors. If you see any red points, you must fix the errors before starting the app.

原文地址:https://www.cnblogs.com/Roxlin/p/9938455.html

时间: 2024-10-13 11:21:22

Eclipse OSBP 设置 配置的相关文章

Eclipse开发环境配置

1. java环境 安装 本系统使用java6开发,老师使用1.6.0 _45版本开发,如下图所示: "开发工具"目录提供了1.6.0 _45版本32位和64位两个安装程序,大家根据自己电脑操作系统进行选择. 双击运行1.6.0 _45安装程序在自己的电脑上安装java6环境,注意安装时将jdk和jre全部安装. 配置 安装后需要配置环境变量,如下所示: 配置classpath,如下: 并在path中添加java6安装目录中的bin目录路径,如下所示: 检验是否安装成功,cmd进入命令

《Eclipse的设置和第一个小程序的编写》

前言:本次Eclipse操作必须是完成JDK环境变量的配置.Toccat的下载和配置后,才能够顺利进行的.如果在本次操作中遇到困难可以留言. 一.编码前对Eclipse的设置 1.点击Window 2.点击Windows窗口下的Preferences 3.弹出这个窗口后点击Web下的JSP files,然后把Encoding(编码)改成UTF-8 二.创建包和服务器 1.点File,再点New,最后点Dynamic Web Project 2.先在Project name填一个包名(忘记打箭头了

Eclipse详细设置护眼背景色和字体颜色并导出

Eclipse详细设置护眼背景色和字体颜色并导出 Eclipse是一款码农们喜闻乐见的集成开发平台,但是其默认的主题和惨白的背景色实在是太刺激眼球了.下面,将给大家详细介绍如何设置成护眼主题的方法,也做个抛砖引玉,希望能有更多的主题出现在Eclipse的大家庭中. 随后,本文将介绍如何将设置好的主题导出保存,用于重装系统或者分享给朋友. 最后,介绍三种笔者用过的,适合Eclipse使用的编程字体作为彩蛋. 工具/原料 Eclipse 设置背景色和文字颜色 1 首先,是设置背景色的方式,打开Ecl

eclipse内存设置,tomcat内存设置,查看内存大小

eclipse内存设置,tomcat内存设置,查看内存大小 1.点击eclipse上的debug图标旁边的下拉箭头 2.然后选择Run Configurations, 3.系统弹出设置tomcat配置页面,在Argument中末尾添加参数中的VM arguments中追加: -Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m

github在eclipse中的配置

http://www.cnblogs.com/yejiurui/archive/2013/07/29/3223153.html http://blog.csdn.net/shehun1/article/details/9003039 要保存到private Git简介 Git是一个免费的.分布式的版本控制工具,或是一个强调了速度快的源代码管理工具.每一个Git的工作目录都是一个完全独立的代码库,并拥有完整的历史记录和版本追踪能力,不依赖于网络和中心服务器. Git 在管理项目时,在本地会有三个工

[工具篇]eclipse 中设置 Java/JSP/JS/HTML/CSS 智能提示

Visual Studio 2010 中的智能提示很好用,在eclipse中是否也可以通过设置使得java代码文件.jsp文件.html文件.css文件.js文件时也能有这样方便的智能提示呢?应该是有的: 1.设置java代码智能提示 1)打开eclipse→Windows→Preferences→Java→Editor→Content Assist 2)修改Auto Activation triggers for java的值为:zjava   点击apply按钮.(zjava主要是用在后面替

1.Maven+SpringMVC+Eclipse软件安装配置,Maven报插件错误,Eclipse总是卡死的解决办法,导入一个maven工程后 一直显示importing maven project

 使用Maven+SpringMVC+Eclipse软件安装配置过程中的问题: 1.Eclipse总是卡死的解决办法: 一:内存不足所以会卡死,配置一下eclipse.ini修改这几个值就好了-XX:MaxPermSize=768m-Xms1024m-Xmx3072m搜索 二:修改window->preferences --- > JAVA->Edittor->Hovers,将右侧所有复选框清空. 2.因为eclipse上一次未正常关闭,导致启动卡死,错误日志为: [plain

eclipse常用设置(字体设置、jdk版本更改、编码更改)

Unicode 统一编码表 ASCII GB2312 GBK Eclipse的常用配置 设置字体样式 Window——> preferences ——> General ——> Appearance ——> colors and Fonts Basic ——> Text Font        代码编辑区域 Debug ——> Console Font    控制台区域 推荐字体:Consolas 修改JDK版本 1.Window——> preferences —

Java Web学习(一) Eclipse与Tomcat配置

Java Web学习(一) Eclipse与Tomcat配置 一.Eclipse的选择 使用基于Eclipse的STS Ide ,个人感觉挺好用的. 地址:http://spring.io/tools/sts 根据以上两张图片,将STS 下载下来.然后解压缩. 用编辑器打开STS.ini 文件,在最后一行,添加    -Dfile.encoding=UTF-8 这样以后所有用STS 创建的文件都是UTF-8的编码了. 二.JDK与Tomcat的安装与配置 1.JDK安装与配置 地址: http: