Revision: 4622
          http://sourceforge.net/p/vexi/code/4622
Author:   mkpg2
Date:     2013-12-20 18:43:04 +0000 (Fri, 20 Dec 2013)
Log Message:
-----------
Fix regression. .vexi/cache dir was not being created.

Modified Paths:
--------------
    trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherApplet.java
    trunk/org.vexi-library.crypto/src/main/java/org/vexi/DotVexi.java

Modified: 
trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherApplet.java
===================================================================
--- trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherApplet.java 
2013-12-20 15:50:30 UTC (rev 4621)
+++ trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherApplet.java 
2013-12-20 18:43:04 UTC (rev 4622)
@@ -22,8 +22,6 @@
     public final void init() {
        
                launcher = createLauncher();
-               launcher.initSplash();
-               launcher.initDotVexi();
                log = launcher.log;
 
                // the rest is initialized outside of the restrictive applet 
sandbox
@@ -47,6 +45,8 @@
     
     public void go(){
        try{
+               launcher.initSplash();
+               launcher.initDotVexi();
                launcher.go();
        } catch (Problem e) {
                log.error(e.getMessage());

Modified: trunk/org.vexi-library.crypto/src/main/java/org/vexi/DotVexi.java
===================================================================
--- trunk/org.vexi-library.crypto/src/main/java/org/vexi/DotVexi.java   
2013-12-20 15:50:30 UTC (rev 4621)
+++ trunk/org.vexi-library.crypto/src/main/java/org/vexi/DotVexi.java   
2013-12-20 18:43:04 UTC (rev 4622)
@@ -45,8 +45,7 @@
        public File getBaseDir(){ return _; }
        
        private void createDirOrError(File dir){
-               if(!_.exists() && !_.mkdirs()) throw new Error("Could not 
create directory: " + _);
-        
+               if(!dir.exists() && !dir.mkdirs()) throw new Error("Could not 
create directory: " + _);
        }
        
        public void init(){

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to