Hi Vic, I think you have encountered a different bug. The method that opens files on the command line needs modification. I thought you had created the folders manually. I'll also bet that the reason they aren't created on my machine is that Java doesn't like the C: at the beginning of the path. John On Tue, Mar 13, 2012 at 08:37:25AM -0400, Vic Beckley wrote: > John, > > First, I translated a document with the translate subcommand. The brlblst > folder wasn't present. All the folders were created properly. > > Next, I started BB with a filename on the command line. The folders weren't > present. BB opened the document fine. The folders were created correctly. I > translated the file using alt-T, T and BB disappeared as previously. It > looks like this bug has crept back in. Here is the error that was present in > the command prompt window: > > C:\Users\Vic\Downloads\BrailleBlaster>java -jar brailleblaster.jar serv.xml > Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String > index out of range: -1 > at java.lang.String.substring(Unknown Source) > at org.brailleblaster.wordprocessor.NewDocument.fillOutBody(Unknown Source) > at org.brailleblaster.wordprocessor.DocumentManager.createDocument(Unknown > Source) > at org.brailleblaster.wordprocessor.DocumentManager.translate(Unknown > Source) > at org.brailleblaster.wordprocessor.BBMenu$48.widgetSelected(Unknown Source) > at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) > at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) > at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) > at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) > at org.brailleblaster.wordprocessor.DocumentManager.<init>(Unknown Source) > at org.brailleblaster.wordprocessor.WPManager.<init>(Unknown Source) > at org.brailleblaster.Subcommands.<init>(Unknown Source) > at org.brailleblaster.Main.main(Unknown Source) > C:\Users\Vic\Downloads\BrailleBlaster> > > Lastly, I started BB without any options on the command line. The folders > weren't present. The folder structure was created just as it should have > been. I typed in some text and translated it. This worked and all the files > were created in the brlblst\temp folder. > > Conclusions: > The file creation is working as expected here. Can you tell me how to break > it? > The bug of not being able to translate an opened file has reappeared. > > > Best regards from Ohio, U.S.A., > > Vic > E-mail: vic.beckley3@xxxxxxxxx > > > -----Original Message----- > From: brailleblaster-bounce@xxxxxxxxxxxxx > [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer > Sent: Tuesday, March 13, 2012 8:10 AM > To: brailleblaster@xxxxxxxxxxxxx > Subject: [brailleblaster] The directories are still not being created on > Windows. > > subdirs() works on Linux but not on Windows. If you start BrailleBlaster > from the command line you can see the message about not opening the log > file, but the path looks correct. The brlblst directory is not in > appData\roaming > > John > > -- > John J. Boyer; President, Chief Software Developer > Abilitiessoft, Inc. > http://www.abilitiessoft.com > Madison, Wisconsin USA > Developing software for people with disabilities > > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities