Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Demos/Dropwizard/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM openjdk:8-jre-alpine
RUN mkdir -p /home/groupdocs/app && apk add fontconfig && apk add msttcorefonts-installer && update-ms-fonts && fc-cache -f
WORKDIR /home/groupdocs/app
COPY target/release/DocumentSamples /home/groupdocs/app
COPY target/release/Licenses /home/groupdocs/app
COPY target/release/annotation-*.jar /home/groupdocs/app/app.jar
RUN mkdir -p /app && apk add fontconfig && apk add msttcorefonts-installer && update-ms-fonts && fc-cache -f
WORKDIR /app
COPY /DocumentSamples /app
COPY /Licenses /app
COPY /target/annotation-*.jar /app/app.jar

EXPOSE 8080

ENTRYPOINT java -jar /home/groupdocs/app/app.jar configuration.yml
ENTRYPOINT java -jar /app/app.jar configuration.yml
16 changes: 8 additions & 8 deletions Demos/Dropwizard/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^8.2.4",
"@angular/common": "^8.2.4",
"@angular/animations": "^8.2.14",
"@angular/common": "^8.2.14",
"@angular/compiler": "^8.2.4",
"@angular/core": "^8.2.4",
"@angular/forms": "^8.2.4",
"@angular/platform-browser": "^8.2.4",
"@angular/platform-browser-dynamic": "^8.2.4",
"@angular/router": "^8.2.4",
"@groupdocs.examples.angular/annotation": "^0.8.98",
"@angular/core": "^8.2.14",
"@angular/forms": "^8.2.14",
"@angular/platform-browser": "^8.2.14",
"@angular/platform-browser-dynamic": "^8.2.14",
"@angular/router": "^8.2.14",
"@groupdocs.examples.angular/annotation": "^0.8.99",
"@nrwl/angular": "^8.12.11",
"common-components": "^1.0.5",
"core-js": "^2.6.11",
Expand Down
2 changes: 1 addition & 1 deletion Demos/Dropwizard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-annotation</artifactId>
<version>23.4</version>
<version>23.6</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Demos/Spring/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@angular/platform-browser": "^8.2.4",
"@angular/platform-browser-dynamic": "^8.2.4",
"@angular/router": "^8.2.4",
"@groupdocs.examples.angular/annotation": "^0.8.98",
"@groupdocs.examples.angular/annotation": "^0.8.99",
"@nrwl/angular": "^8.12.11",
"common-components": "^1.0.5",
"core-js": "^2.6.11",
Expand Down
2 changes: 1 addition & 1 deletion Demos/Spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-annotation</artifactId>
<version>23.4</version>
<version>23.6</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-annotation</artifactId>
<version>23.4</version>
<version>23.6</version>
</dependency>
</dependencies>
<repositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ public static void run() {
Reply reply1 = new Reply();
reply1.setComment("This comment will be applied");
reply1.setRepliedOn(Calendar.getInstance().getTime());
User user1 = new User(1, "Reviewer", Role.Editor);
User user1 = new User(1, "Reviewer", Role.EDITOR);
reply1.setUser(user1);

Reply reply2 = new Reply();
reply2.setComment("This comment will NOT be applied");
reply2.setRepliedOn(Calendar.getInstance().getTime());
User user2 = new User(1, "Member", Role.Viewer);
User user2 = new User(1, "Member", Role.VIEWER);
reply2.setUser(user2);

java.util.List<Reply> replies = new ArrayList<>();
Expand Down