-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added various build instructions and corrected the source file path f…
…or the RPM git-svn-id: http://jboss-rpm.googlecode.com/svn/trunk@34 e808befa-01d2-11df-8f7b-bfe16de6f99b
- Loading branch information
Showing
2 changed files
with
64 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,40 @@ | ||
|
||
Build instructions | ||
================== | ||
RPM build instructions: 3 options | ||
================================== | ||
|
||
1) Download the jboss eap 5.0.0.GA binary [1] or build it from source [2]. | ||
Prerequisites | ||
------------- | ||
|
||
2) unzip the zipfile to src main, e.g.: unzip <zipfile> -d src/main/ | ||
Ensure that you have a .rpmmacros file in your $HOME directory. | ||
A sample of this file is provided in rpmmacros.sample. | ||
|
||
3) Ensure that you have a .rpmmacros file in your $HOME directory. | ||
A sample of this file is provided in rpmmacros.sample. | ||
Option 1: Regular build | ||
----------------------- | ||
|
||
4) build with 'mvn install'. The resulting RPM file is | ||
located at target/rpm/jboss-eap/RPMS/noarch/. | ||
Run 'mvn clean install'. This will download and build the source, and create the RPM. | ||
|
||
Option 2: Build manually from SVN | ||
--------------------------------- | ||
|
||
1) mkdir jboss-eap-5.0-src; cd jboss-eap-5.0-src | ||
2) svn co http://anonsvn.jboss.org/repos/jbossas/tags/JBPAPP_5_0_0_GA jboss-as | ||
3) cd jboss-as/build | ||
4) ant | ||
5) cd ../../.. | ||
6) mvn clean install -Djboss.skip.download -Djboss.skip.unzip -Djboss.skip.build | ||
|
||
Option 3: Download the binary | ||
----------------------------- | ||
|
||
1) Download the binary (login required) [1] | ||
2) mkdir -p jboss-eap-5.0-src/jboss-as/build/output/jboss-5.0.0.GA | ||
3) unzip <zipfile> -d jboss-eap-5.0-src/jboss-as/build/output/jboss-5.0.0.GA | ||
4) mvn clean install -Djboss.skip.download -Djboss.skip.unzip -Djboss.skip.build | ||
|
||
Successful build: The RPM | ||
------------------------- | ||
|
||
The resulting RPM is located in target/rpm/jboss-eap/RPMS/ | ||
|
||
[1] https://support.redhat.com/jbossnetwork/restricted/listSoftware.html?product=appplatform | ||
[2] http://anonsvn.jboss.org/repos/jbossas/tags/JBPAPP_5_0_0_GA/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters