Commit c10e061
committed
[Xamarin.Android.Build.Tasks] Use a Response file for javac
Context https://devdiv.visualstudio.com/DevDiv/_workitems/edit/599161
We currently only use a resposen file for .java files.
Looking at the docs there is no reason why we can't use
them for all of the arguments.
Using a response file should get rid of the following
errors
error MSB4018: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
for `javac` anyway.1 parent bc2b6fb commit c10e061
File tree
4 files changed
+40
-30
lines changed- src/Xamarin.Android.Build.Tasks
- Tasks
- Utilities
4 files changed
+40
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 151 | | |
167 | 152 | | |
168 | 153 | | |
| |||
388 | 373 | | |
389 | 374 | | |
390 | 375 | | |
391 | | - | |
392 | | - | |
393 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
394 | 379 | | |
395 | 380 | | |
396 | 381 | | |
| |||
411 | 396 | | |
412 | 397 | | |
413 | 398 | | |
414 | | - | |
| 399 | + | |
415 | 400 | | |
416 | 401 | | |
417 | 402 | | |
418 | | - | |
| 403 | + | |
419 | 404 | | |
420 | 405 | | |
421 | | - | |
| 406 | + | |
422 | 407 | | |
423 | | - | |
424 | | - | |
| 408 | + | |
| 409 | + | |
425 | 410 | | |
426 | 411 | | |
427 | 412 | | |
| |||
443 | 428 | | |
444 | 429 | | |
445 | 430 | | |
446 | | - | |
| 431 | + | |
447 | 432 | | |
448 | | - | |
| 433 | + | |
449 | 434 | | |
450 | 435 | | |
451 | 436 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| 76 | + | |
| 77 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
313 | 328 | | |
314 | 329 | | |
315 | 330 | | |
0 commit comments