From: Alistair Y. <ali...@sm...> - 2005-07-25 12:24:31
|
how do you patch the printed code once you've penned in a bug fix? sew-on or iron-on? LOL! Alistair On 25 Jul 2005, at 13:18, Brian Peter Clark wrote: >>> pressed Print >>> >> you print code? is your office cold or something? do you stuff it up >> your jupe? >> > > Don't you mean my jukes? > > what other use is there for printed code other than > >> keeping you warm? >> > > I'm of the older generation - like to see things on the printed page - > I can scribble with my green pen. > > Brian > >> >> Alistair >> >> >> On 25 Jul 2005, at 13:08, Brian Peter Clark wrote: >> >> >>> Have a look at the code where you return an uploaded file to the >>> browser (I think it's in BuildingServlet). There's a bit in there >>> that >>> snips "/bodington/" out of a URL. The blurb around it mentions >>> "context". >>> >>> I don't know enough about what's going on. I'm still shell-shocked >>> from the weekend - I loaded Facilites.java into Eclipse and pressed >>> Print. Took about a fiver's worth of paper. >>> >>> Regards, >>> >>> Brian >>> >>> >>> >>> >>> >>>>> the web application context >>>>> name = bodington is hardwired into the code >>>>> >>>>> >>>> I don't think so. I run it under all sorts of context names other >>>> than bodington, some of which I can't repeat before the 9pm >>>> watershed ;) >>>> >>>> Alistair >>>> >>>> On 25 Jul 2005, at 12:50, Brian Peter Clark wrote: >>>> >>>> >>>> >>>>> On a not-unrelated point, but more distantly related, perhaps. I >>>>> think that I am correct in saying that the web application context >>>>> name = bodington is hardwired into the code. >>>>> >>>>> I suggest that this might cause problems in the app server world >>>>> where you can set up the context at the press of a button at war >>>>> deployment time. >>>>> >>>>> Also, people might not like seing bodington in all their urls. >>>>> >>>>> Regards, >>>>> >>>>> Brian >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Peter Crowther wrote: >>>>>> >>>>>> >>>>>> >>>>>>>> From: [...] Alistair Young >>>>>>>> res.generic: >>>>>>>> strings_en.properties: >>>>>>>> system=CLAN >>>>>>>> >>>>>>>> templates: >>>>>>>> <localise id="system" /> >>>>>>>> >>>>>>>> change res.generic.strings_en.properties system=Weblearn for Ox >>>>>>>> etc. >>>>>>>> >>>>>>>> Alistair >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks - that's a much more specific answer than I could give. >>>>>>> Thought >>>>>>> there'd be something in place. >>>>>>> >>>>>>> - Peter >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> I have to confess that I took my cue from Alistair and put >>>>>> strings of >>>>>> the form 'foo.bar=<!-- Bodington-->Bodington' into i18n resource >>>>>> property files, which I realized was retarded at the time >>>>>> because it >>>>>> makes sense in an un-i18n-ed template for finding rendering of >>>>>> the >>>>>> system name, but not in a resource property file ;-). >>>>>> >>>>>> To my mind it would probably make sense to: >>>>>> >>>>>> * standardize 'system' on something more meaningful like >>>>>> 'institutional.system.name'. >>>>>> * ensure that all templates that require this import the same >>>>>> generic >>>>>> resource file. >>>>>> * ensure that this 1 name-value pair is of the form: >>>>>> institutional.system.name=CLAN (i.e. *no* HTML comment that can >>>>>> end up >>>>>> in the title of non-compliant browsers!). >>>>>> >>>>>> I'm just flagging this up for now. Hey, I might even do this >>>>>> myself, but >>>>>> I'm working on QuickLinks right now. >>>>>> >>>>>> >>>>>> Alexis >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> SF.Net email is sponsored by: Discover Easy Linux Migration >>>>>> Strategies >>>>>> from IBM. Find simple to follow Roadmaps, straightforward >>>>>> articles, >>>>>> informative Webcasts and more! Get everything you need to get >>>>>> up to >>>>>> speed, fast. http://ads.osdn.com/? >>>>>> ad_id=7477&alloc_id=16492&op=click >>>>>> _______________________________________________ >>>>>> Bodington-developers mailing list >>>>>> Bod...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF.Net email is sponsored by: Discover Easy Linux Migration >>>>> Strategies >>>>> from IBM. Find simple to follow Roadmaps, straightforward >>>>> articles, >>>>> informative Webcasts and more! Get everything you need to get >>>>> up to >>>>> speed, fast. http://ads.osdn.com/? >>>>> ad_id=7477&alloc_id=16492&op=click >>>>> _______________________________________________ >>>>> Bodington-developers mailing list >>>>> Bod...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net email is sponsored by: Discover Easy Linux Migration >>>> Strategies >>>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>>> informative Webcasts and more! Get everything you need to get up to >>>> speed, fast. http://ads.osdn.com/? >>>> ad_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> Bodington-developers mailing list >>>> Bod...@li... >>>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>>> >>>> >>>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration >>> Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> Bodington-developers mailing list >>> Bod...@li... >>> https://lists.sourceforge.net/lists/listinfo/bodington-developers >>> >>> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration >> Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Bodington-developers mailing list >> Bod...@li... >> https://lists.sourceforge.net/lists/listinfo/bodington-developers >> >> > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |