[Opensim-dev] Package manager

Diva Canto diva at metaverseink.com
Tue Jan 6 20:31:00 UTC 2015


On 1/6/2015 10:11 AM, Mic Bowman wrote:
> Couple more questions... i have several directories of stuff: 
> documents, scripts, etc. Do I need to list every single file using the 
> ImportAddinFile? 

Unfortunately, the mono addin directives don't understand wild cards. We 
could probably change it to understand them, and I almost did that... I 
had this problem too for packaging the html files for Wifi. In the end, 
I decided to package all of that in the dll itself, as embedded 
resources. See here:
https://github.com/diva/diva-distribution/blob/master/addon-modules/21Wifi/prebuild.xml#L58

Then, the first thing I do when Wifi runs is to unpack the embedded 
resources onto the local file system:
https://github.com/diva/diva-distribution/blob/master/addon-modules/21Wifi/WebApp/WebApp.cs#L393



> Also, I want two separate packages to be created, one for the 
> dispatcher and one for the remote control messages and handlers. that 
> implies two separate prebuild projects?

I don't think so. It all depends what kind of dependency network you 
have. mautil starts with the dll you give it, and simply follows the 
dependencies in order to create the package. So if you run mautil twice, 
once for each dll, you end up with different packages.



More information about the Opensim-dev mailing list