From: Alistair Y. <ali...@sm...> - 2005-05-25 16:01:51
|
I've humbly put a new XmlTemplate on head that should fix the windows problem Alistair On 25 May 2005, at 16:49, Alexis O'Connor wrote: > Alistair Young wrote: >> cmon, give me some credit - I don't hard code! >> bodingtonProperties is set via >> breq.getRealPath("/WEB-INF/bodington.properties") >> on windows it comes out with backslashes as it should, however, this >> is no normal system, this is bodington and the result has to be >> written as code into a java file: >> writer.println("bodingtonProperties = \"" + bodingtonProperties + >> "\";"); >> I could just do bodingtonProperties.replaceAll("\\", "\\\\"); >> the only reason I need bodingtonProperties is to get the language >> debug level as BuildingContext is incapable of updating >> bodington.properties - it reads it once then forgets it's there, so >> using BuildingContext.getProperty() doesn't work in a dynamic >> environment - unless I've missed something? >> the alternative is to store the debug level as a user setting but >> that's overkill. A debug level was specifically requested and >> bodington.properties was the cleanest way to do it. > > I think I understand better now. Don't worry, I think Windoze is a > pile of w*nk too, but I believe they have quite a big share of the > desktop market, so I think we're kinda obliged to support it ;-). > >> I hope you meant the hardback edition of the beano annual? > > Is there any other!? ;-). > >> Would you like to do the build file update for res.jar seeing you >> designed the process and are more familiar with it? > > No worries on this score. I was working on a fix as your reply popped > into my inbox. Should be committed back very soon! > > > Alexis > > > ------------------------------------------------------- > SF.Net email is sponsored by: GoToMeeting - the easiest way to > collaborate > online with coworkers and clients while avoiding the high cost of > travel and > communications. There is no equipment to buy and you can meet as often > as > you want. Try it > free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |