]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 6 Sep 2013 10:11:02 +0000 (10:11 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 6 Sep 2013 10:11:02 +0000 (10:11 +0000)
inc/ws/Util/class.ws.exporter.php

index f3b991bc58a524e228a5b50cf9437ccea293f729..ac9b80be772eec585efc5cf8656797dd7e0fa227 100644 (file)
@@ -23,17 +23,16 @@ class wsExporter {
                $d = str_replace('.', '/', $collection->settings['namespace']);
                $dest = $d . '/www/';
 
-               $phonegap = new CubeIT_Mobile_Phonegap();
+               $phonegap = CubeIT_Mobile_Phonegap::create($os);
                $phonegap->setName($collection->nom);
                $phonegap->setId($collection->settings['namespace']);
                $phonegap->setAuthor('Fluidbook', 'contact@fluidbook.com', 'http://www.fluidbook.com');
                $phonegap->setVersion('1.0.0');
-               $phonegap->setPlatform($os);
                $phonegap->setWWWDirectory($dir);
                if ($os == 'ios') {
-                       $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', '/Phonegap/Projects/' . $d, 22022);
+                       $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', '', '/Phonegap/Projects/' . $d, 22022);
                } else if ($os == 'android') {
-                       $phonegap->setDistantCompiler('paris.cubedesigners.com', 'Vincent', 'h:/Works/Phonegap/Projects/' . $d, 22322);
+                       $phonegap->setDistantCompiler('paris.cubedesigners.com', 'Vincent', 'iquique', 'h:/Works/Phonegap/Projects/' . $d, 22322);
                }
                $phonegap->setPreference('orientation', CubeIT_Mobile_Phonegap::ORIENTATION_PORTRAIT);
                $phonegap->setPreference('target-device', CubeIT_Mobile_Phonegap::TARGET_TABLET);