Unable to download Bluemix starter code - download

I have created multiple applications from boilerplate templates and for some reason, it is no longer possible to download the Starter Code. I open the application panel, select Start Coding in the left pane, then select Eclipse Tools for Bluemix. Further down, as expected, there is a "Download Starter Code" button, but it links back to bluemix.net instead of to a code archive file. Has anyone seen this? I have deleted / re-created the apps many times, but it never produces an archive. I have seen several posts here on Starter Code, but none specifically with this issue.

In some cases this behaviour is related to the browser language setting. Try setting it to English (if you use another language) and check if the download button url now points to the correct zip.
Another possible workaround is to instantiate one of the boilerplates and then click on the Add Git button at the top right hand of the screen when viewing the overview of the running app. Using the Add Git button on a boilerplate (or runtime) instantiated app you can see the sample code in DevOps Service. You can download it from there or you could git clone the repository and get the code that way.
Alternatively please take a look at the IBM Bluemix repo on GitHub.

you can do same by three ways you can also clone git repository of starter code or you can download commandline interface and fallow instruction
for me while developing node application download eclipse archive worked fine

Related

Adding SVN to Spring Tool Suite, Subclipse extension not available

I have Spring Tool Suite (STS) 3.6.3 installed. On another PC at home I recall being able to add SVN integration into STS by bringing up the Dashboard window, and checking the "Subsclipse" check box on the Extensions tab. However, I don't see this option on my current installation. I am including installed extensions, too, and I do not see Subclipse in the list.
When I select the Project folder in the Project Explorer window, right mouse click → Team → Share Project, I see only CVS and Git as options, but I would like to use SVN.
My experience with all things Java is measured in hours rather than years, so don't assume anything :-)
How do I integrate SVN with STS?
Check once if it's installed properly:
Here is how to add the SVN plugin (Subclipse) to your Spring Tool Suite
Open the Spring Tool Suite and go to the dashboard.
Click on Extensions (It is under the Help and Documentation heading).
Search for Subclipse. Check the checkbox and click Install.
Note: If you do not see Subclipse it implies that it is already installed on your IDE, but you can verify by checking the ‘Show Installed’ beside the search field.
Source URL: http://www.jicdesign.com/blog/web-development/how-to-add-svn-plugin-for-spring-tool-suite.html
Open Spring Tool Suite.
Select menu Help → Install new software
Click on the Add button.
Set the Location field as http://subclipse.tigris.org/update_1.6.x/
Click OK
Select the required components.
Click on Install button.
Select the I accept the terms of the license agreements radio button
Click the Finish button
Click Yes to restart Spring Tool Suite
Subclipse is available in the Eclipse Marketplace and can be installed via the Marketplace Client. It is also available at the following update site URL's.
NOTE: These are update site URL's to be entered inside the Eclipse installation dialog, not your web browser.
Latest - https://dl.bintray.com/subclipse/releases/subclipse/latest/
4.2.x - https://dl.bintray.com/subclipse/releases/subclipse/4.2.x/
The "latest" site will automatically move on to 4.2.1, 4.3.0, 5.0.0 etc. as those releases are produced. Where as the "4.2.x" site will only pick up new releases in the 4.2.x series such as 4.2.1, 4.2.2 etc.
More info at: https://github.com/subclipse/subclipse/wiki
I needed to run with elevated or administrator rights.

How to change repository in the existing xcode bot?

I need to migrate my Xcode Bot to another repository and I wish to keep build history. In the edit bot interface (both browser and Xcode) repository field is not editable. How can I migrate?
OS X Server version 3.1.2
This is an old question but i suspect people will find this and look for an answer as it is the top result in google. This is how you do it:
change the repo you point to in git
open your Xcode project, select the bot and hit edit bot
in the repositories tab, uncheck the one that you want to update
hit done
go back to edit bot
you should now see the new repo instead of the old one

Sublime text 3 and Web Inspector plugin

