Skip to content

Commit 1276ce3

Browse files
committed
Rework pathing a bit
1 parent f6529ff commit 1276ce3

File tree

1 file changed

+2
-2
lines changed
  • src/Xamarin.Android.Build.Tasks/Tasks

1 file changed

+2
-2
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/Javac.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ protected override string GenerateCommandLineCommands ()
6767

6868
protected override void WriteOptionsToResponseFile (StreamWriter sw)
6969
{
70-
WriteLineToStreamWriterAndLog (sw, $"-d \"{Files.GetShortPath(ClassesOutputDirectory).ToJavaEscapedPath ()}\"");
71-
WriteLineToStreamWriterAndLog (sw, "-bootclasspath \"{0}\"", Files.GetShortPath(JavaPlatformJarPath).ToJavaEscapedPath ());
70+
WriteLineToStreamWriterAndLog (sw, $"-d \"{ClassesOutputDirectory.ToJavaEscapedPath ()}\"");
71+
WriteLineToStreamWriterAndLog (sw, "-bootclasspath {0}", Files.GetShortPath(JavaPlatformJarPath).ToJavaEscapedPath ());
7272
WriteLineToStreamWriterAndLog (sw, "-classpath \"{0}\"", Jars == null || !Jars.Any () ? null : string.Join (Path.PathSeparator.ToString (), Jars.Select (i => i.ItemSpec.ToJavaEscapedPath ())));
7373
WriteLineToStreamWriterAndLog (sw, $"-encoding UTF8");
7474
}

0 commit comments

Comments
 (0)