Skip to content

Commit 7ee29e4

Browse files
authored
Merge pull request #15 from cicsdev/aj-6.1
6.1 Fixes and readme update
2 parents 4cb506e + 32ed3cc commit 7ee29e4

32 files changed

+412
-119
lines changed

.github/workflows/java.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,18 @@ on:
1010

1111
jobs:
1212
check-copyright:
13-
name: Check Copyright
1413
runs-on: ubuntu-latest
14+
name: Check Copyright
1515
steps:
16-
- uses: actions/checkout@v3
17-
18-
- name: Check Copyright
19-
env:
20-
EXTENSIONS: "*.java"
21-
COPYRIGHT_STATEMENT: "/**\n * Copyright IBM Corp. 2025\n */"
22-
run: |
23-
for ext in $EXTENSIONS; do
24-
for file in $(find . -type f -name "$ext" ! -path "cics-java-osgi-jdbc-app/*"); do
25-
if ! grep -q "Copyright" "$file"; then
26-
echo -e "$COPYRIGHT_STATEMENT\n$(cat "$file")" > "$file"
27-
fi
28-
done
29-
done
30-
31-
- name: Create Pull Request
32-
uses: peter-evans/create-pull-request@v7
16+
- uses: actions/checkout@v4
17+
- id: copyright-action
18+
uses: cicsdev/.github/.github/actions/samples-copyright-checker@139edd8dc23af7f4f7dd9afe4d56a1053fe426a7
3319
with:
34-
token: ${{ secrets.GITHUB_TOKEN }}
35-
base: ${{ github.head_ref }}
20+
directory: './cics-java-osgi-jdbc-app/'
21+
file-extensions: '*.java'
22+
base-copyright: 'Copyright IBM Corp. 2025'
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
3625

3726
build-mvnw:
3827
name: Build Maven Wrapper

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ buildNumber.properties
1313

1414
# Eclipse m2e generated files
1515
# Eclipse Core
16-
.project
16+
#.project
1717
# JDT-specific (Eclipse Java Development Tools)
18-
.classpath
18+
#.classpath
1919

2020
# Eclipse Gradle plugin generated files
2121
# Eclipse Core
22-
.project
22+
#.project
2323
# JDT-specific (Eclipse Java Development Tools)
24-
.classpath
24+
#.classpath
2525

2626

2727
# Java ignores

.project

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>cics-java-osgi-link</name>
3+
<name>cics-java-osgi-jdbc</name>
4+
<comment></comment>
45
<projects>
56
</projects>
67
<buildSpec>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
5+
connection.project.dir=cics-java-osgi-jdbc-app
6+
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=false
12+
show.console.view=false
13+
show.executions.view=false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
5+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6+
org.eclipse.jdt.core.compiler.compliance=1.8
7+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
12+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
13+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
14+
org.eclipse.jdt.core.compiler.release=disabled
15+
org.eclipse.jdt.core.compiler.source=1.8

MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
- Phil Wakelin [@PhilWakelin](https://github.com/PhilWakelin)
66
- Aaron Jhaj [@AaronJhaj](https://github.com/AaronJhaj)
77

8-
*Last reviewed:* December 2024
8+
*Last reviewed:* April 2025

README.md

Lines changed: 168 additions & 47 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11

2-
allprojects {
2+
allprojects
3+
{
34
group = 'com.ibm.cicsdev'
45
version = '1.0.0'
56

6-
repositories {
7+
repositories
8+
{
79
mavenCentral()
810
}
911
}

cics-java-osgi-jdbc-app/.classpath

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src/main/java"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
5+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6+
<classpathentry kind="src" path=".apt_generated">
7+
<attributes>
8+
<attribute name="optional" value="true"/>
9+
</attributes>
10+
</classpathentry>
11+
<classpathentry kind="output" path="bin/"/>
12+
</classpath>

0 commit comments

Comments
 (0)