File Action View Help «| S Bm ' mm BW © VisualSVN Server sĩ 2r Local a 'VisualSVN Server Local › , Repositories il Users VISUALSVNSERVER Upgrae to Enlerpdse Editon lề & Groups Sta
Trang 1
KHOA CONG NGHE THONG TIN
BÁO CÁO NHÓM MON: CONG CU VA MOI TRUONG PHAT TRIEN PHAN MEM
Trang 21 GIGI THIEU VISUAL SVN-SERVER ccsccscscsscscssesssscssescssssessesssvsssssssessessssesssesussseusssesessesesssnsusenesssvsussessssessuvsnsssssessssessssessuvevesesavaneses 3
b Phan quyénh #hôông user và group trong rEDOSÏLOFÏ@S cc ccccnn nnn HH nh TT TH HH KH HE KT TT TK kế n 16
II CÁC CÔNG CỤ PHÁT TRIỂN SỬ DỤNG ECLIPSE óc St 1 ÉE E1 EEEEk SE E111 E11 TT TH TT HT TH HH Tư HT Hy Hà rệt 18
1 Dựánjdice_team19 thực hiện trên Eclipse tk HH TH HH TH TT HH KT HH TT Vy 18 PIN (0s vi 30000921 s( 33 .Ả 22
3 Triển khai Subversion cho dự án jdice tearm119 ¿-cc- c tk TH HH HH HT HH TH HT HH gi 23 a) _ Kết nối Eclipse với SVN và cheCOHI pIOJ€CÍ cào tt nhọn tr HH Han vớ 23 b) _ Triển khai các dự án trên Server (SỮN) co tt HH at ray 26 III CÔNG CỤ PHÁT TRIỂN MÃ ĐÁNH GIÁ KHAI THÁC - cv SE E1 KH TH TT Tà TH Tà HT HH Tà TH T HT TH Hàn TT HT giyt 30
1 Darnh ng 0 cac nh ố ae .( 30
FT Ea h0 A3 án 6s .Ả 30
2 Eclipse 0 - Ả 35
ch ro 35 BAN 1900 38
C COITIMRI nọ HH HH hi HT hi ĐT BE 40
BI in cv do 00-002 na 42
IV ON THE ECLIPSE ANT DEPLOYMENT AND JUNIT TESTCASE HH TH HH HH 42
“se .ốỐố ố.ố ằằốẦẮốỐẮỐố ằằằằ e ee 42 PANàa ion ha ẢẢ 42 E9 ái 00 17a Ả ỎỒ 44
“AM ái 00 (0 (000000 7 a2 2 44
Trang 3I GIỚI THIẾU VISUAL SVN-SERVER
Visual SVN là sự tích hợp minh bạch của hệ thống kiểm soát phiên bản Subversion với môi trường phát triển Visual Studio Visual SVN cho phép bạn toàn quyền kiêm soát bất kỳ thay đôi nào trong dự
án do bạn hoặc đồng nghiệp của bạn thực hiện Với Visual SVN, bạn có thé dé đàng xem toàn bộ lịch sử sửa đổi và khôi phục các phiên bản trước đó của dự án Vì vậy, bạn có thể coi nó như một “cỗ máy thời
gian thông minh”
Visual SVN được xây dựng trên nền tảng của hệ thống điều khiển phiên bản mã nguồn mở
Subversion, là một hệ thống lưu trữ tiêu chuẩn de-facto cho các dự án phân mềm Có rất nhiều công cụ
và địch vụ có săn cho Subversion như hệ thống xem xét mã và nhà cung cấp dịch vụ lưu trữ Với Visual
SVN, bạn có thể sử dụng các công cụ và dịch vụ này mà không bị giới hạn
to exit the Setup Wizard
VISUALSVNSERVER
BI Nhấp vào Next
Trang 4Ji) VisualSVN Server 3.0.0 Setup (ec =
ae
End-User License Agreement
Please read the following license agreement carefully
License Agreement for VisualSVN Server
IMPORTANT! READ CAREFULLY: THIS IS A LEGAL AGREEMENT BY
DOWNLOADING, INSTALLING, COPYING, SAVING ON YOUR
COMPUTER, OR OTHERWISE USING THIS SOFTWARE, YOU (LICENSEE,
AS DEFINED BELOW) ARE BECOMING A PARTY TO THIS AGREEMENT AND YOU ARE CONSENTING TO BE BOUND BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT IF YOU DO NOT AGREE TO THE
TERMS AND CONDITIONS OF THIS AGREEMENT, YOU SHOULD NOT
DOWNLOAD, INSTALL AND USE THE SOFTWARE
B2 Chon I accept the terms in the License Agreement va Nhan Next
© and Console:
VisualSVN Server and management console to administer it
© Management Console Only
Install only Microsoft management console snap-in to administer VisualSVN Server installed on another computer
C mà d Subversion command-ine tools to the PATH environment variable
Update the PATH environment variable to enable direct access to the Subversion command_-ine tools (such as 'svn.exe’ and 'svnadmin.exe’) from the Command Line
aa (Cee
B3 Nhan Next
Trang 5
48) VisualSVN Server 3.0.0 Setup l ¬
Initial Server Configuration
Please adjust the default configuration settings if necessary
Location: [C:\Program Files \VisualSVN Server\ | Browse |
Repositories: [Semen [ Browse |
Server Port: 443 y [VJ Use secure connection (https://)
Click Install to begin the installation at SS Coe me ee
installation settings, click Back Click Cancel to exit the wizard
Trang 64) VisualSVN Server 3.0.0 Setup cC:| =>
Trang 7File Action View Help
«| S Bm ' mm BW
© VisualSVN Server sĩ 2r (Local a ) 'VisualSVN Server (Local)
› , Repositories
il Users VISUALSVNSERVER Upgrae to Enlerpdse Editon lề
& Groups Standard Edition Compare Editions
Status Senice is
Aa Update to the VisualSVN Server 4.3.4 is available Details
Logging
Error logging is enabled
Access logging is disabled
Operational logging is disabled
Open Event Viewer
Configure logging
Subversion Authentication
There are 0 users and 0 groups
Create new user
Create new group
Configure authentication options
Repositories
Total 0 repositories
Create new repository
Import existing repository
BI Mở VisualSVN Server
File Action View Help
«em fra Emme se» B
CO PP Reposit~-~ REEIEEEEMNNNNNNEEEEEENEEENEEEEƯNNH i
— /ISUALSVNSERVER Upgrade to Enlecpnse Editon ^
Groups Rome tandard Edition Compare Egitions
New
ene — Jatus
Refresh jemice is running
Ipdate to the VisualSVN Server 4 3.4 is available Details Help
yO togging
Error logging is enabled
Access logging is disabled
Operational logging is disabled
Open Event Viewer
Configure logging
‘Subversion Authentication There are 0 users and 0 groups Create new user Create new group
Configure authentication optons
Repositories
Total 0 repositories
Create new repository
Import existing repository
Trang 8
Select the preferred initial repository structure
© Empty repository (recommended option)
O Single-project repository (with the top-level ‘trunk’, branches’ and ‘tags’ folders)
You can create the desired repository structure later using the Create Folder or Create Project
Structure context menu commands for the created repository
Trang 9Repository Access Permissions
Specify initial access permissions for the new repository ig
Set the kind of permissions you want for the new repository
© Nobody has access
@ All Subversion users have Read / Write access
Trang 10Export List @ phanvanthanh
User name: camtu
Password: °
@ User name and password are case sensitive
Trang 11B2 Nhap Username, Password , Confirm password va nhan OK
% jdice team19 Name
ua Gro There are no items to show in this view
Trang 12BI Chuột phải vào Group và chọn Create Group
Trang 14File Action View Help
Trang 15BI Chuột phải vào repositories, chọn All Tasks va chon Manage Security
Properties for /svn/jdice_team19/ ? x
Security Hooks Delegation
Group or user name:
B2 Chọn quyền trong Permissions va nhan Add
Properties for /svn/jdice_team19/ ? x
Security Hooks Delegation
Group or user name:
Inherit from parent
Trang 16b Phan quyén hé thong user va group trong repositories
Trang 17Security Hooks Delegation
Group or user name:
Trang 18Security Hooks Delegation
nguyenmailinh Read / Write
nguyenngochoang Read / Write
'G nhattien Read / Write
TẾ) phanthanhhieu Read / Write
'@ phanvanthanh Read / Write
'G thicuc Read / Write
'@ tanhalong Read / Write
I CAC CONG CU PHAT TRIEN SỬ DUNG ECLIPSE
1 Dy an jdice_team19 thu hiện trén Eclipse
BL Chon vao File > New > Java project
18
Trang 19Use default location
Location: | C:\Users\Hoang_IsMe\eclipse-workspace (Browse
JRE
Ose an etecicon er ronmene IE set
@ Use a project specific JRE: |jdk-11.0.12 vị
O Use default JRE ‘jdk-11.0.12' and workspace compiler preferences Configure JREs
Project layout
© Use project folder as root for sources and class files
@ Create separate folders for sources and class files Configure default
Enter a project name
@ Use a project specific JRE: jdk-11.0.12 vị
Use default JRE 'jdk-11.0.12' and workspace compiler preferences nfiqure JREs
B2 Chon b6 chon Use default location va chon Browse
19
Trang 20
c x + ô> ThiePC > Học Tập (F) > Công cụ v oO 2D Search Céng cu
I Desktop ^ Name Date modified Type Size
Documents [jdiceteamio | 10/17/2021 8:30 PM File folder
'Ÿ Downloads 1 Test 10/14/2021 4:08 PM File folder
} Music
(= Pictures
BB Videos
%& Local Disk (C:)
=» Local Disk Old (C
Trang 21(1 Use default location
Location: | F:\Céng cu\jdice_team19
JRE
(_) Use an execution environment JRE:
Configure JREs
() Use default JRE 'jdk-11.0.12' and workspace compiler preferences
Project layout
() Use project folder as root for sources and class files
(® Create separate folders for sources and class files Configure default
LJ Add project to working sets
B4 Nhắn vào Finish đề thêm dự án vào Eclipse
~ &# jdice team19
> BA JRE System Library [jdk-11.0.12]
Trang 222 Tich hợp công cụ Subversion trong Eclipse
1 Window Help
9 v: 6 Welcome
=1 @ Help Contents
Search
Show Contextual Help
Show Active Keybindings Ctrl+Shift+L
Report Bug or Enhancement
Cheat Sheets
Eclipse User Storage >
Perform Setup Tasks
Check for Updates
Select a site or enter the location of a site :
Work with: | vl} Add | Manage |
| type filter text | Select All
(1© There is no site selected
Trang 23Work with: | subecipise - http Ecli ive/4 O/update-site/ v|| Add | Manage
| type filter text | Select All
Name Version Deselect All
> tt Subversive Integration Plug-in's |
> {Ml Subversive Sources
> (4 ii Subversive SVN Team Provider Plug in '
B4 Tích chọn tất cả -> nhân Next đề cài đặt nhắn Finish khi cài đặt hoàn tat
Triển khai Subversion cho du an jdice team19
a) Két noi Eclipse voi SVN va checkout project
© Open Projects from File System @ Package
Recent Files > @ Class
Close Editor Ctri+W @ Interface
Close All Editors Ctrl+shitsw © Enum
@ Record
Save Ctrl+S @ Annotation
Save As 3 Source Folder
Save All Ctrl+Shift+S 4Ạ Java Working Set
Revert © Folder
Move LÝ File
4 Rename ra © Untitled Text File
@) Refresh F5 EY JUnit Test Case
Convert Line Delimiters To > FY Example
Trang 24Create a new project by checking out an existing project from SVN repository ee
B2 Chon SVN > Project from SVN > Next dé Checkout
24
Trang 25Checkout Project from SVN repository SVN
Select an existing repository location or create a new location
This wizard will help you to checkout a project from the SVN repository
© Create s new repository location |
\_ ) Use existing pository tocatio
Trang 26Enter Repository Location Information SVN
Define the SVN repository location information You can specify
additional settings for proxy and svn+ssh, https connections
General Advanced SSH Settings SSL Settings
@ Use the repository URL as the label
O Use a custom label:
Authentication
User: |
L_] Save authentication (could trigger secure storage login)
To manage your security data, please see “Secure Storage”
Show Credentials For: <R‹ pository Lox n
Validate Repository Location on finish Reset Changes
B4 Dan URL: https://DELL5568/svn/jdice_team19/
B5 Nhân vào Finish dé két thúc
b) Triển khai các dự án trén Server (SVN)
26
Trang 27“ &# jdice team1q
Open in New Window
Open Type Hierarchy
Close Unrelated Projects
Assign Working Sets
>
Ctrl+C
Ctrl+V Delete Ctrl+Alt+Shift+Down
› Alt+Shift+S >
27
Trang 28Select the repository plug-in that will be used to share the selected project Ss
Select a repository type:
Sf Git
—_
@
B2 Chon SVN > Next
Trang 29Share Project with SVN repository | SVN
Select an existing repository location or create a new location
This wizard will help you to share your files with the SVN repository for the first time Your project
will automatically be imported into the SVN repository
O Create a new repository location
Choose a previously entered comment:
Checked resources will be committed to SYN version control
Trang 30HI CÔNG CỤ PHÁT TRIÊN MÃ ĐÁNH GIÁ KHAI THÁC
1 Đánh giá về dự án triển khai
a Tạo đáng giá trên Review và chủ sở hữu
SMARTBEAR
Collaborator.„
vongocthien Password New User? Create a new Account SIGN IN Forgot your password?
By signing in, you are agreeing to the SmartBear Terms of Use and Privacy Policy
Giao điện đăng nhập
BI: Đăng nhập (vongocthien)
Collaborator Sto Reports ee)
ACTION ITEMS RECENT REVIEWS + @& LINKS + TOOLS + NEW REVIEW
Review Progress Author My Role
Review 1:5 mig" sue Sih Anrwal Stale of Code anct
GE ———= a " Document Review Survey Share your experience vrth paer
review in 2021, and be the first to receive a copy of this Là ty
Finish creating vongocthien
+ Opt.n for Collaborator Notifications
If you are interested in receiving notifcations regarding Collaborator release3, wabinars, and training please taka 3 moment to optin via this Registration Link
+ Collaborator Resources Koowedue Base, Community Fons Product Manual
ve
Download Usetul Links
Collaborator Team may be upgraded at any time Collaborator Forums
to an Enterprise license, click here for more FAQ
information! Screencasts & Demos
30
Trang 31B2: Chon vao New Review
Y ——— Participants
‘Add Mysait Aa: Recent Participants: [ ponE EoriNG | enon
z Asia on Kì a You nave not assigned anyone to
© Reviewer Participants: [Type to miter v 2 Review with Template Defautt
Observer SELECTALL J CLEAR ALL
Arhpn5 anhpha n
Trang 32The folloning fle wil ke uploaded:
Forgot your password?
By signing in, you are agreeing to the SmartBear Terms of Use and Privacy Policy
BS: Mo Tab moi -> dang nhap vao tai khoan (nguyenngochoang)
32
Trang 33
W2.IDICE TEAM19
Dccument Review Survey Share your expenence with pec: review in 2021 and be the first to recerve 3 copy of this
yoar's report: Pees Reve Survey
+ Opt-in for Colisborator Notifications Ifyou are interastad in receiving notifications regarding
Edlinberstor relasaen webinars nna taining, please eke 2
moment to optin via this Reciztration Link
+ Collaborstor Resources
Knoviedor Base, Community Forums Product Mama)
Download Useful Links
Collaborator Te may b raded at any tit Collaborator Forums
fo an Entewprise heense dick ste tor’ more FA
information! Eeencasts & Demon
B6 : Chon RECENT REVIEW -> JDICE _TEAM19
ica_teamn19
< ACTION ITEMS | REVIEW 2 ~ |
SUMMARY PARTICIPANTS LINKS DEFECTS CHAT MATERIALS