Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
725961aa
Commit
725961aa
authored
10 years ago
by
Paul-Christian Volkmer
Browse files
Options
Downloads
Patches
Plain Diff
Ignore non existing resources
parent
964c2e43
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/config/ExtraConfig.java
+5
-2
5 additions, 2 deletions
src/main/java/de/thm/arsnova/config/ExtraConfig.java
with
5 additions
and
2 deletions
src/main/java/de/thm/arsnova/config/ExtraConfig.java
+
5
−
2
View file @
725961aa
...
@@ -14,7 +14,7 @@ import de.thm.arsnova.connector.client.ConnectorClientImpl;
...
@@ -14,7 +14,7 @@ import de.thm.arsnova.connector.client.ConnectorClientImpl;
@Configuration
@Configuration
@PropertySources
({
@PropertySources
({
@PropertySource
(
"arsnova.properties.example"
),
@PropertySource
(
"arsnova.properties.example"
),
@PropertySource
(
"file:///etc/arsnova/
connector
.properties"
),
@PropertySource
(
"file:///etc/arsnova/
arsnova
.properties"
),
})
})
public
class
ExtraConfig
{
public
class
ExtraConfig
{
...
@@ -23,7 +23,10 @@ public class ExtraConfig {
...
@@ -23,7 +23,10 @@ public class ExtraConfig {
@Bean
@Bean
public
static
PropertySourcesPlaceholderConfigurer
propertySourcesPlaceholderConfigurer
()
{
public
static
PropertySourcesPlaceholderConfigurer
propertySourcesPlaceholderConfigurer
()
{
return
new
PropertySourcesPlaceholderConfigurer
();
PropertySourcesPlaceholderConfigurer
configurer
=
new
PropertySourcesPlaceholderConfigurer
();
configurer
.
setIgnoreResourceNotFound
(
true
);
configurer
.
setIgnoreUnresolvablePlaceholders
(
false
);
return
configurer
;
}
}
@Bean
(
name
=
"connectorClient"
)
@Bean
(
name
=
"connectorClient"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment