choenes
02-09-2006, 10:32 PM
I'm trying again to use the WebServiceExporter (located in Spring.Web.dll)
to export one of my objects and host it using Cassini.
This works but I've got some questions about the SpringAssembliesDeployer.
Should this SpringAssembliesDeployer be configurable? From all I can tell it's hard-coded to this:
private void CopySpringAssemblies (string privateSpringPath)
{
string windowsService = GetAssemblyDefiningType (typeof(ApplicationHost));
string logForNet = GetAssemblyDefiningType (typeof(ILog));
string core = GetAssemblyDefiningType (typeof(XmlObjectFactory));
Copy(windowsService, _pathToSpringBinaries, privateSpringPath);
Copy(logForNet, _pathToSpringBinaries, privateSpringPath);
Copy(core, _pathToSpringBinaries, privateSpringPath);
// TODO: copy dbg files?
}
I'd like to deploy Spring.Web.dll to the folder so I don't have to have it inside my /deploy/Cassini/bin/ folder alongside Cassini...
What do you guys think?
to export one of my objects and host it using Cassini.
This works but I've got some questions about the SpringAssembliesDeployer.
Should this SpringAssembliesDeployer be configurable? From all I can tell it's hard-coded to this:
private void CopySpringAssemblies (string privateSpringPath)
{
string windowsService = GetAssemblyDefiningType (typeof(ApplicationHost));
string logForNet = GetAssemblyDefiningType (typeof(ILog));
string core = GetAssemblyDefiningType (typeof(XmlObjectFactory));
Copy(windowsService, _pathToSpringBinaries, privateSpringPath);
Copy(logForNet, _pathToSpringBinaries, privateSpringPath);
Copy(core, _pathToSpringBinaries, privateSpringPath);
// TODO: copy dbg files?
}
I'd like to deploy Spring.Web.dll to the folder so I don't have to have it inside my /deploy/Cassini/bin/ folder alongside Cassini...
What do you guys think?