Compare commits
No commits in common. "15dc2068300d02411a0a328db933141a4ddfa368" and "9f8d4331062d32cb0c41dd2c9c834eb45b84dee8" have entirely different histories.
15dc206830
...
9f8d433106
2 changed files with 2 additions and 21 deletions
|
@ -39,16 +39,9 @@ For production:
|
||||||
```
|
```
|
||||||
build graalvm binary
|
build graalvm binary
|
||||||
./gradlew nativeCompile failed, need for some improvements!
|
./gradlew nativeCompile failed, need for some improvements!
|
||||||
|
./gradlew nativeCompile -Dvaadin.productionMode=true
|
||||||
1. First build jar, and get META-INF with
|
|
||||||
./gradlew clean build -Pvaadin.productionMode -x processTestAot
|
|
||||||
java -agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image -jar build/libs/ModeratorElection-0.0.1-SNAPSHOT.jar
|
|
||||||
curl -X GET http://localhost:8080
|
|
||||||
2. graalvm native-image compilation
|
|
||||||
./gradlew nativeCompile -Dvaadin.productionMode=true //-H:ConfigurationFileDirectories=/path/to/config-dir/ notwendig falls nicht in src/main/resources/META-INF/native-image/
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gu available
|
gu available
|
||||||
https://docs.oracle.com/en/graalvm/enterprise/21/docs/reference-manual/graalvm-updater/#component-installation
|
https://docs.oracle.com/en/graalvm/enterprise/21/docs/reference-manual/graalvm-updater/#component-installation
|
||||||
|
@ -69,14 +62,4 @@ https://github.com/vaadin/flow/issues/9376
|
||||||
https://mvysny.github.io/cant-move-node/
|
https://mvysny.github.io/cant-move-node/
|
||||||
https://vaadin.com/forum/t/unregistered-node-was-not-found-based-on-its-id-the-tree-is-most-likely-co/161068
|
https://vaadin.com/forum/t/unregistered-node-was-not-found-based-on-its-id-the-tree-is-most-likely-co/161068
|
||||||
https://vaadin.com/docs/v14/flow/integrations/spring/tutorial-spring-scopes
|
https://vaadin.com/docs/v14/flow/integrations/spring/tutorial-spring-scopes
|
||||||
=> @PreserveOnRefresh annotation in MainView.java does the trick
|
'''
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
pyb test funktionsfähig machen, ddadevops Doku weiss mehr
|
|
||||||
erledigt!
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
ddadevops anpassung, dass src code ins docker image übergeben werden kann - ohne git clone
|
|
||||||
```
|
|
||||||
|
|
|
@ -12,7 +12,6 @@ import com.vaadin.flow.component.notification.Notification;
|
||||||
import com.vaadin.flow.component.notification.NotificationVariant;
|
import com.vaadin.flow.component.notification.NotificationVariant;
|
||||||
import com.vaadin.flow.component.orderedlayout.HorizontalLayout;
|
import com.vaadin.flow.component.orderedlayout.HorizontalLayout;
|
||||||
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
|
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
|
||||||
import com.vaadin.flow.router.PreserveOnRefresh;
|
|
||||||
import com.vaadin.flow.router.Route;
|
import com.vaadin.flow.router.Route;
|
||||||
import com.vaadin.flow.router.PageTitle;
|
import com.vaadin.flow.router.PageTitle;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
|
@ -24,7 +23,6 @@ import java.util.List;
|
||||||
|
|
||||||
@Route("")
|
@Route("")
|
||||||
@PageTitle("Moderatorenwahl")
|
@PageTitle("Moderatorenwahl")
|
||||||
@PreserveOnRefresh
|
|
||||||
@Configuration
|
@Configuration
|
||||||
public class MainView extends VerticalLayout {
|
public class MainView extends VerticalLayout {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue