项目作者: jbosstools

项目描述 :
JBoss Tools :: Portlet { portlet }
高级语言: Java
项目地址: git://github.com/jbosstools/jbosstools-portlet.git
创建时间: 2012-10-20T11:23:02Z
项目社区:https://github.com/jbosstools/jbosstools-portlet

开源协议:

下载


The Portlet Tools project

Summary

Portlet Tools provides wizards for working with GateIn and JBoss Enterprise Portal Platform.

NOTE: This project is deprecated, and will likely be removed from JBoss Tools at some point in the future.

Install

Portlet Tools is part of JBoss Tools from
which it can be downloaded and installed
on its own or together with the full JBoss Tools distribution.

Get the code

The easiest way to get started with the code is to create your own fork,
and then clone your fork:

  1. $ git clone git@github.com:<you>/jbosstools-portlet.git
  2. $ cd jbosstools-portlet
  3. $ git remote add upstream git://github.com/jbosstools/jbosstools-portlet.git

At any time, you can pull changes from the upstream and merge them onto your master:

  1. $ git checkout master # switches to the 'master' branch
  2. $ git pull upstream master # fetches all 'upstream' changes and merges 'upstream/master' onto your 'master' branch
  3. $ git push origin # pushes all the updates to your fork, which should be in-sync with 'upstream'

The general idea is to keep your ‘master’ branch in-sync with the
‘upstream/master’.

Building Portlet Tools

To build Portlet Tools requires specific versions of JJava (1.6+) and
+Maven (3.1+). See this link for more information on how to setup, run and configure build.

This command will run the build:

  1. $ mvn clean verify

If you just want to check if things compiles/builds you can run:

  1. $ mvn clean verify -DskipTest=true

But do not push changes without having the new and existing unit tests pass!

Contribute fixes and features

Portlet Tools is open source, and we welcome anybody that wants to
participate and contribute!

If you want to fix a bug or make any changes, please log an issue in
the JBoss Tools JIRA
describing the bug or new feature and give it a component type of
portlet. Then we highly recommend making the changes on a
topic branch named with the JIRA issue number. For example, this
command creates a branch for the JBIDE-1234 issue:

  1. $ git checkout -b jbide-1234

After you’re happy with your changes and a full build (with unit
tests) runs successfully, commit your changes on your topic branch
(with good comments). Then it’s time to check for any recent changes
that were made in the official repository:

  1. $ git checkout master # switches to the 'master' branch
  2. $ git pull upstream master # fetches all 'upstream' changes and merges 'upstream/master' onto your 'master' branch
  3. $ git checkout jbide-1234 # switches to your topic branch
  4. $ git rebase master # reapplies your changes on top of the latest in master
  5. (i.e., the latest from master will be the new base for your changes)

If the pull grabbed a lot of changes, you should rerun your build with
tests enabled to make sure your changes are still good.

You can then push your topic branch and its changes into your public fork repository:

  1. $ git push origin jbide-1234 # pushes your topic branch into your public fork of Portlet Tools

And then generate a pull-request where we can
review the proposed changes, comment on them, discuss them with you,
and if everything is good merge the changes right into the official
repository.