Connect Titanium Studio to remote git repository - titanium

I'm getting started with Titanium Studio to build mobile apps. I'm using Beanstalkapp (or any other remote git/svn repository) for version control.
I can't find a way to connect a new project to the remote repository from within titanium studio.
I can:
1 - create a new mobile project and start a new local git repository
2 - import an empty project from the remote git repository
When using 1 I don't know how to commit to a remote repository.
When using 2 I don't know how to add a mobile project, I always get "a project with the same name already exists within the workspace"
Any tips on how to set this up conveniently?

From the file menu in Ti Studio, choose Import, Then choose Git Repository as New Project, click next, enter your beanstalk URI and click finish.
I have not tried this with beanstalk, but it works flawlessly with Github.com
Once you have set up the project, access the context menu of the project in the project explorer (ctrl-click) and your git commands will be accessible from the Team menu

Related

Azure DevOps Plugin in Intellij IDEA only show one repsitory

I'm trying to clone a project from the Team Foundation Server, but I have only access to one repository from the server and I can't switch to another repository. I also tryed to refrech the plugin.
I'm using Intellij IDEA 2020.1.1 with Windows 10 Enterprise LTSB 2016 and the plugin:Azure DevOps.
I would appreciate when I get some tips to fix this problem.
In Intellij IDEA with the Azure DevOps extension installed, the repositories are not shown as a tree structure . They are shown in the same level in the Select repositorypage when trying to select a repository to clone. We can filter the repositories by specifying a key word.
For example, in below screenshot I have a project called LCgGit and it has three git repositories (LCGit, LCGit2, LCGit3). So, we can filter by Project name, then select the specific repository to clone.
It will automatically open the project once we cloned the repository. And we cannot switch repositories such as in the Team Explorer in VS. We have to clone another repository again and open the project which located in that repository. We can open it in a New Window or This Window.
To switch the repositories, we can navigate to File -> Open/Open recent -> Select a project to open.
Besides, there's a blog which talking about Working with IntelliJ for your reference. It's still available for the Intellij IDEA 2020.1.1. But the plugin name is changed to Azure DevOps. So you can search Azure DevOps in the Marketplace.

how to download file from git project folder to jenkins server

I have a git repository where my selenium project is kept. Jenkins pick this project runs the mentioned test cases.
One of the test cases have file upload code. This code fails because the VM machine on which jenkins runs the code does have these files . We do not have access to this VM machine.
Is there a way to download the file from git project folder in jenkins server and then try to upload this file on the application.
I tried opening the file on git and then clicked on RAW , right clicked on the page and clicked on save as but it is opening the windows interaction of my local machine.
Please help.

How can I install Maven plug-in in Anypoint Studio?

For one of my POC, I need to get Maven plug-in installed in my Mule Anypoint studio. How I can install the same?
Follow the steps provided by Pratikkumar. Please remember either you need to get settings.xml from your client or get authentication details to connect nexus repository and create settings.xml. This settings.xml should be placed under .m2 folder(Local repository).
click Help > Install New Software and in Work with, click Anypoint Addons Update Site > Maven Tools for Mule. Click Next and follow the install prompts:
you can follow the next instructions from the below links.
https://docs.mulesoft.com/mule-user-guide/v/3.6/using-maven-with-mule
maven installed on your local machine contains conf folder under that global (settings.xml) is available.
copy the settings.xml and placed under .m2 folder(Local repository).
.m2 folder is generated by executing mvn in cmd prompt.
place the authentication details in settings.xml to connect with nexus repository(if it enterprise)
In Anypoint studio click on help==>click on install new software and follow the steps provided in the below image url.
https://i.stack.imgur.com/oGixo.png
After completing this process change the Installed JRE'S in build path to JDK and restart Any point studio.

ResourcesPlugin.getWorkspace() is not taking the currently opened workspace

I am a novice in Plugin development and I am facing this issue in opening my current workspace:
ResourcesPlugin.getWorkspace() is not taking the currently opened workspace which is D:/ABCDWoekspace, instead it is returning the workspace of eclipse that is created in the eclipse installaction directory d:/eclipse/workspace as my eclipse in installed in D:eclipse
When you run your plugin from within Eclipse a new Eclipse is started with a new workspace in which to run the test. A new workspace is necessary because only one Eclipse instance can access a workspace at a time.
If you open 'Run > Run Configurations' and find your plugin in the 'Eclipse Application' section you can see the workspace location in the 'Location' field on the 'Main' tab. You can change this location to point to another existing workspace location.
You will need to set up this new workspace with whatever projects you need for testing.

Android Studio - Configure local paths

I'm currently struggling to get Android Studio running on my windows box. The problem seems to be that I moved my home-directory to a different drive than C. (Because I have a tiny SSD for the system only and the rest is on my HDD)
I changed the gradle settings from android studio to the correct folder on drive E but when I try to create a new project this error pops up:
Failed to import Gradle project: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'. java.io.FileNotFoundException: C:\Users\myuser\.gradle\wrapper\dists\gradle-1.6-bin etc.
I need the IDE to download it to E:\Users\myuser\etc.
Any idea where I can configure that? The settings from the settings dialog seem to be ignored.
it happens from time to time when gradle server has a bad day. Usually when they publish new version.