[brailleblaster] [brailleblaster.newdesign] push by brandon....@xxxxxxxxx - Removed error I introduced in the Ant Build on 2013-01-23 18:33 GMT

  • From: brailleblaster@xxxxxxxxxxxxxx
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Wed, 23 Jan 2013 18:33:51 +0000

Revision: a159d5465fb9
Branch:   default
Author:   Brandon Roller <brandon.r.roller@xxxxxxxxx>
Date:     Wed Jan 23 10:32:18 2013
Log:      Removed error I introduced in the  Ant Build
http://code.google.com/p/brailleblaster/source/detail?r=a159d5465fb9&repo=newdesign

Modified:
 /build.xml
 /src/main/org/brailleblaster/BBIni.java
 /src/main/org/brailleblaster/wordprocessor/DocumentManager.java

=======================================
--- /build.xml  Wed Jan 23 08:02:41 2013
+++ /build.xml  Wed Jan 23 10:32:18 2013
@@ -17,7 +17,7 @@
 includeantruntime="false" source="1.6" target="1.6" >
 <classpath>
 <pathelement path="${classpath}"/>
-<pathelement location="${classpath}/swt_win_64.jar"/>
+<pathelement location="${classpath}/swt.jar"/>
 <pathelement location="${classpath}/commons-exec-1.1.jar"/>
 <pathelement location="${classpath}/jliblouisutdml.jar"/>
 <pathelement location="${classpath}/commons-cli-1.2.jar"/>
=======================================
--- /src/main/org/brailleblaster/BBIni.java     Wed Jan 23 08:02:41 2013
+++ /src/main/org/brailleblaster/BBIni.java     Wed Jan 23 10:32:18 2013
@@ -99,8 +99,9 @@
                long seconds = System.currentTimeMillis() / 1000;
                instanceId = Long.toString(seconds, 32);
                LocaleHandler lh = new LocaleHandler();
-               Main m = new Main();
-               brailleblasterPath = getBrailleblasterPath(m);
+               //Main m = new Main();
+               //brailleblasterPath = getBrailleblasterPath(m);
+ brailleblasterPath = "C:\\Users\\broller\\Documents\\LocalTest\\brailleblaster.newdesign\\dist";
                osName = System.getProperty("os.name");
                osVersion = System.getProperty("os.version");
                fileSep = System.getProperty("file.separator");
=======================================
--- /src/main/org/brailleblaster/wordprocessor/DocumentManager.java Wed Jan 23 08:02:41 2013 +++ /src/main/org/brailleblaster/wordprocessor/DocumentManager.java Wed Jan 23 10:32:18 2013
@@ -101,7 +101,6 @@
        DocumentManager(WPManager wp, String docName) {
                this.wp = wp;
                this.db = new DocumentBase();
-               //this.shell = wp.getShell();
                this.item = new TabItem(wp.getFolder(), 0);
                this.group = new Group(wp.getFolder(),SWT.NONE);
                this.group.setLayout(new FormLayout());
@@ -169,7 +168,14 @@

        public void openDocument(String fileName){
                System.out.println(fileName + " is opened here");
-               setTabTitle(fileName);
+               try{
+                       db.startDocument(fileName, "preferences.cfg", 
"liblouisutdml.ini");
+                       setTabTitle(fileName);
+                       System.out.println("Code here");
+               }
+               catch(Exception e){
+                       e.printStackTrace();
+               }
        }

        public String getFileExt(String fileName) {

Other related posts:

  • » [brailleblaster] [brailleblaster.newdesign] push by brandon....@xxxxxxxxx - Removed error I introduced in the Ant Build on 2013-01-23 18:33 GMT - brailleblaster