[ 
https://issues.apache.org/activemq/browse/AMQ-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56621#action_56621
 ] 

Peter Pothier commented on AMQ-2105:
------------------------------------

I downloaded
     activemq-rpm_standalone-project.tar.bz2

unzipped it, built
     MAVEN_OPTS=-Xmx800m mvn clean install -Dmaven.test.skip=true

and it created an RPM

     [INFO] Installing 
/opt/junk/activemq-rpm_standalone-project/target/activemq-rpm-5.3-1-SNAPSHOT.rpm
 to 
/root/.m2/repository/org/apache/activemq/activemq-rpm/5.3-SNAPSHOT/activemq-rpm-5.3-SNAPSHOT.rpm

     # ls -l target/activemq-rpm-5.3-1-SNAPSHOT.rpm
     -rw-r--r-- 1 root root 25722620 Dec 21 09:55 
target/activemq-rpm-5.3-1-SNAPSHOT.rpm

The RPM says "not relocatable", is there an option available to change this?

> Add support for rpm distribution
> --------------------------------
>
>                 Key: AMQ-2105
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2105
>             Project: ActiveMQ
>          Issue Type: New Feature
>    Affects Versions: 5.2.0
>         Environment: linux, rpm-based
>            Reporter: Erik Drolshammer
>         Attachments: activemq-rpm.tar.bz2, 
> activemq-rpm_standalone-project.tar.bz2
>
>
> Todo: 
> * Create separate rpm maven project 
> * move config, scripts, documentation from the jar project 
> 14:57 < Sherriff> Have you thought about distribution with for example rpm? 
> 14:58 < Sherriff> gtully: It seems to be working a lot better without 
> systemUsage and destinationPolicy defined. Thanks alot :) 
> 14:58 < rajdavies> Sherriff: yeah - would be a good idea
> 14:59 < Sherriff> rajdavies: Do you use Maven2 to build it now? 
> 14:59 < rajdavies> Sherriff: yep
> 15:00 < Sherriff> Cool. 
> 15:00 < Sherriff> If you would like I can set up an rpm-project based on 
> appassembler-m-p and unix-m-p. 
> 15:01 < Sherriff> for you. 
> 15:01 < rajdavies> Sherriff: that would be awesome!
> 15:02 < Sherriff> It use Java Service Wrapper and some (a bit outdated doc) 
> can be found here: 
> http://wiki.community.objectware.no/display/smidigtonull/RPM+Deployment+with+Java+Service+Wrapper
>  
> 15:02 < Sherriff> The project setup would then be 1. jar-project and 2. 
> rpm-project.  
> 15:03 < Sherriff> 2. Would contain config file, readmes, etc. and the 
> start/stop scripts are generated by appassembler. 
> I can probably do most of the work since I already have working rpm setup 
> that I use for other projects. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to