Version control, working local etc.

6 posts, 0 answers
  1. David Yardy
    David Yardy avatar
    16 posts
    Member since:
    Aug 2007

    Posted 03 Apr 2013 Link to this post

    I create a new project and hooked up with a GIT repository.  I am able to clone the project locally.  Mist uses a .proj file to manage the files.  Is there any guidance on how to work with the proj file while working locally with vs.net 2012? (are you recommending that i edit the mist proj file manually when i add files?)
    thx again
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Apr 2013 Link to this post

    Hello David,

    Simply adding a file/folder in Git repository would not make it appear in Graphite/Mist unless you edit the project (.proj) file to include all the files in that folder explicitly. The project file is in XML format so it can be edited easily with a text editor, however we do not recommend doing this, unless you are trying to repair a broken project.
    The recommended approach is to add or remove files and folders from the Graphite's/Mist's own UI, which automatically reflects all the changes made in the file system to the .proj file as well. Then you can commit and push your local changes to the remote Git repository.

    Regards,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  3. Justin
    Justin avatar
    3 posts
    Member since:
    Nov 2012

    Posted 11 Apr 2013 Link to this post

    I've just dabbled on and off with Icenium Mist as I've been evaluating app development tools.

    My biggest concern with Icenium is having to develop in the Icenium Mist IDE.  I don't want to do that.  I also don't want to develop locally and have to commit every time I want to test something.  Your explanation about creating files in Mist only makes this even more painful.

    Is there any way to use SFTP or even better something like ExpandDrive to mount our code with the Telerik server?  

    I'm very interested in Icenium, but I am NOT interested in using the IDE>
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 11 Apr 2013 Link to this post

    Hello Justin,

    Thank you for your constructive criticism, we appreciate and take any feedback seriously.

    To answer your question directly - we don't plan to offer FTP/SFTP access at the moment. However we can open up a web service API to allow programmatic exporting of a project (currently this can only be achieved through interactively logging in to Mist or Graphite).

    If the web service is of interest to you, please suggest it on our Feedback Portal and we'll enter it into our backlog if other clients show interest as well.

    About Icenium IDEs, there's been a lot of feedback on that front and you can add your vote as well, see the existing topics in the feedback portal.

    Greetings,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  5. Rammohanreddy
    Rammohanreddy avatar
    1 posts
    Member since:
    Jul 2013

    Posted 04 Jul 2013 Link to this post

    Hi 

    I have below code on my js file. here I want create a folder into phone as input value...

    please help on it.

    here is the code

    function sayHello() {
       
        var sayHelloInputElem = document.getElementById('helloWorldInput');
        var sayHelloTextElem = document.getElementById('helloWorldText');
        var inputText = document.getElementById('txtName');
        
        sayHelloTextElem.innerHTML = '' + inputText.value + '' ;
        sayHelloTextElem.style.display = 'block';
        sayHelloInputElem.style.display = 'none';
    }
  6. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 08 Jul 2013 Link to this post

    Hi Rammohanreddy,

    You can use Cordova's DirectoryEntry.getDirectory function to create a directory on the phone. Here is a code snippet that does this:

    window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onRequestFileSystemSuccess, null);
     
    function onRequestFileSystemSuccess(fileSystem) {
            var inputText = document.getElementById('txtName');
            var dirName = inputText.value;
            var entry=fileSystem.root;
            entry.getDirectory(dirName, {create: true, exclusive: false}, onGetDirectorySuccess, onGetDirectoryFail);
    }
     
    function onGetDirectorySuccess(dir) {
          console.log("Created directory " + dir.name);
    }
     
    function onGetDirectoryFail(error) {
         console.log("Error creating directory " + error.code);
    }

    You can find more information and sample source code in the Cordova's documentation.
     Hope this helps,
    Stefan Dobrev
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
Back to Top