Re: RPM support

Steve Loughran <[email protected]> Mon, 04 Jun 2007 15:04:15 +0100
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Xavier Grehant wrote:
> Hi -
> I tried 'ant rpm' from core/release/ but Ivy comes with all these
> unresolved dependencies and breaks. Apparently it looks for
> sf-components jars that I don't have nor need.
> Maybe I missed some Ivy configuration so that it doesn't try to
> package everything?
> I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and
> apparently 'ant release' doesn't call the rpm task, and the 'rmp' task
> is not imported at this level.
> Xavier

The rpm generation is off on the side of the main installer, which is 
also created in core/release, and uses izpack to create a cross-platform 
installer of everything. Its the izpack dependencies which are stopping 
your build from working. We could set up a new project just for the 
RPMs, but we may want to pull in more components and generate separate 
RPMS for each, which would be the best long-term way.

Once you've done a build of everything (try running "ant published" in 
the core directory), then the stuff will get picked up from then 
on...there's no need to rebuild them whenever something changes.

Incidentally, there are some good slides on Ivy from apache con; Xavier 
Hanin is the man behind it:
http://incubator.apache.org/ivy/presentations/apache-con-2007/slides.ppt

-steve

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/