Skip to content

Commit b788284

Browse files
Merge pull request #32 from cicsdev/add-eclipse-project-files
Add Eclipse project files for submodules and update README
2 parents dff6648 + f8e7155 commit b788284

6 files changed

Lines changed: 75 additions & 27 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,8 @@ mvnw.cmd clean verify
155155
- Right-click on root project → Run As → Gradle Build (or Maven Build)
156156
- Goals: `clean build` (Gradle) or `clean verify` (Maven)
157157

158-
**Notes:**
158+
**Note:**
159159
- When building a WAR file for deployment to Liberty it is good practice to exclude Tomcat from the final runtime artifact. We demonstrate this in the pom.xml with the *provided* scope, and in build.gradle with the *providedRuntime()* dependency.
160-
- If you import the project to your IDE, you might experience local project compile errors. To resolve these errors you should run a tooling refresh on that project. For example, in Eclipse: right-click on "Project", select "Gradle -> Refresh Gradle Project", **or** right-click on "Project", select "Maven -> Update Project...".
161-
162-
>Tip: *In Eclipse, Gradle (buildship) is able to fully refresh and resolve the local classpath even if the project was previously updated by Maven. However, Maven (m2e) does not currently reciprocate that capability. If you previously refreshed the project with Gradle, you'll need to manually remove the 'Project Dependencies' entry on the Java build-path of your Project Properties to avoid duplication errors when performing a Maven Project Update.*
163160

164161
---
165162

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
4+
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
5+
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
56
<attributes>
6-
<attribute name="owner.project.facets" value="java"/>
7+
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
78
</attributes>
89
</classpathentry>
9-
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
10-
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
11-
<classpathentry kind="con" path="com.ibm.cics.explorer.sdk.web.LIBERTY_LIBRARIES/L./V.62/JE.JEE_V9_R1"/>
12-
<classpathentry kind="output" path="build/classes"/>
10+
<classpathentry kind="src" path=".apt_generated">
11+
<attributes>
12+
<attribute name="optional" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry kind="output" path="bin/default"/>
1316
</classpath>
17+
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>testWebApp</name>
3+
<name>cics-java-liberty-springboot-jcics-app</name>
44
<comment></comment>
5-
<projects>
6-
</projects>
5+
<projects/>
6+
<natures>
7+
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
8+
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
9+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
10+
<nature>org.eclipse.jdt.core.javanature</nature>
11+
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
12+
</natures>
713
<buildSpec>
814
<buildCommand>
915
<name>org.eclipse.jdt.core.javabuilder</name>
10-
<arguments>
11-
</arguments>
16+
<arguments/>
1217
</buildCommand>
1318
<buildCommand>
1419
<name>org.eclipse.wst.common.project.facet.core.builder</name>
15-
<arguments>
16-
</arguments>
20+
<arguments/>
1721
</buildCommand>
1822
<buildCommand>
1923
<name>org.eclipse.wst.validation.validationbuilder</name>
20-
<arguments>
21-
</arguments>
24+
<arguments/>
2225
</buildCommand>
2326
</buildSpec>
24-
<natures>
25-
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
26-
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
27-
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
28-
<nature>org.eclipse.jdt.core.javanature</nature>
29-
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
30-
</natures>
27+
<linkedResources/>
28+
<filteredResources/>
3129
</projectDescription>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
#Tue Jun 16 15:51:58 BST 2026
3+
eclipse.preferences.version=1
4+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
5+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
6+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
7+
org.eclipse.jdt.core.compiler.compliance=17
8+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
9+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
10+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
11+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
12+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
13+
org.eclipse.jdt.core.compiler.source=17
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>cics-java-liberty-springboot-jcics-cicsbundle</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
21+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
22+
</natures>
23+
</projectDescription>
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=..
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

0 commit comments

Comments
 (0)