Skip to content

Commit

Permalink
Fix "path must include project and resource name" in Eclipse
Browse files Browse the repository at this point in the history
Eclipse is unwilling to resolve the  directory '../config-local' because
it is located outside the module's sub-folder. Using the Maven variable
instead fixes it.
  • Loading branch information
matthias-ronge committed Jan 9, 2025
1 parent 0a43615 commit b5d862b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Kitodo-DataManagement/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
that means first entry will be added as last resource and may override other resources -->
<resource>
<!-- ATTENTION! we need the config-local declaration at first cause it shall be placed as last resource in the classpath -->
<directory>../config-local</directory>
<directory>${maven.multiModuleProjectDirectory}/config-local</directory>
</resource>
<resource>
<directory>src/main/java</directory>
Expand Down
2 changes: 1 addition & 1 deletion Kitodo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
</resource>
<resource>
<!-- ATTENTION! we need the config-local declaration at first cause it shall be placed as last resource in the classpath -->
<directory>../config-local</directory>
<directory>${maven.multiModuleProjectDirectory}/config-local</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
Expand Down

0 comments on commit b5d862b

Please sign in to comment.