Edit code on JazzHub
I´m just starting with JazzHub and I have a few questions, but the most important is how can I edit code directly on the browser?, Here is what I did:
1.- Create a project on my RTC Eclipse client.
2.- Push the project to JazzHub.
I can see the project on JazzHub, and I can open a java class I created there, but it is read-only, if I click the EDIT CODE button on the upper right corner it redirects me to the repository root (where is located the readme file).
Any one knows how to do this?
thanks guys.
Accepted answer
2 other answers
Assuming so, here is what I did to make that work. I imported the JazzHub project through RTC, loaded up the workspace as a project and created a few files within that project. I then checked in and delivered those files.
On JazzHub, I navigated to the project and hit "Edit Code." When the workspace loaded, I hovered over the cylinder icon (on the left-hand menu) and clicked on "Jazz SCM Changes". Under "Workspace Changes," I hit the triangle icon for "Accept incoming change sets for the stream," and that loaded up the files. I was then able to modify those files by clicking on the pencil icon and clicking on the project name to expand the folder/file list.
Let me know if this doesn't work for you.
Comments
Hi, thanks for your answer,
When I hover the cylinder icon only this options are shown:
Git Status
All Jazz SCM Repositories
Git Log
Git Repository
All Git Repositories
I can't find the options Jazz SCM Changes, sorry if it is a silly question, I'm completely new to JazzHub
Cesar,
Comments
I'm using RTC client but also I'm testing EGit, from the Repositories view I selected Commit and then Push to Upstream, after that I can see the folder of my project on JazzHub and I can open the java class but still I can´t edit it.
Ah, I see. Are you viewing the file on the project page? If so, that file viewer is indeed read-only. From the project page, can you try to click on the "Edit Code" button to open the full JazzHub code editor? From that interface, you should be able to modify the file.
Comments
Fariz Saracevic
FORUM MODERATOR / JAZZ DEVELOPER Feb 24 '14, 2:11 p.m.Did you try finding your file from the root repository, opening it and then clicking inside the file to modify it?
Cesar Ivan Orozco Cervantes
Feb 24 '14, 2:16 p.m.Yes, I opened the file but as I mention is read-only