Skip to content

Commit a31ea2c

Browse files
committed
Rename GAE Java version 5.0.3-SNAPSHOT to 5.0.3-beta-SNAPSHOT
1 parent c32e3b8 commit a31ea2c

114 files changed

Lines changed: 128 additions & 128 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

TRYLATESTBITSINPROD.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ top of your web application and change the entrypoint to boot with these jars in
4747
./mvnw clean install
4848
```
4949

50-
Let's assume the current build version is `5.0.3-SNAPSHOT`.
50+
Let's assume the current build version is `5.0.3-beta-SNAPSHOT`.
5151

5252
See the output of the runtime deployment module which contains all the jars needed by the runtime:
5353

@@ -67,7 +67,7 @@ Add the dependency for the GAE runtime jars in your application pom.xml file:
6767

6868
```
6969
<properties>
70-
<appengine.runtime.version>5.0.3-SNAPSHOT</appengine.runtime.version>
70+
<appengine.runtime.version>5.0.3-beta-SNAPSHOT</appengine.runtime.version>
7171
<appengine.runtime.location>target/${project.artifactId}-${project.version}</appengine.runtime.location>
7272
<properties>
7373
...
@@ -185,13 +185,13 @@ fi
185185
if grep -q "<properties>" "$POM_FILE"; then
186186
# Inserts the properties before the closing </properties> tag
187187
sed -i '/<\/properties>/i \
188-
<appengine.runtime.version>5.0.3-SNAPSHOT<\/appengine.runtime.version>\
188+
<appengine.runtime.version>5.0.3-beta-SNAPSHOT<\/appengine.runtime.version>\
189189
<appengine.runtime.location>target/${project.artifactId}-${project.version}<\/appengine.runtime.location>' "$POM_FILE"
190190
else
191191
# If no properties tag exists, insert it before dependencies
192192
sed -i '/<dependencies>/i \
193193
<properties>\
194-
<appengine.runtime.version>5.0.3-SNAPSHOT<\/appengine.runtime.version>\
194+
<appengine.runtime.version>5.0.3-beta-SNAPSHOT<\/appengine.runtime.version>\
195195
<appengine.runtime.location>target/${project.artifactId}-${project.version}<\/appengine.runtime.location>\
196196
<\/properties>' "$POM_FILE"
197197
fi
@@ -266,14 +266,14 @@ If you are using the Gradle build system, you can apply the following changes to
266266

267267
These instructions configure the `war` task to do two important things:
268268
1. **Move the jars to the top of the WAR directory:** The `into("")` (or `into('.')`) block combined with `eachFile { path = name }` extracts the jars and flattens the directory structure, placing them directly in the root of the generated WAR.
269-
2. **Rename the jars:** The `rename` block strips the version string (e.g., `-5.0.3-SNAPSHOT`) from the extracted jars so their names exactly match the `-Djava.class.path=runtime-main.jar` argument specified in the `appengine-web.xml` entrypoint.
269+
2. **Rename the jars:** The `rename` block strips the version string (e.g., `-5.0.3-beta-SNAPSHOT`) from the extracted jars so their names exactly match the `-Djava.class.path=runtime-main.jar` argument specified in the `appengine-web.xml` entrypoint.
270270

271271
### Kotlin
272272
```
273273
import org.gradle.api.tasks.bundling.War
274274
275275
// 1. Define the target runtime version
276-
val gaeRuntimeVersion = "5.0.3-SNAPSHOT" // Change this to your desired version
276+
val gaeRuntimeVersion = "5.0.3-beta-SNAPSHOT" // Change this to your desired version
277277
278278
// 2. Create a custom configuration for the runtime zip
279279
val gaeRuntimeZip by configurations.creating
@@ -309,7 +309,7 @@ tasks.named<War>("war") {
309309

310310
```
311311
// 1. Define the target runtime version
312-
def gaeRuntimeVersion = "5.0.3-SNAPSHOT" // Change this to your desired version
312+
def gaeRuntimeVersion = "5.0.3-beta-SNAPSHOT" // Change this to your desired version
313313
314314
// 2. Create a custom configuration for the runtime zip
315315
configurations {
@@ -336,7 +336,7 @@ war {
336336
}
337337
338338
// Strip the version number from the jar files
339-
// (e.g., 'runtime-main-5.0.3-SNAPSHOT.jar' becomes 'runtime-main.jar')
339+
// (e.g., 'runtime-main-5.0.3-beta-SNAPSHOT.jar' becomes 'runtime-main.jar')
340340
rename { String fileName ->
341341
fileName.replace("-${gaeRuntimeVersion}", "")
342342
}

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.google.appengine</groupId>
2323
<artifactId>parent</artifactId>
24-
<version>5.0.3-SNAPSHOT</version>
24+
<version>5.0.3-beta-SNAPSHOT</version>
2525
</parent>
2626
<properties>
2727
<maven.deploy.skip>true</maven.deploy.skip>

api_dev/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>com.google.appengine</groupId>
2525
<artifactId>parent</artifactId>
26-
<version>5.0.3-SNAPSHOT</version>
26+
<version>5.0.3-beta-SNAPSHOT</version>
2727
</parent>
2828

2929
<packaging>jar</packaging>

api_legacy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.google.appengine</groupId>
2424
<artifactId>parent</artifactId>
25-
<version>5.0.3-SNAPSHOT</version>
25+
<version>5.0.3-beta-SNAPSHOT</version>
2626
</parent>
2727

2828
<packaging>jar</packaging>

appengine-api-1.0-sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.google.appengine</groupId>
2222
<artifactId>parent</artifactId>
23-
<version>5.0.3-SNAPSHOT</version>
23+
<version>5.0.3-beta-SNAPSHOT</version>
2424
</parent>
2525
<packaging>jar</packaging>
2626
<name>AppEngine :: appengine-api-1.0-sdk</name>

appengine-api-stubs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>com.google.appengine</groupId>
2525
<artifactId>parent</artifactId>
26-
<version>5.0.3-SNAPSHOT</version>
26+
<version>5.0.3-beta-SNAPSHOT</version>
2727
</parent>
2828

2929
<packaging>jar</packaging>

appengine_init/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>com.google.appengine</groupId>
2525
<artifactId>parent</artifactId>
26-
<version>5.0.3-SNAPSHOT</version>
26+
<version>5.0.3-beta-SNAPSHOT</version>
2727
</parent>
2828

2929
<packaging>jar</packaging>

appengine_jsr107/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<groupId>com.google.appengine</groupId>
2828
<artifactId>parent</artifactId>
29-
<version>5.0.3-SNAPSHOT</version>
29+
<version>5.0.3-beta-SNAPSHOT</version>
3030
</parent>
3131

3232
<dependencies>

appengine_resources/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.google.appengine</groupId>
2323
<artifactId>parent</artifactId>
24-
<version>5.0.3-SNAPSHOT</version>
24+
<version>5.0.3-beta-SNAPSHOT</version>
2525
</parent>
2626
<packaging>jar</packaging>
2727
<name>AppEngine :: appengine-resources</name>

appengine_setup/apiserver_local/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.google.appengine</groupId>
2222
<artifactId>appengine_setup</artifactId>
23-
<version>5.0.3-SNAPSHOT</version>
23+
<version>5.0.3-beta-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

0 commit comments

Comments
 (0)