Note that if you want a package that references a bunch of other packages, you can create a meta-package that contains only the dependencies (o init-wrap -meta), and make sure you setup use-project-repository: false to prevent the wrap folder from being needed. That way when someone pull your meta package, it pulls all its dependencies as well.
Seb
But maybe I'm approaching the problem from the wrong end. It now
occurred to me that OpenWrap is only meant to manage library versions
and assembly references, not final packages, so I'll think of a
different approach.
Sergej
2011/3/2 Sebastien Lambla <s...@serialseb.com>:
In the case you describe, I'd just push the package to a package server and let consumers use that.
2011/3/2 Sebastien Lambla <s...@serialseb.com>:
If it's an end application to package and deploy as an msi, with associated dlls, the result of the build of your application will be in the output folder (copied from the wraps) so you don't have to concern yourself with pulling stuff from the packages. If there's another scenario, I don't understand what it is, so I can't quite help you.
I have an application, let's call it App, which supports plugins.
There are three components: App, SPI, and Plugins. App depends on SPI
and a lot of third-party libs, and produces an .exe file (plus
.config). Plugins depend on SPI and produce a couple of .dlls. SPI
depends on a couple of third-party libs and is a single .dll.
What I need to create is a Distribution.zip containing
App+Plugins+dependencies. Note that there is no direct dependency
between App and Plugins so I can't really use the "copy everything to
output" mechanism of MSBuild directly. I would have to invent some
project that depends on App and Plugins but it feels a bit weird,
especially since that project would depend on App which is an .exe.
A better solution (that I'm currently thinking of implementing) would
be to have App produce a .zip of App.exe+dependencies (including
SPI.dll) and have it uploaded to some kind of repository, then have
Plugins produce a .zip of Plugin.dlls and have it also uploaded, and
then have some build script to get the latest versions of App.zip and
Plugins.zip from the repository, create a package, run tests, release,
and so on.
2011/3/2 Sebastien Lambla <s...@serialseb.com>:
Any reason why you do not want to use openwrap as your plugin discovery rather than roll your own?