This is a migrated thread and some comments may be shown as answers.

Version control, working local etc.

5 Answers 70 Views
AppBuilder in-browser client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
david
Top achievements
Rank 1
david asked on 03 Apr 2013, 09:26 PM
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

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Apr 2013, 11:55 AM
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.
0
Justin
Top achievements
Rank 1
answered on 11 Apr 2013, 12:55 PM
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>
0
Steve
Telerik team
answered on 11 Apr 2013, 01:36 PM
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.
0
Rammohanreddy
Top achievements
Rank 1
answered on 04 Jul 2013, 03:41 PM
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';
}
0
Stefan Dobrev
Telerik team
answered on 08 Jul 2013, 06:29 AM
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.
Tags
AppBuilder in-browser client
Asked by
david
Top achievements
Rank 1
Answers by
Steve
Telerik team
Justin
Top achievements
Rank 1
Rammohanreddy
Top achievements
Rank 1
Stefan Dobrev
Telerik team
Share this question
or