Skip to content

Commit

Permalink
0001860: symmetric-wrapper should not include the version number, oth…
Browse files Browse the repository at this point in the history
…erwise the service needs to be reinstalled on each upgrade
  • Loading branch information
chenson42 committed Aug 2, 2014
1 parent 26a7a21 commit 887e089
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions symmetric-assemble/src/assembly/assembly-server.xml
Expand Up @@ -129,9 +129,21 @@
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>junit:junit</exclude>
<exclude>junit:junit</exclude>
<exclude>org.jumpmind.symmetric:symmetric-wrapper</exclude>
</excludes>
</dependencySet>
</dependencySet>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<unpack>false</unpack>
<scope>provided</scope>
<outputFileNameMapping>symmetric-wrapper.jar</outputFileNameMapping>
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveFiltering>true</useTransitiveFiltering>
<includes>
<include>org.jumpmind.symmetric:symmetric-wrapper</include>
</includes>
</dependencySet>
</dependencySets>
</binaries>
</moduleSet>
Expand Down
Expand Up @@ -52,7 +52,7 @@ public String getWrapperJarPath() {
try {
File libDir = new File(workingDirectory.getCanonicalPath() + File.separator + ".." + File.separator + "lib");
for (String filename : libDir.list()) {
if (filename.startsWith("symmetric-wrapper-")) {
if (filename.startsWith("symmetric-wrapper")) {
return new File(libDir.getCanonicalPath() + File.separator + filename).getCanonicalPath();
}
}
Expand Down

0 comments on commit 887e089

Please sign in to comment.