-
1. Re: How to write a spec file for rpm
goldmann Aug 8, 2010 8:32 AM (in response to ingedeut)Fedora RPM guide is a great resource to understand the process of creating RPM's (detailed and fairly easy to understand, check especially chapters 8 and 9). Check also other RPM documentation listed here.
When I manage some spare time, I'll try to help you to write a spec file for JBoss ESB.
--Marek
-
2. Re: How to write a spec file for rpm
tpedone Aug 9, 2010 1:52 PM (in response to ingedeut)You could use the RPM Maven plugin to do this. We do something similar for JBoss AS. We use the maven dependency plugin to unzip the JBossAS zip, then use the RPM plugin to create an RPM of the unzipped files.
-
3. Re: How to write a spec file for rpm
ingedeut Aug 26, 2010 8:03 PM (in response to goldmann)Hallo Marek,
i have tried to write a spec file for jbossesb integrated in jbossas 5.1 like the spec file of Gatein. Then i have also created a jbossesb.init (for the Daemon) file and Finally the RPM Package. But by trying to install this package local in my machine (fedora 13), i still become the error that the Daemon of jbossesb is crasched (not successfully started). I have also tried to do the same with Gatein but the local installation always fails.
Can you please help me?
I give you the
- spec file,
- the jbossesb.init.d
- the original gz.tar file of jbossesb.
- The generated RPM
I will appreciate any help.
Regards
Younes
-
jbossesb.init.zip 4.0 KB
-
jbossesb.spec.zip 871 bytes
-
4. Re: How to write a spec file for rpm
goldmann Aug 30, 2010 5:09 AM (in response to ingedeut)Hi Younes,
If you ESB is crashed on start this is a good sign - you're getting closer!
First of all, log in to your instance and try to run it manually. Check every JBoss log – there is the answer for your problem. JAVA_OPTS setting too high maybe? Wrong directories?
Change your init script to fix this problem and then make same changes in your init script used for building the appliance and rebuild it.
--Marek