File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes how to implement some automate tools in college project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "how to implement some automate tools in college project" Watch "how to implement some automate tools in college project" New topic
Author

how to implement some automate tools in college project

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
i just started working as a internee in a company, they are using build tools(Ant), version control tool(clearcase), performance tool(jprofiler) and in our office we created shared folders and transfer data from those folders.
now my question is: also as a college student i need to make one project in this semester, this is a group project, so can i also do the same at my home?
Scenario is something like this:

we have a group pf four, we have wireless internet connection and laptops, can i divide modules to each one of us, and each of us start development on their own machine and we build that code on regularly basis.
but i want is: we don't need to collect all the code each time in one machine and than compile it, i want is each one who is developed their own module keep that on it's own machine and i am able to access that code from one machine and build it.

this scenario or something like this is possible?

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Perhaps the easiest thing to do is open a Google Code project at http://code.google.com/. That will give you a central point to collect all of your source code. Then anyone in your group can check out the source code and build it. That's what my co-author and I did when we developed the code for our book.

Or if you want to use git you could host it on GitHub: https://github.com/

Both of the above assume your code will be open source.

You could also use git for source control and periodically sync up your separate repositories. This assumes that you will periodically meet and have network access to each other's PCs.

Or you could set up a centralized source control system. That should be on a system that each of you has access to. (This is what Google Code and GitHub provide)


JBoss In Action
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
Peter Johnson wrote:
Perhaps the easiest thing to do is open a Google Code project at http://code.google.com/. That will give you a central point to collect all of your source code. Then anyone in your group can check out the source code and build it. That's what my co-author and I did when we developed the code for our book.

so if i do this, than to compile code, everytime i need to copy code into my machine, or it will automatically compiles the code?

Peter Johnson wrote:
Or you could set up a centralized source control system. That should be on a system that each of you has access to.


yes this is what i am also thinking, but i don't know how do i do that, any suggestions?
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
also i wanted to know, is this for android also, i mean GitHub and google code?
i don't want centralized access only, i also want automatic compilation.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

it will automatically compiles the code?

No, Googe Code is just a project repository, it doesn't compile code.

yes this is what i am also thinking, but i don't know how do i do that, any suggestions?

First you need to identify a central server that everyone can use. You'll have to ask someone in your organization (or school) who has access to that kind of info. Then you'll have to look at the docs for the tools you want to put on that server. I'd look at Subversion and Jenkins at the minimum.

is this for android also, i mean GitHub and google code?

Yes.

i also want automatic compilation.

Then you need a system with Jenkins (or similar continuous integration software) installed.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
Peter Johnson wrote:
First you need to identify a central server that everyone can use. You'll have to ask someone in your organization (or school) who has access to that kind of info

No but this is my college project although but college will not provide any infrastructure to us, we are group of four and each one has their own machines, so is this possible i will use my system as server, and rest three machines will use tools from my machine, so the do not need to install and all?
i am confused into this, i still don't know how do i do this?
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
Sorry for posting twice, please remove one.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Punit Jain wrote:Sorry for posting twice, please remove one.
Such duplicates happen quite frequently if our server is under heavy load. Your duplicated post is duly deleted.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Punit Jain wrote:Sorry for posting twice, please remove one.
Such duplicates happen quite frequently if our server is under heavy load. Your duplicated post is duly deleted.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Punit Jain wrote:Sorry for posting twice, please remove one.
Such duplicates happen quite frequently if our server is under heavy load. Your duplicated post is duly deleted.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Punit Jain wrote:Sorry for posting twice, please remove one.
Such duplicates happen quite frequently if our server is under heavy load. Your duplicated post is duly deleted.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Punit Jain wrote:Sorry for posting twice, please remove one.
Such duplicates happen quite frequently if our server is under heavy load. Your duplicated post is duly deleted.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Yes, you can decide that one of your machines will act as the server and install the server software on that machine. Of course, only when that machine is available will the others be able to check in changes and do "official" builds. You really should look into git because that might make source control easier to manage. But for centralized builds you'll still need to install Jenkins on one machine (probably yours).
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931

You really should look into git because that might make source control easier to manage.

Yes this will be much better, because my system will always be not there.
Okay so as i got, the entire scenario would be like this:
First: i need to create one account in git and use that as my version control tool, also as a centralized repository.
Second: i need to use ant to build my project.
Third: i need to use jenkins for to make the builds automatic, and i will configure ant commands in jenkins, in my machine so i do not need to compile it manually.
am i right, or i am missing something?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

That looks like a good list of steps. Can't think of anything you might be missing.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
Peter Johnson wrote:That looks like a good list of steps. Can't think of anything you might be missing.


Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to implement some automate tools in college project
 
Similar Threads
from a tech journalist: so, just how important is CM to a development project?
Multiple Developers, One WebLogic Instance
Automated Defect Prevention
Is it necessary to learn Ant ?
Universal Project to teach IT