Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Libra/Getting Started"
Line 2: | Line 2: | ||
== Installation == | == Installation == | ||
− | |||
Currently Libra supports only Eclipse Indigo. As a prerequisite you need to install Eclipse IDE for Java EE Developers. After that install Libra from the [https://hudson.eclipse.org/hudson/view/WTP/job/libra/ws/development/org.eclipse.libra.repository/target/site/ update site] | Currently Libra supports only Eclipse Indigo. As a prerequisite you need to install Eclipse IDE for Java EE Developers. After that install Libra from the [https://hudson.eclipse.org/hudson/view/WTP/job/libra/ws/development/org.eclipse.libra.repository/target/site/ update site] | ||
Line 28: | Line 27: | ||
= Builds = | = Builds = | ||
− | |||
Libra build run on build.eclipse.org via Hudson using: | Libra build run on build.eclipse.org via Hudson using: | ||
* [http://maven.apache.org/download.html at least Maven 3.0.0] | * [http://maven.apache.org/download.html at least Maven 3.0.0] | ||
Line 57: | Line 55: | ||
# [http://wiki.eclipse.org/EGit/User_Guide#Push_Upstream Setup push configuration] with the following push URL: <pre>ssh://committer_id@git.eclipse.org/gitroot/libra/org.eclipse.libra.git</pre> | # [http://wiki.eclipse.org/EGit/User_Guide#Push_Upstream Setup push configuration] with the following push URL: <pre>ssh://committer_id@git.eclipse.org/gitroot/libra/org.eclipse.libra.git</pre> | ||
# Push the patch | # Push the patch | ||
− | |||
= Get in touch = | = Get in touch = |
Revision as of 10:29, 21 February 2011
Contents
Getting Started
Installation
Currently Libra supports only Eclipse Indigo. As a prerequisite you need to install Eclipse IDE for Java EE Developers. After that install Libra from the update site
The site contains:
- OSGi Facet Feature
- WAR Products Core Feature
Usage
- WAR Products Core Feature provides WAR deployment for Equinox based applications
- OSGi Facet Feature introduces:
- A new facet "OSGi Bundle" for Dynamic Web, JPA and Utility projects.
- Wizard for converting WTP standard projects to OSGi Enterprise bundle projects:
- Dynamic Web projects to Web Application Bundle projects
- JPA projects to Persistent Bundle projects
- Utility projects and simple Java projects to OSGi Bundle projects
- Both options modify project's MANIFEST.MF in order to become a valid OSGi bundle.
The facet may be enabled during project creation or after that from Properties page of the project. The wizard is available from project's context menu Configure > Convert to OSGi Bundle Projects...
Note that you may need to adjust your target platform accordingly.
Obtaining Sources
Sources are available in Git repository http://git.eclipse.org/c/libra/org.eclipse.libra.git/
In order to sync them locally, you may use EGit
Builds
Libra build run on build.eclipse.org via Hudson using:
- at least Maven 3.0.0
- Tycho
Hudson: Libra@hudson.eclipse.org
Maven Build Sequence
Complete build sequence for a clean build (assuming $M2_HOME/bin is on the path and local Maven repository at ~/.m2/repository):
[~/org.eclipse.libra/development/org.eclipse.libra.releng] $ mvn clean install
How to reproduce a build to a certain change list
Fetch to the specific change and build with Maven as specified above.
How to propose and how to commit a patch
The process looks like this. More details follow below.
How to propose a patch
- Open a bug
- Create a patch
- Attach the patch to the bug
How to commit a patch
- Apply the proposed patch
- Test the patch
- Commit the patch
- Setup push configuration with the following push URL:
ssh://committer_id@git.eclipse.org/gitroot/libra/org.eclipse.libra.git
- Push the patch
Get in touch
Mailing list
https://dev.eclipse.org/mailman/listinfo/libra-dev
Bugzilla
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Libra