Am I the only person having problems with this plugin in Sublime Text 3? I cloned it from github repo, and when I try to start chrome's remote debugging via Sublime's command pallete, the new instance of chrome is being opened but the file is not being opened. Did anybody made this plugin to work is ST3? Thanks in advance
Before working with Web Inspector plugin, properly exit chrome.
In chrome use Ctrl+Shift+Q
First, make sure you are using the ST3 branch of the github repo, and have run git pull as there have been some changes in the last few hours and days. Also, make sure you read completely through the Getting Started section of the README. It looks like you need to manually open your application's URL in Chrome after you've started it via Sublime using CtrlShiftR - you can't use an already-running Chrome session. You can then hit CtrlShiftR again and choose "Start debugging", then choose the correct tab from the list.
If you're still having issues, I'd fill out a detailed issue on Github and let the developer know what's going on. Make sure you include all the steps you've followed, and the complete text of any error messages that may appear in the Console (Ctrl`).

Add existing project to BitBucket using Xcode

I keep getting an error when I try to commit my project files using Xcode.
File -> Source Control -> Commit
"The operation could not be performed because no valid working copies were found."
"Please verify that your files are under source control and try again."
This is an existing project that is NOT under source control. How do I get my project files under source control, using Xcode?
EDIT: Answered my own question.
Step 1) Restart Xcode
Step 2) Choose connect to repo
Step 3) Enter repo address
Step 4) Choose existing project folder you wish to place under version control
Step 5) Voila! :)
Since a lot of folks land here when they google "Add existing project to BitBucket using Xcode" and then click through to the link that goes to my blog post on the subject, I thought I would put the information here (in the spirit of SO which discourages link only answers.)
NOTE: These instructions assume you have already made a local git repository for the project. You may have done this at project creation. If not, you will need to create the local git now. See this StackOverflow post for how to do that: https://stackoverflow.com/questions/19495141/add-local-repo-for-existing-xcode-5-project
For Xcode 9 and the new Beta UI for Bitbucket:
Log into your BitBucket Account on their web site.
Click the Create button (plus sign + in the newest version of the web UI). And click Repository.
Give your new repository a name. Additional features for the repo can be configured under the Advanced menu. Make sure the check mark for Private is on if you desire that. Verify that the repository type is Git. If desired, add issue tracking, and a Wiki. Select Objective C or Swift from the language drop down. Then Create Repository.
Next, you will want to add your code. On the top of the Overview page is a field with the HTTPS URL of your project. It will look something like this: https://johndoe#bitbucket.org/xyzteam/xyzapp.git. Highlight and copy that URL text.
Run Xcode and load your project.
From the left pane in Xcode, select the Source Control Navigator. Expand the project node. Right click the Remotes node under your project. Select “Add Existing Remote…”
Give it a remote name, such as Bitbucket. Paste the URL from step 4 into the Location. Click Add. It should now appear as a Remote location in the Source Control navigator.
Once your remote has been added, you should now be able to push to the remote. Select Source Control/Push… It should show your Bitbucket remote as the destination and will show (Create) as this is the first push. Click Push.
If this is the first time you are pushing this project to BitBucket, you will be asked for login credentials. The User Name will be prefilled from the URL, so enter the password. Click Okay and after some seconds, it should complete.
If all goes well, you now have the repositories linked up. Go to the BitBucket site, select your repo and you should see the code.
For Xcode older than version 9 and the old Bitbucket UI:
Log into your BitBucket Account on their web site.
Click the Create button.
Give your new repository a name, a description, and make sure the check mark for Private is on if you desire that. Verify that the repository type is Git. If desired, add issue tracking, and a Wiki. Select Objective C or Swift from the language drop down. Then Create it.
Next, you will want to add your code. I am assuming you have an existing project. On the page, you will select “I have an existing project” link from the Command line section.
You will see instructions for linking your local git repository to the remote. There is no need to follow those instructions. However, you will see an https url listed. It will look something like this: https://johndoe#bitbucket.org/xyzteam/xyzapp.git. Highlight and copy that URL text.
Run Xcode and load your project.
From the main menu, select Source Control. Under the gray “Working Copy” item, you will see a menu with your local git repo name and the currently active branch. Expand this menu and you will see an option to Configure [Your project]…. Select this.
Select the Remotes pane from this screen. At the bottom, click the plus +. Select Add Remote…
Now you need a name and a URL. For the name, typically just use your project name, then paste the URL copied earlier in step 5. Some people have found that they must remove the user name portion of the URL. Per the example, remove “johndoe#”. This may have to do with whether your project is set up as a team project, or an individual project.
Click Add Remote. Click Done.
Once your remote has been added, you should now be able to push to the remote. Select Source Control/Push…. If this is the first time you are pushing this project to BitBucket, you may be asked about keychain access and/or login credentials. Enter the appropriate responses, such as Allow for keychain. If you have already done this before, it will simply use the keychain data without further prompting.
If all goes well, you now have the repositories linked up. Go to the BitBucket site, select your repo and you should see the code.
If you want to see a version of this information with screen shots, see my blog post.
Login your bit bucket account and Create a repository in your account
open terminal run these following command
1- cd /path/to/your/repo
2- git remote add origin <url of your repository >
3- git push -f origin master
it works for me, Thanks.

Pushing Images to Git Repo from Xcode

So this problem already helped me solve another one of our issues, but I still haven't figured this one out. (This is relevant. Hold on.)
I am developing a game with one other person. Neither of us have ever used git repositories, Github (for more than reference) or any sort of version control before, and we've had some trouble getting set up.
We have our project set up in Xcode with remotes to a GitHub repo, and everything is working fine with the code. The problem is that we can't get our images (buttons, backgrounds, animations etc.) to commit to our local repo without resorting to one of two, very roundabout, methods.
Right click on our Assets group in Xcode and select Add Files to Project. I have to do this every time we add images anyway. Then, to get Xcode to realize that these are files that need to be added to the repo (at least to get the A indicator next to the files in the organizer) we have to go in and add a blank Objective-C class, then right click the images > Source Control > Add. Then delete the blank class.
Use the GitHub app to commit the project and push it from there. This isn't working because Github's .gitignore doesn't include the xcode preference files. This makes the project unable to commit from Xcode on any other machine, and even from the machine the commit was made from after a reboot. (This is the problem we figured out trying to commit images.)
So my question is: How do we share assets for the game? I figure that Xcode will do the same for sounds, we just haven't gotten there yet. Is there an easier way to get Xcode to recognize them? Or do we just need to add those user profile files to the .gitignore on GitHub? (And how do we do this?)
Every one using Git just has to watch these two videos:
Git For Ages 4 And Up
http://www.youtube.com/watch?v=1ffBJ4sVUb4
Advanced Git
http://vimeo.com/49444883
1) I've found the best way to add images to my Xcode project is to just create the directory structure I want in the Finder then just drag and drop them from my finder in to the proper group in Xcode Project Navigator. Multi select all the new files, right click (control-click on a laptop) and select Source Control -> Add
And Bobs your uncle!
2) I do not use the GitHub app, I use SourceTree and the GitHub website. I've 20 years experience with command line source control systems but Xcode and SourceTree are so good the command line is no longer a part of my daily workflow.
I create a new Xcode project and check Create local git repository for this project then I go to the GitHub create a new repository with the same name as my project's top level directory. Copy the GitHub url. Drag the new project directory into SourceTree's Bookmarks window. Double Click on the new project view in SourceTree. Right mouse click on REMOTES and paste the GitHub url and enter origin/master for the name. Click the big push toolbar button.
3) You need to add your user scheme and workspace file to .gitignore to push and pull from a remote you have to have a clean working repo. This is super simple with SourceTree just commit in Xcode and then open the project in SourceTree right click on the WorkspaceSettings.xcsettings and *.xccheme file and select Ignore... and it creates the .gitignore file for you. Now commit the .gitignore file and Push to the remote.
FYI: Check out SourceTree (http://www.sourcetreeapp.com) is's free in the Mac App Store. It's a very good GUI for Git. Atlassian makers of Jira acquired it and the original developer and released free to compliment the rest of there tools.

Resources