forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated zinc to use sbt 0.13.8 and new java compilers that provide a …
…proper log level with their output. See pantsbuild#1557 for details. Also removed -fork-java option because with the new compilers it's redundant. Testing Done: An added test is passing with a local published Zinc. Bugs closed: 1557, 1573 Reviewed at https://rbcommons.com/s/twitter/r/2248/
- Loading branch information
Showing
7 changed files
with
75 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
testprojects/src/java/org/pantsbuild/testproject/dummies/BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
java_library(name='compilation_failure_target', | ||
sources=['CompilationFailure.java'] | ||
) |
15 changes: 15 additions & 0 deletions
15
testprojects/src/java/org/pantsbuild/testproject/dummies/CompilationFailure.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.pantsbuild.testproject.dummies; | ||
|
||
// intentional warning. see JvmExamplesCompileIntegrationTest#test_log_level | ||
import sun.security.x509.X500Name; | ||
|
||
/** | ||
* A simple example with an error and a warning to use in tests | ||
**/ | ||
public class CompilationFailure { | ||
public static void main(String[] args) { | ||
System.out.println("Hello World!"); | ||
// intentional error. see JvmExamplesCompileIntegrationTest#test_log_level | ||
System2.out.println("Hello World!"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters