java 7 JDK forge 2.12.3
http://forge.jboss.org/document/sample-forge-usage-tasks
$ project-new --named example --topLevelPackage org.mycomp.myapp --type war --finalName myExample
$ jpa-new-entity --named SampleEntity
$ jpa-new-field --named sampleField
$ jpa-new-field --named createdOn --type java.util.Date --temporalType TIMESTAMP
$ jpa-new-entity --named Hurricane
$ jpa-new-entity --named Continent
$ jpa-new-field --named hurricanes --type org.example.model.Hurricane --relationshipType Many-to-Many --inverseFieldName continents
$ jpa-new-entity --named Speaker
$ jpa-new-field --named firstname
$ jpa-new-field --named surname
$ jpa-new-field --named bio --length 2000
$ jpa-new-field --named twitter
$ constraint-add --onProperty firstname --constraint NotNull
$ constraint-add --onProperty surname --constraint NotNull
$ constraint-add --onProperty bio --constraint Size --max 2000
$ jpa-new-entity --named SampleEntity
$ jpa-new-field --named sampleField
$ rest-generate-endpoints-from-entities --targets org.example.model.SampleEntity
$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/mydb --userName user --userPassword pwd --driverLocation /Users/bob/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect org.hibernate.dialect.PostgreSQLDialect
java-new-enum --named Language
java-new-enum-const ENGLISH
java-new-enum-const FRENCH
java-new-enum-const PORTUGUESE
All works
分享到:
相关推荐
JBoss Forge IntelliJ IDEA插件发表在 提供对IntelliJ IDEA中的命令和向导的支持。 要显示命令列表,请按Ctrl+Alt+4 。 在MacOSX上,使用Command + Option + 4 。安装使用IDE内置插件系统: 首选项>插件>市场>搜索...
简单插件 SimplistAddon 插件使您能够阅读简单的 JBoss Forge 插件代码。 依赖项:无(或) 设置 此插件需要以下安装步骤。 addon-install-from-git -url 这个站点
疯狂构建工具锻造插件一个 JBoss Forge 插件,通过 WildFly 构建工具提供 WildFly 9+ 应用服务器的交互式配置。 该插件支持通过对引用工件的分析提供的参数值的自动完成,例如功能包中可用的所有配置文件和子系统。 ...
rest提供了一个REST服务,用于在使用与JBoss Forge一起工作 文献资料 有关更多详细信息,请参见 基于Fabric8 Forge的系统测试 要检查系统测试,请查看 构建插件 要尝试加载项: cd addons mvn install 然后,您...
适用于JBoss Forge 2的Docker插件。 Docker插件为Forge项目中的Docker技术提供支持。该插件导出服务以供其他插件使用。 安装 从Forge CLI: addon-install-from-git --url ...
您会发现: - src/main/resources 中对应的 jboss forge 版本为 ZIP - src/main/resources 中 3.0.10 版本的 sapjco3.jar 从命令行将 sapjco3 jar 安装到本地 Maven 存储库(可在插件 POM 中找到): mvn install:...
01-roaster:有关Roaster API的示例02-炉:有关炉容器的示例03-template:有关在Forge中使用模板的示例附加组件一些示例需要外部插件并需要安装: addon-install --groupId org.jboss.forge.addon --name angularjs...
Forge 的 Hibersap 插件用于生成类以供 Hibersap 框架使用以连接到 SAP 系统的插件。 该插件允许在给定的 SAP 系统中搜索函数名称,并生成所有必需的类和配置文件,以将给定的函数与 Hibersap 框架一起使用。 您可以...
JBake 的 JBoss Forge 插件 这是一个为 JBake 项目提供 JBoss Forge Add-on 的项目。 Currently this project is in-development. 依赖项:无(或) 取决于 添加在 出口 可选的 DEP1 是的 不 DEP2 是的 是的 设置...
二、JBoss Forge、ShrinkWrap快速指南 三、使用 Arquillian 进行Java持久化测试 四、使用Arquillian + Drone + Selenium + Graphene 进行Web自动化测试 五、使用 Arquillian 在云端进行测试 --------------------...
miman-forge-plugin-util.zip,jboss forge插件项目中使用的实用程序类jboss forge插件项目中使用的实用程序类
#安装 JBoss Forge 下载 JBoss Forge 并按照说明进行操作。 按照这个链接 #安装VRaptor4插件 输入“forge”进入伪造控制台。 现在您需要安装 VRaptor 插件。 为此,请键入命令: addon-install-from-git --url ...
下载Forge 3: JBoss Forge打包在您最喜欢的IDE插件中,也作为独立的ZIP文件打包。 它们彼此独立。 Eclipse- IntelliJ IDEA- NetBeans- 命令行工具命令行工具入门: 命令行工具入门很容易: 下载发行版下载 该ZIP...
要简化使用JBoss Forge与JBoss Application Server 7的交互: : 用法 安装后,服务器必须正在运行才能使用任何管理命令。 安装(需要一个活动的项目) $ forge install-plugin jboss-as-7 $ as7 setup $ forge ...
安装并启动 jboss forge。 在伪造外壳中输入: forge install-plugin boottheme 或者 forge git-plugin git://github.com/lefloh/forge-boottheme-plugin.git Bootstrap 2.3 与 3.0 该插件现在使用 Bootstrap ...
JBoss Forge ct-插件 持续测试插件 让 Maven 持续测试您的项目 ct run 安装 安装并启动 jboss forge。 在伪造外壳中输入: forge git-plugin git://github.com/lefloh/forge-ctplugin.git
应用程序框架是使用JBOSS Forge工具生成的。 要运行Arquillian测试,请执行: mvn clean package 如果要部署和检查应用程序,请首先添加H2数据库连接资源:假设已启动Wildfly 8.2 $ {wildfly_home} \ bin \ jboss...
将 JBoss Forge 作为 RESTFul 应用程序运行 模块 core :在 Java EE 环境中引导 Forge 所需的类(取决于 CDI 和 Forge 核心 API) rest :暴露 UICommands 的 REST 端点 web :使用 REST 端点的示例 Web 应用程序 ...
安装并启动 jboss forge。 在伪造外壳中输入: forge install-plugin tree 或者 forge git-plugin git://github.com/lefloh/forge-tree-plugin.git 笔记 如果您使用的是Forge 1.2.3.Final或更小版本,请使用...
image//circleci.com/gh/forge/roaster.svg?style=svg[“circleci”,link=“https://circleci.com/gh/forge/roaster”]