Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andreas Tsagkaropoulos
morphemic-preprocessor
Commits
01113110
Commit
01113110
authored
Jan 26, 2021
by
Mohamed Khalil Labidi
Browse files
Add logs to print the file path
parent
b68f2f8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/activeeon/morphemic/PAGateway.java
View file @
01113110
...
...
@@ -270,6 +270,9 @@ public class PAGateway {
}
File
fXmlFile
=
null
;
try
{
LOGGER
.
info
(
"filename: "
+
filename
);
LOGGER
.
info
(
"getClass().getResource(filename): "
+
getClass
().
getResource
(
filename
).
toString
());
LOGGER
.
info
(
"getClass().getResource(filename).getPath()"
+
getClass
().
getResource
(
filename
).
getPath
());
fXmlFile
=
new
File
(
getClass
().
getResource
(
filename
).
toURI
());
}
catch
(
URISyntaxException
e
)
{
LOGGER
.
error
(
e
.
getStackTrace
());
...
...
src/main/resources/META-INF/persistence.xml
View file @
01113110
...
...
@@ -22,9 +22,9 @@
<properties>
<property
name=
"javax.persistence.jdbc.driver"
value=
"org.mariadb.jdbc.Driver"
/>
<property
name=
"javax.persistence.jdbc.url"
value=
"jdbc:mariadb://
melodic-store
:3306/proactive"
/>
<property
name=
"javax.persistence.jdbc.user"
value=
""
/>
<property
name=
"javax.persistence.jdbc.password"
value=
""
/>
<property
name=
"javax.persistence.jdbc.url"
value=
"jdbc:mariadb://
localhost
:3306/proactive"
/>
<property
name=
"javax.persistence.jdbc.user"
value=
"
root
"
/>
<property
name=
"javax.persistence.jdbc.password"
value=
"
admin
"
/>
<property
name=
"hibernate.dialect"
value=
"org.hibernate.dialect.MariaDB103Dialect"
/>
<property
name=
"hibernate.hbm2ddl.auto"
value=
"update"
/>
<property
name=
"hibernate.flushMode"
value=
"FLUSH_AUTO"
/>
...
...
Write
Preview
Supports
Markdown
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