Skip to content

Commit

Permalink
Incorporated pull request fusesource#73
Browse files Browse the repository at this point in the history
  • Loading branch information
castortech committed Nov 14, 2021
1 parent 596b33c commit 8e52faf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private void vsBasedBuild(File buildDir) throws CommandLineException, MojoExecut
// vcbuild was removed.. use the msbuild tool instead.
int rc = cli.system(buildDir, new String[]{"msbuild", (windowsProjectName != null ? windowsProjectName : "vs2010") + ".vcxproj", "/property:Platform="+platform, "/property:Configuration="+configuration});
if( rc != 0 ) {
throw new MojoExecutionException("vcbuild failed with exit code: "+rc);
throw new MojoExecutionException("msbuild failed with exit code: "+rc);
}
} else {
// try to use a vcbuild..
Expand All @@ -292,7 +292,7 @@ private void vsBasedBuild(File buildDir) throws CommandLineException, MojoExecut

File libFile=FileUtils.resolveFile(buildDir, "target/"+platform+"-"+configuration+"/lib/"+library.getLibraryFileName());
if( !libFile.exists() ) {
throw new MojoExecutionException("vcbuild did not generate: "+libFile);
throw new MojoExecutionException("Visual Studio did not generate: "+libFile);
}

File target=FileUtils.resolveFile(libDirectory, library.getPlatformSpecificResourcePath(libPlatform));
Expand Down

0 comments on commit 8e52faf

Please sign in to comment.