SlideShare a Scribd company logo
By :
Gayathiry
1. A very brief introduction to source control
 ◦ What is source control
 ◦ Why we need it
 ◦ How to manage (commands can be used/ things needs
   to be considered before commit)
2.
 ◦   “Hello Jaffna” Compile it and run using command line
 ◦   Development tools and build tools
 ◦   Create project structure with specified archtype
 ◦   Simple maven targets
 ◦   Build and run using maven
3.
 ◦   create account and repository on github
 ◦   Install and setup github
 ◦   fork and clone project
 ◦   pull/push request
4.
 ◦   Fork and clone yshool
 ◦   Pull yschool to local repo
 ◦   Clean and deploy using maven
 ◦   Make some change push it back
   tracks and provides control over changes to
    source code

   Examples :
    •   Github
    •   SVN(Subversion)
    •   CVS
    •   etc
   track files
   Periodically commit
   history will help to collaborate with other
    developers
   merge between other developers
   compare and revert with previous version of
    project/individual files
   Getting and Creating Projects
   Basic Snapshotting
   Branching and Merging
   Sharing and Updating Projects
   Inspection and Comparison
   Make sure that you are working on the latest
    version of a file.
   Check out only what you need.
   Check in promptly.
   Write good check-in comments.
   public class AppTest{

       public static void main(String [] args){
            System.out.println("Hello Jaffna!");
       }
    }
   Compile using command line
    • Javac AppTest.java
    • Java AppTest
   Build process is repetitive process where
    programmer builds the project again and
    again to test the changes in the project code
   Build tools automate the repetitive process
    and allows the programmer to concentrate on
    the project development
   Building in a single click
   Dependency management
   Versioning
   Compile Java code, build jars
   Execute tests and report results, fail build on
    failed tests
   Run quality-check tools (PMD, Findbugs,
    Checkstyles)
   File generation (XmlBeans, Xsl, Velocity,
    AspectJ)
   Property expansion / token substitution
   software project management and
    comprehension tool
    Based on the concept of a project object
    model (POM),
   Maven can manage a project's build,
    reporting and documentation from a central
    piece of information.
   In Maven, an archetype is a template of a
    project which is combined with some user
    input to produce a working Maven project
   mvn archetype:generate -
    DarchetypeArtifactId=maven-archetype-
    webapp -DgroupId=package-name -
    DartifactId=project-name
   Project – Top level
   modelVersion - what version of the object model
    this POM
   groupId - unique identifier of the organization
   artifactId - unique base name of the primary
    artifact/context
   packaging - package type
   version
   name - display name
   url - where the project's site can be found
   description - basic description of your project
   mvn   compile
   mvn   test
   mvn   install
   mvn   package
   mvn   clean

   http://maven.apache.org/guides/getting-
    started/index.html#How_do_I_compile_my_a
    pplication_sources
   git is a distributed version control system
   Is a place where we store our publicly
    available source code for client libraries.
   Getting and Creating Projects
    • Init
    • clone
   Basic Snapshotting
    •   add
    •   status
    •   diff
    •   commit
    •   reset
    •   rm, mv
   Branching and Merging
    •   branch
    •   checkout
    •   merge
    •   log
    •   tag
   Sharing and Updating Projects
    • fetch, pull
    • push
    • remote
   Inspection and Comparison
    • log
    • diff
   Set Up Git
   Add git plugin
    • Download : https://github.com/rishabhsrao/peek-
      into-github/downloads
    • Instruction
      : http://cloud.github.com/downloads/rishabhsrao/
      peek-into-github/README.txt
   Create A Repository
   Fork A Repository
   Created a maven project
   Setup git
   Push that to your account
   Fork and clone and existing project
   Send fetch & pull requests
Session 2

More Related Content

What's hot

Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Parag Gajbhiye
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
Knoldus Inc.
 
Introduction to Apache Maven
Introduction to Apache MavenIntroduction to Apache Maven
Introduction to Apache Maven
Rajind Ruparathna
 
Jenkins
JenkinsJenkins
Jenkins
Roger Xia
 
Jenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home builtJenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home builtMark Waite
 
Introduction to Maven
Introduction to MavenIntroduction to Maven
Introduction to Maven
Onkar Deshpande
 
Using CI for continuous delivery Part 1
Using CI for continuous delivery Part 1Using CI for continuous delivery Part 1
Using CI for continuous delivery Part 1
Vishal Biyani
 
Introduction to jenkins
Introduction to jenkinsIntroduction to jenkins
Introduction to jenkins
Abe Diaz
 
An introduction to Maven
An introduction to MavenAn introduction to Maven
An introduction to Maven
Joao Pereira
 
Exploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondExploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & Beyond
Kaushal Dhruw
 
Continuous delivery with open source tools
Continuous delivery with open source toolsContinuous delivery with open source tools
Continuous delivery with open source tools
Sebastian Helzle
 
Apache Maven
Apache MavenApache Maven
Apache Maven
eurosigdoc acm
 
Ci jenkins maven svn
Ci jenkins maven svnCi jenkins maven svn
Ci jenkins maven svn
Ankur Goyal
 
Git best practices workshop
Git best practices workshopGit best practices workshop
Git best practices workshop
Otto Kekäläinen
 
Build Automation using Maven
Build Automation using Maven Build Automation using Maven
Build Automation using Maven
Ankit Gubrani
 
Jenkins
JenkinsJenkins
Gradle: One technology to build them all
Gradle: One technology to build them allGradle: One technology to build them all
Gradle: One technology to build them all
Bonitasoft
 
Automated Deployment with Maven - going the whole nine yards
Automated Deployment with Maven - going the whole nine yardsAutomated Deployment with Maven - going the whole nine yards
Automated Deployment with Maven - going the whole nine yards
John Ferguson Smart Limited
 

What's hot (19)

Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
Introduction to Apache Maven
Introduction to Apache MavenIntroduction to Apache Maven
Introduction to Apache Maven
 
Jenkins
JenkinsJenkins
Jenkins
 
Jenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home builtJenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home built
 
Introduction to Maven
Introduction to MavenIntroduction to Maven
Introduction to Maven
 
Using CI for continuous delivery Part 1
Using CI for continuous delivery Part 1Using CI for continuous delivery Part 1
Using CI for continuous delivery Part 1
 
Introduction to jenkins
Introduction to jenkinsIntroduction to jenkins
Introduction to jenkins
 
An introduction to Maven
An introduction to MavenAn introduction to Maven
An introduction to Maven
 
Exploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondExploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & Beyond
 
Continuous delivery with open source tools
Continuous delivery with open source toolsContinuous delivery with open source tools
Continuous delivery with open source tools
 
Apache Maven
Apache MavenApache Maven
Apache Maven
 
Ci jenkins maven svn
Ci jenkins maven svnCi jenkins maven svn
Ci jenkins maven svn
 
Maven Nexus
Maven NexusMaven Nexus
Maven Nexus
 
Git best practices workshop
Git best practices workshopGit best practices workshop
Git best practices workshop
 
Build Automation using Maven
Build Automation using Maven Build Automation using Maven
Build Automation using Maven
 
Jenkins
JenkinsJenkins
Jenkins
 
Gradle: One technology to build them all
Gradle: One technology to build them allGradle: One technology to build them all
Gradle: One technology to build them all
 
Automated Deployment with Maven - going the whole nine yards
Automated Deployment with Maven - going the whole nine yardsAutomated Deployment with Maven - going the whole nine yards
Automated Deployment with Maven - going the whole nine yards
 

Viewers also liked

Warsaw
WarsawWarsaw
Warsaw
johnbromley
 
Keagen Mathiew Koch Slide Show
Keagen Mathiew Koch Slide ShowKeagen Mathiew Koch Slide Show
Keagen Mathiew Koch Slide Show
lolagirlkoch
 
Markologis
MarkologisMarkologis
Markologisnickdp
 
Article On Green Field Project
Article On Green Field ProjectArticle On Green Field Project
Article On Green Field Projectmkg2803
 
Code.Group
Code.GroupCode.Group
Code.Group
nickdp
 
India Presentation 1
India Presentation 1India Presentation 1
India Presentation 1johnbromley
 
India Presentation
India PresentationIndia Presentation
India Presentationjohnbromley
 

Viewers also liked (8)

Warsaw
WarsawWarsaw
Warsaw
 
Keagen Mathiew Koch Slide Show
Keagen Mathiew Koch Slide ShowKeagen Mathiew Koch Slide Show
Keagen Mathiew Koch Slide Show
 
Markologis
MarkologisMarkologis
Markologis
 
Session 2
Session 2Session 2
Session 2
 
