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
From 73abd71abab3375b6f10876bcdcdcbc72ec65d5c Mon Sep 17 00:00:00 2001 | |
From: Kelly Robinson <[email protected]> | |
Date: Wed, 5 Jun 2013 12:24:57 -0700 | |
Subject: [PATCH] fixing dependencies in the pom to exclude tests and deps | |
already provided by the container | |
--- | |
pom.xml | 15 +++++++++++++++ | |
1 file changed, 15 insertions(+) |
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
import org.apache.maven.shared.dependency.analyzer.ClassAnalyzer | |
import org.apache.maven.shared.dependency.analyzer.DefaultClassAnalyzer | |
import org.apache.maven.shared.dependency.analyzer.DependencyAnalyzer | |
import org.apache.maven.shared.dependency.analyzer.ProjectDependencyAnalysis | |
import org.apache.maven.shared.dependency.analyzer.asm.ASMDependencyAnalyzer | |
import org.gradle.api.Project | |
import org.gradle.api.artifacts.ConfigurationContainer | |
import org.gradle.api.artifacts.ResolvedArtifact | |
import org.gradle.api.artifacts.ResolvedDependency |
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
String version = '2.9.2' | |
String scalaDistributionURL = "http://www.scala-lang.org/downloads/distrib/files/scala-${version}.tgz" | |
String scalaDocDistributionURL = "http://www.scala-lang.org/downloads/distrib/files/scala-docs-${version}.zip" | |
String installDirName = '/opt/local/share/java' | |
final File installDir = new File(installDirName) | |
installDir.mkdir() | |
println "Installing scala version $version into ${installDir.absolutePath}" | |
//download if we already have not |
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
import javax.swing.* | |
import javax.swing.table.* | |
transforms << { result -> | |
if (result instanceof Map) { | |
def table = new JTable( | |
result.collect { k, v -> | |
[k, v?.inspect()] as Object[] | |
} as Object[][], | |
['Key', 'Value'] as Object[]) |
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
import groovy.xml.StreamingMarkupBuilder | |
import groovy.xml.XmlUtil | |
import java.awt.Color | |
/** | |
* Reads in a map of color themes, each with five hex color values, and maps them to an iterm color preset plist file. | |
*/ | |
assert args.size() == 1, 'The name or path to a file containing a themeMap script variable must be supplied on the command line' | |
def themeMapFileName = args[0] |
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
import groovy.swing.* | |
import java.awt.* | |
import javax.swing.* | |
/** | |
* Reads in a map of color themes, each with five hex color values, and displays them in a Swing component. | |
*/ | |
assert args.size() == 1, 'The name or path to a file containing a themeMap script variable must be supplied on the command line' | |
def themeMapFileName = args[0] |
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
/** | |
* Reads RSS feeds from kuler and extracts the hexadecimal representation of each five element theme, writing those | |
* values to a file. | |
*/ | |
def feeds = [ | |
new URL("http://kuler-api.adobe.com/feeds/rss/get.cfm?itemsPerPage=100&listType=rating"), | |
new URL("http://kuler-api.adobe.com/feeds/rss/get.cfm?itemsPerPage=100&listType=popular") | |
] | |
def mappedThemes = [:] | |
def slurp = {rssXML, themes -> |
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
configurations{ | |
rat | |
} | |
dependencies { | |
rat 'org.apache.rat:apache-rat-tasks:0.8' | |
} | |
task rat(type: RatTask){ | |
ratClasspath = configurations.rat |
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
Index: core/src/test/java/org/apache/log4j/util/JunitTestRunnerFilter.java | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- core/src/test/java/org/apache/log4j/util/JunitTestRunnerFilter.java (revision 1345602) | |
+++ core/src/test/java/org/apache/log4j/util/JunitTestRunnerFilter.java (revision ) | |
@@ -53,6 +53,13 @@ | |
return null; | |
} else if(in.indexOf("JUnit4TestAdapter") >= 0) { |
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
Index: ntdll.gradle | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- ntdll.gradle (revision ) | |
+++ ntdll.gradle (revision ) | |
@@ -0,0 +1,7 @@ | |
+ant.'target.dir'='target' | |
+ant.'classes.dir'='target/classes' |