Posts which you will also like.

Thursday, February 23, 2012

Creating projects in java in team:Setting project on google code and connecting it with eclipse


Follow the following simple steps to set up :

1.Creating a New Project: 

Go to following link:
http://code.google.com/hosting/createProject

Sign in using your gmail account

2.Fill the proper details of the project you want to create:

image1


3.Install Subclipse plugin in Eclipse:
Open eclipse:
  • Go to help
  • Install new software
  • Click on add
  • In the Add repository dialog
  • choose any name you want
  • In location enter the following:
URL: http://subclipse.tigris.org/update_1.6.x
plugin_03
Light bulbIt is showing the duplicate location since I have configured it already.


image5

Click Next and continue until done.Eclipse will ask you to restart so that changes can take effect.


image9


Next step:Using Subclipse:

To participate in the developement of a project you must have to be a member of that project.You can ask the Administrator of the project to join the project.

Now time to set up repository (only members of a project can do it)
select Show view as fast view button then form the pop up dialog choose Other(you can also use the shortcut Alt+shift+Q,Q)


bblo


Now scroll down to SVN when next dialog box appears and choose SVN Repositories.
Untitled-3_03

SVN Repositories window will be opened right click then select New and click on
Repository Location.


image12

In the next Dialog box Enter the url of your project which you can get from your google code project under source tab.

Untitled-4_02
Copy the underline link in the Url:


image13

Click Finish when prompted.

Now we are ready to check in our project in Goole Code.It’s time to share our project with our team.Proceed as shown

image16


In the next Dialog select SVN

image17

Now select Use existing Repository location and click next.

Repository you already set up will appear in this dialog box

mod


Now select use project name as folder name and click next.

A new dialog will appear next which ask for a Username and a password.
Username is generally your email address but password can be generated via following manner:

  • Goto your project on google code and select source tab
  • Click on googlecode.com password to generate the password 
Untitled-4_02
Copy the password and paste it in the place of password in the eclipse Share project dialog



ima

Eclipse will ask you to choose the perspective associated with team.


image23

Now a folder with your project name will be created under svn/trunk at google code page at Source tab.

The project files can be uploaded to this project folder.You can perform this operation by clicking on Project and select Team the click Commit.

lk_02


A new window dialog will appear which will ask you to select the files you want to upload.You will be asked again the username and password.After this your project files can be seen at Google code.

Every time a team member update a source file then he/she commits which gets reflected in the repository.



No comments:

Post a Comment

Your comment may wait for moderation....

DMCA.com Protected by Copyscape Online Plagiarism Tool