Skip to content

Commit 7fa2d62

Browse files
committed
2022.2 Release
1 parent 120c5f3 commit 7fa2d62

26 files changed

+2132
-1807
lines changed

Jenkinsfile

Lines changed: 0 additions & 83 deletions
This file was deleted.

LICENSE.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Copyright (c) 2023, Perforce Software, Inc. All rights reserved.
22

33

4-
54
BY INSTALLING OR DOWNLOADING THE SOFTWARE, YOU ARE ACCEPTING AND AGREEING TO THE TERMS OF
65
THIS END USER LICENSE AGREEMENT (THE "LICENSE AGREEMENT"), AND IT LEGALLY BINDS YOU AND
76
YOUR EMPLOYER (COLLECTIVELY THE "LICENSEE"), AND PERFORCE SOFTWARE, INC., A DELAWARE
@@ -10,15 +9,11 @@ ANY TERMS, CONDITIONS, AND RESTRICTIONS CONTAINED IN ANY ORDER RELATING TO THE S
109
IF THE LICENSEE DOES NOT ACCEPT AND AGREE TO THE TERMS AND CONDITIONS OF THE LICENSE
1110
AGREEMENT THEN DO NOT DOWNLOAD, INSTALL, OR OTHERWISE USE THE SOFTWARE.
1211

13-
14-
1512
THE RIGHT TO USE THE SOFTWARE IS CONDITIONAL UPON ACCEPTANCE OF THE LICENSE AGREEMENT,
1613
UNLESS THE LICENSEE HAS ENTERED INTO A WRITTEN AND DULY SIGNED LICENSE AGREEMENT WITH
1714
PERFORCE, IN WHICH CASE SUCH SIGNED LICENSE AGREEMENT WILL GOVERN THE LICENSEE'S USE OF
1815
THE SOFTWARE.
1916

20-
21-
2217
Redistribution and use in source and binary forms, with or without modification, are
2318
permitted provided that the following conditions are met:
2419

@@ -51,7 +46,7 @@ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABI
5146
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
5247
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5348

54-
This distribution also includes the following third party software; please consult the
49+
This distribution also includes the following third party software; please consult the
5550
accompanying license file for the license terms that apply to that software only:
5651

5752
commons-codec-1.15.jar
@@ -119,6 +114,7 @@ jzlib-1.1.3.jar
119114
Reference: http://www.jcraft.com/jzlib/LICENSE.txt
120115
Author: ymnk
121116

117+
122118
Appendix:
123119
-----
124120
BSD 3

RELEASE.md

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release Notes for
22
P4Java, the Perforce Java API
33

4-
Version 2022.1
4+
Version 2022.2
55

66
Introduction
77

@@ -120,6 +120,29 @@ Known Limitations
120120

121121
<java-home>/lib/security/local_policy.jar
122122
<java-home>/lib/security/US_export_policy.jar
123+
124+
-------------------------------------------
125+
Updates in 2022.2 (2022.2/2444480) (2023/05/23)
126+
127+
#2435337 (Job #114238)
128+
Enhanced functionality of p4 print command with the addition of
129+
--offset and --size options.
130+
131+
#2426294 (Job #114313)
132+
Added support for 'MaxMemory' in the group spec.
133+
134+
#2439567, #2443196 (Job #114313)
135+
Added support for 'Components' in the stream spec.
136+
137+
-------------------------------------------
138+
Updates in 2022.1 Patch 2 (2023/03/27)
139+
140+
#2421117 (Job #112706)
141+
Fixed a bug where P4Java failed to update the sync time in db.have
142+
during a sync operation
143+
144+
#2409816 (Job #113999)
145+
Fixed a bug in decoding UTF-16 encoded files, which leads to file corruption
123146

124147
-------------------------------------------
125148
Updates in 2022.1 Patch 1 (2023/01/12)
@@ -140,26 +163,26 @@ Updates in 2022.1 (2022/09/29)
140163
Added support to uncompress the compressed files received from server
141164

142165
#2325394 (Job #111560)
143-
Added functionality to remove file revision attributes
166+
Added functionality to remove file revision attributes
144167

145168
#2322763 (Job #110629)
146-
Added support for special characters (@, %, # and *) in the file spec
147-
builder by adding ‘makeFileSpecListSpecialChars’ method
169+
Added support for special characters (@, %, # and *) in the file spec
170+
builder by adding ‘makeFileSpecListSpecialChars’ method
148171

149172
#2328997, #2330279 (Job #110207)
150-
Fixed a bug where sync of unicode files with bad charset was causing
151-
corrupt files on the workspace without throwing an error
173+
Fixed a bug where sync of unicode files with bad charset was causing
174+
corrupt files on the workspace without throwing an error
152175

153176
#2346483 (Job #109218)
154-
Fixed a bug where moves with an overlap between source and target
155-
file/directory names raised an error.
177+
Fixed a bug where moves with an overlap between source and target
178+
file/directory names raised an error.
156179

157180
#2333818 (Job #112005)
158-
Fixed a bug where unending sync operation was being caused when the
159-
client compression option was set
181+
Fixed a bug where unending sync operation was being caused when the
182+
client compression option was set
160183

161-
With this release we have migrated P4Java build from from Maven to
162-
Gradle using Gradle wrapper 7.5
184+
With this release we have migrated P4Java build from from Maven to
185+
Gradle using Gradle wrapper 7.5
163186

164187
-------------------------------------------
165188
Updates in 2021.2 Patch 5

build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ targetCompatibility = 1.8
1212

1313
repositories {
1414
maven { url "https://repo.maven.apache.org/maven2" }
15-
maven { url "https://artifactory.bnr.perforce.com:8443/artifactory/snapshots/" }
15+
maven { url "https://artifactory.bnr.perforce.com/artifactory/snapshots/" }
1616
}
1717

1818
dependencies {
@@ -36,6 +36,14 @@ jar {
3636
from { generatePomFileForMavenJavaPublication }
3737
rename ".*", "pom.xml"
3838
}
39+
manifest {
40+
attributes["Name"] = "com/perforce/p4java/"
41+
attributes["Main-Class"] = "com.perforce.p4java.Metadata"
42+
attributes["Implementation-Title"] = "p4java"
43+
attributes["Implementation-Version"] = archiveVersion
44+
attributes["Implementation-Vendor-Id"] = "com.perforce"
45+
attributes["Implementation-Vendor"] = "Perforce Software"
46+
}
3947
}
4048

4149
publishing {
@@ -94,15 +102,15 @@ publishing {
94102
}
95103
maven {
96104
name = 'artifactory-snapshots'
97-
url = 'https://artifactory.bnr.perforce.com:8443/artifactory/snapshots/'
105+
url = 'https://artifactory.bnr.perforce.com/artifactory/snapshots/'
98106
credentials {
99107
username = mavenUser
100108
password = mavenPassword
101109
}
102110
}
103111
maven {
104112
name = 'artifactory-release'
105-
url = 'https://artifactory.bnr.perforce.com:8443/artifactory/releases/'
113+
url = 'https://artifactory.bnr.perforce.com/artifactory/releases/'
106114
credentials {
107115
username = mavenUser
108116
password = mavenPassword

0 commit comments

Comments
 (0)