Skip to content

Commit 8e52faf

Browse files
committed
Incorporated pull request fusesource#73
1 parent 596b33c commit 8e52faf

File tree

1 file changed

+2
-2
lines changed
  • hawtjni-maven-plugin/src/main/java/org/fusesource/hawtjni/maven

1 file changed

+2
-2
lines changed

hawtjni-maven-plugin/src/main/java/org/fusesource/hawtjni/maven/BuildMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private void vsBasedBuild(File buildDir) throws CommandLineException, MojoExecut
280280
// vcbuild was removed.. use the msbuild tool instead.
281281
int rc = cli.system(buildDir, new String[]{"msbuild", (windowsProjectName != null ? windowsProjectName : "vs2010") + ".vcxproj", "/property:Platform="+platform, "/property:Configuration="+configuration});
282282
if( rc != 0 ) {
283-
throw new MojoExecutionException("vcbuild failed with exit code: "+rc);
283+
throw new MojoExecutionException("msbuild failed with exit code: "+rc);
284284
}
285285
} else {
286286
// try to use a vcbuild..
@@ -292,7 +292,7 @@ private void vsBasedBuild(File buildDir) throws CommandLineException, MojoExecut
292292

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

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

0 commit comments

Comments
 (0)