From: Steve L. <ste...@hp...> - 2007-06-15 12:05:12
|
Andreas Unterkircher wrote: > Hello, > > I just tried to build SF 3.11.000beta on Mac OS X but it fails with > > rpm: > [rpm] Building the RPM based on the smartfrog.spec file > > BUILD FAILED > /Users/unterkir/workspace/SmartFrog/build.xml:491: The following error > occurred while executing this line: > /Users/unterkir/workspace/SmartFrog/release/build.xml:291: > java.io.IOException: rpm: not found > > This is understandable as there is no rpm on Mac OS X as far as I know. > I think it would be best to make the rpm task optional and disabled per > default. Or one introduces some detection to see if rpm is present on > the build machine. > I had the build switching to use rpmbuild on unix/not unix, as you can even get the exe on non-linux systems. I will tweak the test to be unix && rpmbuild is in env.PATH . |