Please enable JavaScript.
Coggle requires JavaScript to display documents.
350: software engineering: management, step by step java project in…
350: software engineering: management
step by step java project in eclipse
from scratch
file->new->wizard->java->java project->name->next->outputfoldername->"build"not bin->finish
rightclick "src" directory, new->package->edu.odu.cs ->check create package info.java
public class classname{
//same class rules as c++ without the
declarations in .h and implementaitons in .cpp)
rightclick package->new->JUnit test case->TestClassName->uncheck setup->select methods to test
import static org.junit.Assert.
;
import static org.hamcrest.CoreMatchers.
;
import org.hamcrest.core.IsNull;
import org.hamcrest.core.IsName;
rightclick test ->run as->junit test
rightclick package->new->class->classname->generate comments
importing
./gradlew in terminal
to build if it comes with gradle
file->import->general->existingprojectintheworkspace->directorypath->finish
show directory structure in eclipse
window->showview->navigator
step by step java project in eclipse
from scratch
file->new->wizard->java->java project->name->next->outputfoldername->"build"not bin->finish
rightclick "src" directory, new->package->edu.odu.cs ->check create package info.java
public class classname{
//same class rules as c++ without the
declarations in .h and implementaitons in .cpp)
rightclick package->new->JUnit test case->TestClassName->uncheck setup->select methods to test
import static org.junit.Assert.
;
import static org.hamcrest.CoreMatchers.
;
import org.hamcrest.core.IsNull;
import org.hamcrest.core.IsName;
rightclick test ->run as->junit test
rightclick package->new->class->classname->generate comments
importing
./gradlew in terminal
to build if it comes with gradle
file->import->general->existingprojectintheworkspace->directorypath->finish
show directory structure in eclipse
window->showview->navigator
software configuration management
includes
deployment of versions
version control/management
version control systems
2 types
distributed
ex
git
includes 3 things
a repository
1 more item...
REPINOUT
check-out mechanism
2 more items...
check-in mechanism
2 more items...
git commands
diff
3 more items...
patch
1 more item...
editors
2 more items...
delimiter
2 more items...
non-unix-based
11 more items...
pull
1 advantage
more complex
2 disadvantages
more flexibility
more data protection
git structure
origin repository
3 more items...
stage
2 more items...
each dev has a copy of the repository. its history, and working dir, where each repository is periodically updated,
advantage
adds robustness(easy recovery if one is corrupted), one repository is often marked as the origin and hosted on a service like github/gitlab
centralized distributed
vcs
merging
your local copy
of the repository is a brnach that must be merged back in frequently
centralized
aka
CVS
subversion, repository kept on a separate machine, files copied from there to other machines with their own working directories
merging avoided unless necessary
taking what is kept in VC and consistently deploying it
ex:
taking a verion that is kept in a centra/distributed repository and deploying it
definition
management of change in the software artifacts being developed
VC addresses 3 problems:
colllaboration
collaboration methods
2 kinds
locking mechanism
simultaneous editing
modern vcs collaboration management
3 steps
Detect when a simultaneous edit has occurred.
Automatically merge the changes when it is safe to do so.
2 more items...
Ask a developer to merge the potentially unsafe changes.
2 more items...
DAA
history
exploration
exploration methods
branches
HEC
two major benefits
backup system
history of changes to the code base, why they're made, is rollback possible
by storing backups of changes made,
which can be looked back at and be used
to replace any file with an older version
exploration of future changes that wont break the code base, how long will they take
teamwork
collaboration among developers needing simultaneous access to the code base without interference
BST