Skip to content

Commit ae15804

Browse files
authored
Update site for GWT 2.12.1 release (#376)
1 parent 407c50c commit ae15804

File tree

8 files changed

+248
-7
lines changed

8 files changed

+248
-7
lines changed

src/main/markdown/articles/superdevmode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ needed to compile your GWT app (most likely gwt-user.jar).
7171
* The main method is in com.google.gwt.dev.codeserver.CodeServer
7272

7373
If you run CodeServer without any arguments, it will print out its
74-
command line arguments. For 2.12.0, here is the output:
74+
command line arguments. For 2.12.1, here is the output:
7575
```
76-
Google Web Toolkit 2.12.0
76+
Google Web Toolkit 2.12.1
7777
CodeServer [-[no]allowMissingSrc] [-[no]compileTest] [-compileTestRecompiles count] [-[no]failOnError] [-[no]precompile] [-port port] [-src dir] [-workDir dir] [-launcherDir] [-bindAddress host-name-or-address] [-style (DETAILED|OBFUSCATED|PRETTY)] [-setProperty name=value,value...] [-[no]incremental] [-sourceLevel [auto, 1.8, 9, 10, 11, 17]] [-logLevel (ERROR|WARN|INFO|TRACE|DEBUG|SPAM|ALL)] [-[no]generateJsInteropExports] [-includeJsInteropExports/excludeJsInteropExports regex] [-XmethodNameDisplayMode (NONE|ONLY_METHOD_NAME|ABBREVIATED|FULL)] [-X[no]closureFormattedOutput] [module]
7878
7979
where

src/main/markdown/doc/latest/DevGuideCompilingAndDebugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ There are many options you can pass to the development mode process to control h
314314
```
315315
$ java -cp gwt-dev.jar com.google.gwt.dev.DevMode
316316
Missing required argument 'module[s]'
317-
Google Web Toolkit 2.12.0
317+
Google Web Toolkit 2.12.1
318318
DevMode [-[no]startServer] [-port port-number | "auto"] [-logdir directory] [-logLevel (ERROR|WARN|INFO|TRACE|DEBUG|SPAM|ALL)] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-[no]superDevMode] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-modulePathPrefix ] [-workDir dir] [-XmethodNameDisplayMode (NONE|ONLY_METHOD_NAME|ABBREVIATED|FULL)] [-sourceLevel [auto, 1.8, 9, 10, 11, 17]] [-[no]generateJsInteropExports] [-includeJsInteropExports/excludeJsInteropExports regex] [-[no]incremental] [-style (DETAILED|OBFUSCATED|PRETTY)] [-[no]failOnError] [-setProperty name=value,value...] module[s]
319319
320320
where
@@ -542,7 +542,7 @@ There are many options you can pass to the GWT compiler process to control how y
542542
```
543543
> java -cp gwt-dev.jar com.google.gwt.dev.Compiler
544544
Missing required argument 'module[s]'
545-
Google Web Toolkit 2.12.0
545+
Google Web Toolkit 2.12.1
546546
Compiler [-logLevel (ERROR|WARN|INFO|TRACE|DEBUG|SPAM|ALL)] [-workDir dir] [-X[no]closureFormattedOutput] [-[no]compileReport] [-X[no]checkCasts] [-X[no]classMetadata] [-[no]draftCompile] [-[no]checkAssertions] [-XfragmentCount numFragments] [-gen dir] [-[no]generateJsInteropExports] [-includeJsInteropExports/excludeJsInteropExports regex] [-XmethodNameDisplayMode (NONE|ONLY_METHOD_NAME|ABBREVIATED|FULL)] [-Xnamespace (NONE|PACKAGE)] [-optimize level] [-[no]saveSource] [-setProperty name=value,value...] [-style (DETAILED|OBFUSCATED|PRETTY)] [-[no]failOnError] [-[no]validateOnly] [-sourceLevel [auto, 1.8, 9, 10, 11, 17]] [-localWorkers count] [-[no]incremental] [-war dir] [-deploy dir] [-extra dir] [-saveSourceOutput dir] module[s]
547547
548548
where

src/main/markdown/download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Download
4242
<b style="color: #444;">Note</b> - This download contains the standalone GWT SDK and tools only. If you're using Eclipse, we suggest that you download and install the GWT Eclipse Plugin instead.
4343
</p>
4444
<div class='moreinfo'>
45-
<a class='download-button' href="https://github.com/gwtproject/gwt/releases/download/2.12.0/gwt-2.12.0.zip">Download GWT SDK</a> <br />
45+
<a class='download-button' href="https://github.com/gwtproject/gwt/releases/download/2.12.1/gwt-2.12.1.zip">Download GWT SDK</a> <br />
4646
<p style='font-size: 85%;'>
4747
<a href="versions.html">[Old versions]</a>
4848
</p>

src/main/markdown/gettingstarted-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ the plugin generates a Maven project with separate modules for
2323

2424
## Prerequisites<a id="prereqs"></a>
2525

26-
1. GWT 2.12.0 runs on Java 11+. If necessary, download and install the Java SE Development Kit (JDK)
26+
1. GWT 2.12.1 runs on Java 11+. If necessary, download and install the Java SE Development Kit (JDK)
2727
<a href="https://adoptium.net/de/temurin/releases/" rel="nofollow">from Eclipse Temurin</a> for
2828
your platform. Install the JDK by following the installation instructions.
2929
2. Apache Maven is also necessary to run the gwt-maven-archetype. In this sample the Maven CLI is used. If

src/main/markdown/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Overview
33

44
GWT is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without the developer having to be an expert in browser quirks, XMLHttpRequest, and JavaScript. It's open source, completely free, and used by thousands of developers around the world.
55

6-
[What's New in GWT 2.12.0](release-notes.html#Release_Notes_2_12_0)
6+
[What's New in GWT 2.12.1](release-notes.html#Release_Notes_2_12_1)
77

88
## What's inside the toolbox?
99

src/main/markdown/release-notes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
The GWT Release Notes
22
=====================
3+
* [2.12.1](#Release_Notes_2_12_1) November 12, 2024
34
* [2.12.0](#Release_Notes_2_12_0) October 29, 2024
45
* [2.11.0](#Release_Notes_2_11_0) January 9, 2024
56
* [2.10.1](#Release_Notes_2_10_1) January 9, 2024
@@ -67,6 +68,14 @@ The GWT Release Notes
6768
* * *
6869

6970
<a id="Release_Notes_Current"></a>
71+
## <a id="Release_Notes_2_12_1"></a> Release Notes for 2.12.1
72+
### Bug fixes:
73+
- Switch statements can correctly compile without being contained in braces
74+
- Ignore all annotations in all scopes if source is missing; this means you no longer need to add an
75+
additional dependency on sources for annotation-only dependencies
76+
77+
For more detail, see the [commit log](https://github.com/gwtproject/gwt/compare/2.12.0...2.12.1).
78+
7079
## <a id="Release_Notes_2_12_0"></a> Release Notes for 2.12.0
7180
### Highlights:
7281
- Added support for Java 12-17 language features, including text blocks, instanceof pattern matching, records, and switch expressions.

src/main/markdown/versions.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@ Versions
33

44
GWT is licensed under the [Apache 2.0 open source license](terms.html) (since version 1.3).
55

6+
### Version 2.12.1
7+
8+
Build 2.12.1 - November 12, 2024 - [Release notes](release-notes.html#Release_Notes_2_12_1)
9+
10+
<table class="downloads" style="width:500px">
11+
<tbody>
12+
<tr>
13+
<th>Platform</th>
14+
<th>Package</th>
15+
<th>Size</th>
16+
<th>SHA1 Sum</th>
17+
</tr>
18+
<tr>
19+
<td>Windows, Mac OS X, and Linux</td>
20+
<td>[gwt-2.12.1.zip](https://github.com/gwtproject/gwt/releases/download/2.12.1/gwt-2.12.1.zip)</td>
21+
<td>848b99e0b5dd8d64c678c2f2174a07e18</td>
22+
<td>109 MB</td>
23+
</tr>
24+
</tbody>
25+
</table>
26+
627
### Version 2.12.0
728

829
Build 2.12.0 - October 29, 2024 - [Release notes](release-notes.html#Release_Notes_2_12_0)
Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- -->
3+
<!-- Copyright 2008 Google Inc. -->
4+
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you -->
5+
<!-- may not use this file except in compliance with the License. You may -->
6+
<!-- may obtain a copy of the License at -->
7+
<!-- -->
8+
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
9+
<!-- -->
10+
<!-- Unless required by applicable law or agreed to in writing, software -->
11+
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
12+
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
13+
<!-- implied. License for the specific language governing permissions and -->
14+
<!-- limitations under the License. -->
15+
16+
<!-- The module root element -->
17+
<!ELEMENT module (inherits | source | public | super-source | entry-point |
18+
stylesheet | script | servlet | replace-with | generate-with |
19+
define-property | extend-property | set-property | set-property-fallback |
20+
clear-configuration-property | define-configuration-property |
21+
extend-configuration-property | set-configuration-property |
22+
property-provider | define-linker | add-linker | collapse-all-properties |
23+
collapse-property)*>
24+
<!ATTLIST module
25+
rename-to CDATA #IMPLIED
26+
>
27+
<!-- Inherit the contents of another module -->
28+
<!ELEMENT inherits EMPTY>
29+
<!ATTLIST inherits
30+
name CDATA #REQUIRED
31+
>
32+
<!-- Specify the source path, relative to the classpath location of the module descriptor -->
33+
<!ELEMENT source (include | exclude)*>
34+
<!ATTLIST source
35+
path CDATA #REQUIRED
36+
includes CDATA #IMPLIED
37+
excludes CDATA #IMPLIED
38+
defaultexcludes (yes | no) "yes"
39+
casesensitive (true | false) "true"
40+
>
41+
<!-- Specify the public resource path, relative to the classpath location of the module descriptor -->
42+
<!ELEMENT public (include | exclude)*>
43+
<!ATTLIST public
44+
path CDATA #REQUIRED
45+
includes CDATA #IMPLIED
46+
excludes CDATA #IMPLIED
47+
defaultexcludes (yes | no) "yes"
48+
casesensitive (true | false) "true"
49+
>
50+
<!-- Specify a source path that rebases subpackages into the root namespace -->
51+
<!ELEMENT super-source (include | exclude)*>
52+
<!ATTLIST super-source
53+
path CDATA #REQUIRED
54+
includes CDATA #IMPLIED
55+
excludes CDATA #IMPLIED
56+
defaultexcludes (yes | no) "yes"
57+
casesensitive (true | false) "true"
58+
>
59+
<!ELEMENT include EMPTY>
60+
<!ATTLIST include
61+
name CDATA #REQUIRED
62+
>
63+
<!ELEMENT exclude EMPTY>
64+
<!ATTLIST exclude
65+
name CDATA #REQUIRED
66+
>
67+
68+
<!-- Define a module entry point -->
69+
<!ELEMENT entry-point EMPTY>
70+
<!ATTLIST entry-point
71+
class CDATA #REQUIRED
72+
>
73+
74+
<!-- Preload a stylesheet before executing the GWT application -->
75+
<!ELEMENT stylesheet EMPTY>
76+
<!ATTLIST stylesheet
77+
src CDATA #REQUIRED
78+
>
79+
<!-- Preload an external JavaScript file before executing the GWT application -->
80+
<!ELEMENT script (#PCDATA)>
81+
<!ATTLIST script
82+
src CDATA #REQUIRED
83+
>
84+
<!-- Map a named servlet class to a module-relative path in hosted mode -->
85+
<!ELEMENT servlet EMPTY>
86+
<!ATTLIST servlet
87+
path CDATA #REQUIRED
88+
class CDATA #REQUIRED
89+
>
90+
91+
<!-- Adds a Linker to the compilation process -->
92+
<!ELEMENT add-linker EMPTY>
93+
<!-- A comma-separated list of linker names -->
94+
<!ATTLIST add-linker
95+
name CDATA #REQUIRED
96+
>
97+
98+
<!-- Defines a Linker type to package compiler output -->
99+
<!ELEMENT define-linker EMPTY>
100+
<!ATTLIST define-linker
101+
class CDATA #REQUIRED
102+
name CDATA #REQUIRED
103+
>
104+
105+
<!-- ^^^ Commonly-used elements ^^^ -->
106+
<!-- VVV Deferred binding elements VVV -->
107+
108+
<!-- All possible predicates -->
109+
<!ENTITY % predicates "when-property-is | when-type-assignable | when-type-is | when-linker-added | all | any | none">
110+
<!-- Define a property and allowable values (comma-separated identifiers) -->
111+
<!ELEMENT define-property EMPTY>
112+
<!ATTLIST define-property
113+
name CDATA #REQUIRED
114+
values CDATA #REQUIRED
115+
>
116+
<!-- Define a configuration property -->
117+
<!ELEMENT define-configuration-property EMPTY>
118+
<!ATTLIST define-configuration-property
119+
name CDATA #REQUIRED
120+
is-multi-valued CDATA #REQUIRED
121+
>
122+
<!-- Set the value of a previously-defined property -->
123+
<!ELEMENT set-property (%predicates;)*>
124+
<!ATTLIST set-property
125+
name CDATA #REQUIRED
126+
value CDATA #REQUIRED
127+
>
128+
<!-- Set the value of a previously-defined property -->
129+
<!ELEMENT set-property-fallback EMPTY>
130+
<!ATTLIST set-property-fallback
131+
name CDATA #REQUIRED
132+
value CDATA #REQUIRED
133+
>
134+
<!-- Set the value of a configuration property -->
135+
<!ELEMENT set-configuration-property EMPTY>
136+
<!ATTLIST set-configuration-property
137+
name CDATA #REQUIRED
138+
value CDATA #REQUIRED
139+
>
140+
<!-- Add additional allowable values to a property -->
141+
<!ELEMENT extend-property EMPTY>
142+
<!ATTLIST extend-property
143+
name CDATA #REQUIRED
144+
values CDATA #REQUIRED
145+
fallback-value CDATA #IMPLIED
146+
>
147+
<!-- Collapse property values to produce soft permutations -->
148+
<!ELEMENT collapse-property EMPTY>
149+
<!ATTLIST collapse-property
150+
name CDATA #REQUIRED
151+
values CDATA #REQUIRED
152+
>
153+
<!-- Collapse all deferred-binding properties to produce a single permutation -->
154+
<!ELEMENT collapse-all-properties EMPTY>
155+
<!ATTLIST collapse-all-properties
156+
value (true | false) "true"
157+
>
158+
<!-- Add additional allowable values to a configuration property -->
159+
<!ELEMENT extend-configuration-property EMPTY>
160+
<!ATTLIST extend-configuration-property
161+
name CDATA #REQUIRED
162+
value CDATA #REQUIRED
163+
>
164+
<!-- Remove all allowable values from a configuration property -->
165+
<!ELEMENT clear-configuration-property EMPTY>
166+
<!ATTLIST clear-configuration-property
167+
name CDATA #REQUIRED
168+
>
169+
<!-- Define a JavaScript fragment that will return the value for the named property at runtime -->
170+
<!ELEMENT property-provider (#PCDATA)>
171+
<!ATTLIST property-provider
172+
name CDATA #REQUIRED
173+
generator CDATA #IMPLIED
174+
>
175+
<!-- Deferred binding assignment to substitute a named class -->
176+
<!ELEMENT replace-with (%predicates;)*>
177+
<!ATTLIST replace-with
178+
class CDATA #REQUIRED
179+
>
180+
<!-- Deferred binding assignment to substitute a generated class -->
181+
<!ELEMENT generate-with (%predicates;)*>
182+
<!ATTLIST generate-with
183+
class CDATA #REQUIRED
184+
>
185+
<!-- Deferred binding predicate that is true when a named property has a given value-->
186+
<!ELEMENT when-property-is EMPTY>
187+
<!ATTLIST when-property-is
188+
name CDATA #REQUIRED
189+
value CDATA #REQUIRED
190+
>
191+
<!-- Deferred binding predicate that is true for types in the type system that are assignable to the specified type -->
192+
<!ELEMENT when-type-assignable EMPTY>
193+
<!ATTLIST when-type-assignable
194+
class CDATA #REQUIRED
195+
>
196+
<!-- Deferred binding predicate that is true for exactly one type in the type system -->
197+
<!ELEMENT when-type-is EMPTY>
198+
<!ATTLIST when-type-is
199+
class CDATA #REQUIRED
200+
>
201+
<!-- Deferred binding predicate that is true when there are linker with such name -->
202+
<!ELEMENT when-linker-added EMPTY>
203+
<!ATTLIST when-linker-added
204+
name CDATA #REQUIRED
205+
>
206+
<!-- Predicate that ANDs all child conditions -->
207+
<!ELEMENT all (%predicates;)*>
208+
<!-- Predicate that ORs all child conditions -->
209+
<!ELEMENT any (%predicates;)*>
210+
<!-- Predicate that NANDs all child conditions -->
211+
<!ELEMENT none (%predicates;)*>

0 commit comments

Comments
 (0)