Article On Green Field Project
Article On Green Field ProjectArticle On Green Field Project
Article On Green Field Project
 
Code.Group
Code.GroupCode.Group
Code.Group
 
India Presentation 1
India Presentation 1India Presentation 1
India Presentation 1
 
India Presentation
India PresentationIndia Presentation
India Presentation
 

Similar to Session 2

Maven
MavenMaven
Maven
Shraddha
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
Kalkey
 
Intelligent Projects with Maven - DevFest Istanbul
Intelligent Projects with Maven - DevFest IstanbulIntelligent Projects with Maven - DevFest Istanbul
Intelligent Projects with Maven - DevFest Istanbul
Mert Çalışkan
 
Java Build Tools
Java Build ToolsJava Build Tools
Java Build Tools
­Avishek A
 
Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript DevelopersAzure DevOps for JavaScript Developers
Azure DevOps for JavaScript Developers
Sarah Dutkiewicz
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
Gourav Varma
 
Presentation 1 open source tools in continuous integration environment v1.0
Presentation 1   open source tools in continuous integration environment v1.0Presentation 1   open source tools in continuous integration environment v1.0
Presentation 1 open source tools in continuous integration environment v1.0
Jasmine Conseil
 
Maven in mulesoft
Maven in mulesoftMaven in mulesoft
Maven in mulesoft
venkata20k
 
Devops
DevopsDevops
Devops
JyothirmaiG4
 
Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
Sandeep Chawla
 
CICD with SharePoint SPFx A useful overview
CICD with SharePoint SPFx A useful overviewCICD with SharePoint SPFx A useful overview
CICD with SharePoint SPFx A useful overview
pdalian
 
BMO - Intelligent Projects with Maven
BMO - Intelligent Projects with MavenBMO - Intelligent Projects with Maven
BMO - Intelligent Projects with Maven
Mert Çalışkan
 
Version Control and Continuous Integration
Version Control and Continuous IntegrationVersion Control and Continuous Integration
Version Control and Continuous Integration
Geff Henderson Chang
 
Jbossworld Presentation
Jbossworld PresentationJbossworld Presentation
Jbossworld Presentation
Dan Hinojosa
 
Maven 2 features
Maven 2 featuresMaven 2 features
Maven 2 features
Angel Ruiz
 
Part 2 improving your software development v1.0
Part 2   improving your software development v1.0Part 2   improving your software development v1.0
Part 2 improving your software development v1.0
Jasmine Conseil
 
Agile Software Development & Tools
Agile Software Development & ToolsAgile Software Development & Tools
Agile Software Development & Tools
Luismi Amorós Martínez
 
Introduction to maven, its configuration, lifecycle and relationship to JS world
Introduction to maven, its configuration, lifecycle and relationship to JS worldIntroduction to maven, its configuration, lifecycle and relationship to JS world
Introduction to maven, its configuration, lifecycle and relationship to JS world
Dmitry Bakaleinik
 
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer ToolsDevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
Amazon Web Services
 
Build Time Hacking
Build Time HackingBuild Time Hacking
Build Time Hacking
Mohammed Tanveer
 

Similar to Session 2 (20)

Maven
MavenMaven
Maven
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
 
Intelligent Projects with Maven - DevFest Istanbul
Intelligent Projects with Maven - DevFest IstanbulIntelligent Projects with Maven - DevFest Istanbul
Intelligent Projects with Maven - DevFest Istanbul
 
Java Build Tools
Java Build ToolsJava Build Tools
Java Build Tools
 
Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript DevelopersAzure DevOps for JavaScript Developers
Azure DevOps for JavaScript Developers
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
 
Presentation 1 open source tools in continuous integration environment v1.0
Presentation 1   open source tools in continuous integration environment v1.0Presentation 1   open source tools in continuous integration environment v1.0
Presentation 1 open source tools in continuous integration environment v1.0
 
Maven in mulesoft
Maven in mulesoftMaven in mulesoft
Maven in mulesoft
 
Devops
DevopsDevops
Devops
 
Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
 
CICD with SharePoint SPFx A useful overview
CICD with SharePoint SPFx A useful overviewCICD with SharePoint SPFx A useful overview
CICD with SharePoint SPFx A useful overview
 
BMO - Intelligent Projects with Maven
BMO - Intelligent Projects with MavenBMO - Intelligent Projects with Maven
BMO - Intelligent Projects with Maven
 
Version Control and Continuous Integration
Version Control and Continuous IntegrationVersion Control and Continuous Integration
Version Control and Continuous Integration
 
Jbossworld Presentation
Jbossworld PresentationJbossworld Presentation
Jbossworld Presentation
 
Maven 2 features
Maven 2 featuresMaven 2 features
Maven 2 features
 
Part 2 improving your software development v1.0
Part 2   improving your software development v1.0Part 2   improving your software development v1.0
Part 2 improving your software development v1.0
 
Agile Software Development & Tools
Agile Software Development & ToolsAgile Software Development & Tools
Agile Software Development & Tools
 
Introduction to maven, its configuration, lifecycle and relationship to JS world
Introduction to maven, its configuration, lifecycle and relationship to JS worldIntroduction to maven, its configuration, lifecycle and relationship to JS world
Introduction to maven, its configuration, lifecycle and relationship to JS world
 
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer ToolsDevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
 
Build Time Hacking
Build Time HackingBuild Time Hacking
Build Time Hacking
 

Recently uploaded

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 

Recently uploaded (20)

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 

Session 2

  • 2. 1. A very brief introduction to source control ◦ What is source control ◦ Why we need it ◦ How to manage (commands can be used/ things needs to be considered before commit) 2. ◦ “Hello Jaffna” Compile it and run using command line ◦ Development tools and build tools ◦ Create project structure with specified archtype ◦ Simple maven targets ◦ Build and run using maven
  • 3. 3. ◦ create account and repository on github ◦ Install and setup github ◦ fork and clone project ◦ pull/push request 4. ◦ Fork and clone yshool ◦ Pull yschool to local repo ◦ Clean and deploy using maven ◦ Make some change push it back
  • 4. tracks and provides control over changes to source code  Examples : • Github • SVN(Subversion) • CVS • etc
  • 5. track files  Periodically commit  history will help to collaborate with other developers  merge between other developers  compare and revert with previous version of project/individual files
  • 6. Getting and Creating Projects  Basic Snapshotting  Branching and Merging  Sharing and Updating Projects  Inspection and Comparison
  • 7. Make sure that you are working on the latest version of a file.  Check out only what you need.  Check in promptly.  Write good check-in comments.
  • 8. public class AppTest{ public static void main(String [] args){ System.out.println("Hello Jaffna!"); } }  Compile using command line • Javac AppTest.java • Java AppTest
  • 9. Build process is repetitive process where programmer builds the project again and again to test the changes in the project code  Build tools automate the repetitive process and allows the programmer to concentrate on the project development  Building in a single click
  • 10. Dependency management  Versioning  Compile Java code, build jars  Execute tests and report results, fail build on failed tests  Run quality-check tools (PMD, Findbugs, Checkstyles)  File generation (XmlBeans, Xsl, Velocity, AspectJ)  Property expansion / token substitution
  • 11. software project management and comprehension tool  Based on the concept of a project object model (POM),  Maven can manage a project's build, reporting and documentation from a central piece of information.
  • 12. In Maven, an archetype is a template of a project which is combined with some user input to produce a working Maven project  mvn archetype:generate - DarchetypeArtifactId=maven-archetype- webapp -DgroupId=package-name - DartifactId=project-name
  • 13. Project – Top level  modelVersion - what version of the object model this POM  groupId - unique identifier of the organization  artifactId - unique base name of the primary artifact/context  packaging - package type  version  name - display name  url - where the project's site can be found  description - basic description of your project
  • 14.
  • 15. mvn compile  mvn test  mvn install  mvn package  mvn clean  http://maven.apache.org/guides/getting- started/index.html#How_do_I_compile_my_a pplication_sources
  • 16. git is a distributed version control system  Is a place where we store our publicly available source code for client libraries.
  • 17. Getting and Creating Projects • Init • clone  Basic Snapshotting • add • status • diff • commit • reset • rm, mv
  • 18. Branching and Merging • branch • checkout • merge • log • tag  Sharing and Updating Projects • fetch, pull • push • remote  Inspection and Comparison • log • diff
  • 19. Set Up Git  Add git plugin • Download : https://github.com/rishabhsrao/peek- into-github/downloads • Instruction : http://cloud.github.com/downloads/rishabhsrao/ peek-into-github/README.txt  Create A Repository  Fork A Repository
  • 20. Created a maven project  Setup git  Push that to your account  Fork and clone and existing project  Send fetch & pull requests