Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
466058c1
Commit
466058c1
authored
Nov 18, 2021
by
Julian Zobel
🦄
Browse files
Maven adaptations due to missing staxutils for XMLStreamWriter. Changed to txw2
parent
0f31c3b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
466058c1
...
@@ -109,6 +109,11 @@
...
@@ -109,6 +109,11 @@
<version>
1.0
</version>
<version>
1.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.glassfish.jaxb
</groupId>
<artifactId>
txw2
</artifactId>
<version>
3.0.2
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/stax/stax -->
<!-- https://mvnrepository.com/artifact/stax/stax -->
<dependency>
<dependency>
...
@@ -116,17 +121,7 @@
...
@@ -116,17 +121,7 @@
<artifactId>
stax
</artifactId>
<artifactId>
stax
</artifactId>
<version>
1.2.0
</version>
<version>
1.2.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
stax
</groupId>
<artifactId>
utils
</artifactId>
<version>
1.0.0
</version>
</dependency>
<dependency>
<dependency>
<groupId>
xerces
</groupId>
<groupId>
xerces
</groupId>
<artifactId>
xercesImpl
</artifactId>
<artifactId>
xercesImpl
</artifactId>
...
@@ -289,13 +284,7 @@
...
@@ -289,13 +284,7 @@
<artifactId>
ssj
</artifactId>
<artifactId>
ssj
</artifactId>
<version>
3.3.1
</version>
<version>
3.3.1
</version>
</dependency>
</dependency>
<dependency>
<groupId>
umontreal.iro.lecuyer
</groupId>
<artifactId>
ssj
</artifactId>
<version>
1.1.9
</version>
</dependency>
<!-- Date & Time calculations -->
<!-- Date & Time calculations -->
<dependency>
<dependency>
<groupId>
joda-time
</groupId>
<groupId>
joda-time
</groupId>
...
@@ -403,10 +392,12 @@
...
@@ -403,10 +392,12 @@
</dependency>
</dependency>
<!-- Traci as a Service -->
<!-- Traci as a Service -->
<dependency>
<dependency>
<groupId>
maki
</groupId>
<groupId>
maki
</groupId>
<artifactId>
simonstrator-traci
</artifactId>
<artifactId>
simonstrator-traci
</artifactId>
<version>
0.2-SNAPSHOT
</version>
<version>
0.2-SNAPSHOT
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
src/de/tud/kom/p2psim/impl/util/db/relational/RelationalDB.java
View file @
466058c1
...
@@ -52,7 +52,8 @@ import org.xml.sax.helpers.DefaultHandler;
...
@@ -52,7 +52,8 @@ import org.xml.sax.helpers.DefaultHandler;
import
de.tud.kom.p2psim.impl.util.toolkits.SAXToolkit
;
import
de.tud.kom.p2psim.impl.util.toolkits.SAXToolkit
;
import
de.tudarmstadt.maki.simonstrator.api.Monitor
;
import
de.tudarmstadt.maki.simonstrator.api.Monitor
;
import
de.tudarmstadt.maki.simonstrator.api.Monitor.Level
;
import
de.tudarmstadt.maki.simonstrator.api.Monitor.Level
;
import
javanet.staxutils.IndentingXMLStreamWriter
;
import
com.sun.xml.txw2.output.IndentingXMLStreamWriter
;
/**
/**
* <p>
* <p>
...
@@ -435,7 +436,7 @@ public abstract class RelationalDB implements XMLSerializable {
...
@@ -435,7 +436,7 @@ public abstract class RelationalDB implements XMLSerializable {
IndentingXMLStreamWriter
indwr
=
new
IndentingXMLStreamWriter
(
writer
);
//Ensures indentation of the XML document
IndentingXMLStreamWriter
indwr
=
new
IndentingXMLStreamWriter
(
writer
);
//Ensures indentation of the XML document
indwr
.
setIndent
(
" "
);
indwr
.
setIndent
Step
(
" "
);
writer
=
indwr
;
writer
=
indwr
;
writer
.
writeStartDocument
(
"1.0"
);
writer
.
writeStartDocument
(
"1.0"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment