Hmm, I just can't seem to get this working proper in 7.6 and it worked
fine in 7.5 for some reason. Here's the command line used to start the application, webserver.exe -noherald webserver.im -hlstrc webserver.st I have a subsystem with RuntimeSystem as prerequisite, MySubsystem>>prerequisiteSystems ^Array with: RuntimeSystem MySubsystem>>setUp super setUp. Transcript cr; show: 'Activating online subsystem'. I also have a webserver.st startup configuration file with the following, Transcript cr; show: 'Filing in some code'! And yet the things don't quite run in the order I would expect them to, because headless-transcript.log shows the following, Activating online subsystem Filing in from: webserver.st Ffiling in some code So the question is, how do I make my subsystem activate after all the command line arguments have finished processing? I tried adding HeadlessImage subsystem to the list, which is where startup file processing takes place, but no to avail. Thanks! -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 [hidden email] CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Of course for the sake of getting going I ended up with,
HeadlessImage startupFilename asFilename fileIn. in my subsystem's #setUp, which means it'll run twice, so I'm still looking for proper ways of doing this. I could also just abandon -hlstrc and replace it with my own argument, but it would require updating multiple services in a managed environment, which is something I really don't want to do. Also, why the #fork in HeadlessImage>>readStartupFile? Thanks, -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 [hidden email] CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf > Of Boris Popov > Sent: Thursday, June 05, 2008 10:56 AM > To: [hidden email] > Subject: [vwnc] [7.6] How to ensure that subsystem runs after all > commandline arguments? > > Hmm, I just can't seem to get this working proper in 7.6 and it worked > fine in 7.5 for some reason. > > Here's the command line used to start the application, > > webserver.exe -noherald webserver.im -hlstrc webserver.st > > I have a subsystem with RuntimeSystem as prerequisite, > > MySubsystem>>prerequisiteSystems > ^Array with: RuntimeSystem > > MySubsystem>>setUp > super setUp. > Transcript cr; show: 'Activating online subsystem'. > > I also have a webserver.st startup configuration file with the > following, > > Transcript cr; show: 'Filing in some code'! > > And yet the things don't quite run in the order I would expect them > because headless-transcript.log shows the following, > > Activating online subsystem > Filing in from: webserver.st > Ffiling in some code > > So the question is, how do I make my subsystem activate after all the > command line arguments have finished processing? I tried adding > HeadlessImage subsystem to the list, which is where startup file > processing takes place, but no to avail. > > Thanks! > > -Boris > > -- > +1.604.689.0322 > DeepCove Labs Ltd. > 4th floor 595 Howe Street > Vancouver, Canada V6C 2T5 > http://tinyurl.com/r7uw4 > > [hidden email] > > CONFIDENTIALITY NOTICE > > This email is intended only for the persons named in the message > header. Unless otherwise indicated, it contains information that is > private and confidential. If you have received it in error, please > notify the sender and delete the entire message including any > attachments. > > Thank you. > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |