[brailleblaster] Re: push by john.bo...@xxxxxxxxxxxxxxxxx - the -utd option now works on 2012-05-06 04:32 GMT

  • From: "Vic Beckley" <vic.beckley3@xxxxxxxxx>
  • To: <brailleblaster@xxxxxxxxxxxxx>
  • Date: Sun, 6 May 2012 07:41:41 -0400

Hi John,

I feel a little dense here, but what is the significance of using UTDML? Can
you open an XML file and translate it into UTDML or do you have to just type
in the text to be translated? When you say only the braille pane is updated,
does this mean you can't emboss or what else is not updated? Thanks for
putting up with my curiosity.

I will be gone most of today but will test either this evening or tomorrow.
Again, have a good trip. Are you leaving today or tomorrow?


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: Sunday, May 06, 2012 7:33 AM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Re: push by john.bo...@xxxxxxxxxxxxxxxxx - the
-utd option now works on 2012-05-06 04:32 GMT

Wait for the next push. Then you can run BrailleBlaster from the command 
line like this

java -jar brailleblaster.jar -utd

When you translate UTDML will be used. Only the Braille pane is updated 
at the moment. Let me know how it works.

Eventually there will be a setting to specify whether to use UTDML 
instead of a command-line option.

Thanks,
John

On Sun, May 06, 2012 at 06:50:13AM -0400, Vic Beckley wrote:
> Is this something I can test?
> 
> 
> 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
> brailleblaster@xxxxxxxxxxxxxx
> Sent: Sunday, May 06, 2012 12:33 AM
> To: brailleblaster@xxxxxxxxxxxxx
> Subject: [brailleblaster] push by john.bo...@xxxxxxxxxxxxxxxxx - the -utd
> option now works on 2012-05-06 04:32 GMT
> 
> Revision: 57e6c333543e
> Author:   John Boyer <john.boyer@xxxxxxxxxxxxxxxxx>
> Date:     Sat May  5 21:31:50 2012
> Log:      the -utd option now works
> http://code.google.com/p/brailleblaster/source/detail?r=57e6c333543e
> 
> Modified:
>   /src/main/org/brailleblaster/BBIni.java
>   /src/main/org/brailleblaster/Main.java
> 
> =======================================
> --- /src/main/org/brailleblaster/BBIni.java   Sat May  5 18:43:13 2012
> +++ /src/main/org/brailleblaster/BBIni.java   Sat May  5 21:31:50 2012
> @@ -79,6 +79,7 @@
>       private static String tempFilesPath;
>       private static String platformName;
>       private static String userSettings;
> +private static boolean hSubcommands = false;
>       private static boolean hLiblouisutdml = false;
>       private static FileHandler logFile;
>       static final String BBID = "brlblst";
> @@ -140,7 +141,8 @@
>                       logger.addHandler (logFile);
>               }
>               if (args.length > 0) {
> -for (int i = 0; i < args.length; i++) {
> +int i = 0;
> +while (i < args.length) {
>   if (args[i].charAt(0) != '-') {
>   break;
>   }
> @@ -156,7 +158,11 @@
>                               else {
>                                       System.out.println ("Bad option " +
> args[i]);
>                               }
> -                     }
> +i++;
> +                     }
> +if (i < args.length) {
> +hSubcommands = true;
> +}
>               }
>               if (gotGui) {
>                       try {
> @@ -199,6 +205,10 @@
>       {
>               return hLiblouisutdml;
>       }
> +
> +public static boolean haveSubcommands() {
> +return hSubcommands;
> +}
> 
>       public static void setVersion (String version) {
>               BBVersion = version;
> =======================================
> --- /src/main/org/brailleblaster/Main.java    Tue Oct  4 21:17:38 2011
> +++ /src/main/org/brailleblaster/Main.java    Sat May  5 21:31:50 2012
> @@ -47,11 +47,10 @@
>   BBIni.initialize(args);
>   BBIni.setVersion ("brailleblaster-1.3.0");
>   BBIni.setReleaseDate ("October 5, 2011");
> -if (args.length == 0)
> +if (BBIni.haveSubcommands()) {
> +new Subcommands(args);
> +} else {
>   new WPManager (null);
> -else
> -{
> -new Subcommands (args);
>   }
>   Display display = BBIni.getDisplay();
>   if (display != null)
> 

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities



Other related posts: