On Jan 25, 2008 1:16 PM, Simon Laws <[EMAIL PROTECTED]> wrote: > Sebastien/Ant > > > > > > Here's a longer scenario, showing how I want to use contributions and > > > composites in a domain for the store tutorial I've been working on. > > > A real eye opener. Thank you for this. > > snip... > > > > > getting this to work on a single node first without the gui and > individual > > > > deployment steps and then add those things once we have something basic > > working? > > How about the following as some first steps. > > 1. Disengage the Node from the domain in the way that it is connected at > the > moment leaving the Node able to load Contributions and start composites > as > it does currently in stand alone mode. Doing this we remove the sca > application that is used to connect the node to the domain and the need to > pull in WS, JSON etc that came up on another thread. > > 2. Wrap the Node in the first run options we want to test with (standalone > and tomcat webapp would give us enough to try most of the samples). Add > the > code that loads all contributions that are available from the file system. > Ant already has this code in various forms > > 3. As an experiment make a Domain that takes as input > a - Contributions from disc (again can re-use Ant's contribution loading > code) > b - a topology file something like [1] > > and produces as output > > c - a list of which contributions need to be copied to which node and > appropriate warnings about missing dependencies > d - updated contributions/composites so that references that refer to > services in remote nodes have absolute URLs written in to appropriate > bindings. > > We also have most of the code already to do a-d in various places. d is > the trickiest bit but provides the ideal opportunity to tidy up the > binding > URL calculation story. > > Thoughts? > > Simon > > [1] http://www.mail-archive.com/[email protected]/msg26561.html >
Sounds fine to me, and to try and progress things along unless there's alternative suggestions I'd like to make a start at this. Any help welcomed, first for me will be to get the store tutorial contributions running in a single node. ...ant
