Skip to content

Commit 9778381

Browse files
committed
[Java.Interop] Create $(OutputPath) in the BuildInteropJar target.
Jenkins is failing: java.io.FileNotFoundException: ../../bin/XAIntegrationDebug/java-interop.jar (No such file or directory) Presumably this is because we're trying to create a file in a directory which doesn't yet exist: $(OutputPath). Update the BuildInteropJar target to create $(OutputPath).
1 parent 7380c83 commit 9778381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Java.Interop/Java.Interop.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
</Content>
162162
</ItemGroup>
163163
<Target Name="BuildInteropJar" Inputs="@(CompileJavaInteropJar)" Outputs="$(OutputPath)java-interop.jar">
164-
<MakeDir Directories="$(IntermediateOutputPath)ji-classes" />
164+
<MakeDir Directories="$(OutputPath);$(IntermediateOutputPath)ji-classes" />
165165
<Exec Command="javac -source 1.5 -target 1.6 -d &quot;$(IntermediateOutputPath)ji-classes&quot; @(CompileJavaInteropJar -&gt; '%(Identity)', ' ')" />
166166
<Exec Command="jar cf &quot;$(OutputPath)java-interop.jar&quot; -C &quot;$(IntermediateOutputPath)ji-classes&quot; ." />
167167
</Target>

0 commit comments

Comments
 (0)