Commit af2f4cc
authored
Rewrite SDK samples using Maven (#10247)
Restructured samples to build with Maven and be designed around
splitting server/client where appropriate. Includes some package changes
to better differentiate when a class is shared, client-only, or
server-only.
RequestFactory log requests with jakarta seem hard to use, but easy to
copy into the sample project as an example of how to get around this
issue.
All samples are rebuilt to use jakarta.servlet, except mobilewebapp,
which uses too old of an AppEngine version to update.
All samples require Java 17+ except mobilewebapp, which doesn't
work with any Java version other than 11 at this time.
Fixes #102321 parent 2a8b571 commit af2f4cc
485 files changed
Lines changed: 3299 additions & 1181 deletions
File tree
- dev
- distro-source
- core/src/samples
- samples
- dynatablerf
- dynatablerf-client
- src/main
- java/com/google/gwt/sample/dynatablerf/client
- events
- widgets
- dynatablerf-server
- src/main
- java/com/google/gwt/sample/dynatablerf
- domain
- server
- jettyconf
- resources
- webapp
- WEB-INF
- dynatable
- dynatable-client
- src/main
- java/com/google/gwt/sample/dynatable/client
- dynatable-server
- src/main
- java/com/google/gwt/sample/dynatable/server
- jettyconf
- webapp
- WEB-INF
- hello
- src/main
- java/com/google/gwt/sample/hello
- client
- webapp
- WEB-INF
- classes
- war/WEB-INF/classes
- json
- json-client
- src/main
- java/com/google/gwt/sample/json/client
- json-server
- src/main
- jettyconf
- webapp
- WEB-INF
- json
- war/WEB-INF/classes
- mail
- mail-client
- src/main
- java/com/google/gwt/sample/mail/client
- mail-server
- src/main
- jettyconf
- webapp
- WEB-INF
- war/WEB-INF/classes
- mobilewebapp
- mobilewebapp-client
- src
- main/java/com/google/gwt/sample
- core/linker
- gaerequest
- client
- mobilewebapp
- client
- activity
- desktop
- event
- mobile
- tablet
- ui
- linker
- presenter
- taskchart
- tasklist
- task
- ui
- client
- test/java/com/google/gwt/sample/core/linker
- mobilewebapp-server
- src/main
- java/com/google/gwt/sample
- gaerequest/server
- mobilewebapp/server/domain
- resources
- webapp
- WEB-INF
- audio
- video
- showcase
- showcase-client
- src/main
- java/com/google/gwt/sample/showcase
- client
- content
- cell
- i18n
- lists
- other
- panels
- popups
- tables
- text
- widgets
- generator
- resources/com/google/gwt/i18n/client
- showcase-server
- src/main
- jettyconf
- webapp
- WEB-INF
- war/WEB-INF
- classes
- validation
- validation-client
- src/main
- java/com/google/gwt/sample/validation/client
- validation-server
- src/main
- java/com/google/gwt/sample/validation/server
- jettyconf
- resources
- webapp
- WEB-INF
- user/src/com/google/gwt/user/tools
- templates/ant
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
147 | 158 | | |
148 | 159 | | |
149 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | | - | |
14 | | - | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
22 | | - | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
26 | | - | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
71 | 111 | | |
72 | 112 | | |
73 | 113 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
77 | 122 | | |
78 | 123 | | |
79 | | - | |
| 124 | + | |
80 | 125 | | |
81 | | - | |
| 126 | + | |
82 | 127 | | |
83 | 128 | | |
84 | 129 | | |
85 | 130 | | |
86 | 131 | | |
87 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
88 | 135 | | |
89 | 136 | | |
0 commit comments