I publish the binary library and a zip of include files.  In my ANT script, I 
have a dependencies.process target that runs after my dependencies.resolve and 
dependencies.retrieve to post process the downloaded dependencies.  I look for 
any include.zip files and auto-explode them back into individual files so the 
end user doesn't have to.  However, this assumes your end users are running 
your ANT script and that you are not just publishing to a common IVY repo for 
anyone in the world to use.  I use IVY in a corporate setting so I can control 
everything including the ANT scripts that the employees use which has my post 
process target.

---
Shawn Castrianni

-----Original Message-----
From: Peter Kahn [mailto:citizenk...@gmail.com] 
Sent: Thursday, July 07, 2011 10:56 AM
To: ivy-u...@ant.apache.org
Subject: C, C# and Ivy - Publishing binaries and many supporting files

Hi all,

How do you approach publishing a binary library plus a large number of
supporting files?   Specifically, we have a build that produces a binary DLL
+ many include files.  I'd like to know what's the standard practice and
what are the gotchas.

I can publish the DLL and a zip containing the include files which forces 
subscribers to retrieve and unpack prior to build I can publish the DLL and a 
lose directory of files but I'm concerned about effort required to maintain 
this over time
 - do I need to reference each file as a publishable/retrieveable artifact?
 - do I run into a risk of stale files being used by subscribe builds (foo.h is 
deleted and published, but foo.h remains on the subscriber build workspace even 
after retrieve)

What approach do you take to keep effort and cleanup risks low?

 Thanks

Peter


--
Peter Kahn
citizenk...@gmail.com
http://www.google.com/profiles/citizenkahn
Awareness - Intention - Action

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

Reply via email to