forked from jponge/dice-proxy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1641a9c
Showing
5 changed files
with
1,021 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Buildr.settings.build['scala.version'] = '2.9.1' | ||
require 'buildr/scala' | ||
|
||
repositories.remote << 'http://repo1.maven.org/maven2/' | ||
repositories.remote << 'http://www.ibiblio.org/maven2' | ||
repositories.remote << 'http://maven.twttr.com/' | ||
|
||
FINAGLE = "com.twitter:finagle-http_#{Scala.version}:jar:1.11.1" | ||
|
||
define 'finagle-test' do | ||
project.group = 'my.app' | ||
project.version = '0.1' | ||
|
||
package :jar | ||
manifest['Main-Class'] = 'my.app.MyApp' | ||
|
||
compile.with transitive(FINAGLE) | ||
end | ||
|
||
task :execute => :package do | ||
classpath = transitive(FINAGLE).map { |dep| dep.name }.delete_if { |dep| dep.include? 'scala-library' }.join(':') | ||
puts "\nRun >>> \n\n" | ||
sh "scala -cp #{classpath}:target/finagle-test-0.1.jar my.app.MyApp" | ||
end |
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,142 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module relativePaths="true" type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="false"> | ||
<output url="file://$MODULE_DIR$/target/java" /> | ||
<output-test url="file://$MODULE_DIR$/target/test/java" /> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/scala" isTestSource="false" /> | ||
<excludeFolder url="file://$MODULE_DIR$/reports" /> | ||
<excludeFolder url="file://$MODULE_DIR$/target" /> | ||
</content> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/org/scala-lang/scala-library/2.9.0-1/scala-library-2.9.0-1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/org/scala-lang/scala-compiler/2.9.0-1/scala-compiler-2.9.0-1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/finagle-http/1.11.1/finagle-http-1.11.1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/util-logging/1.12.13/util-logging-1.12.13.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/util-core/1.12.13/util-core-1.12.13.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/util-codec/1.12.13/util-codec-1.12.13.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.5/commons-codec-1.5.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.6/commons-lang-2.6.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/finagle-core/1.11.1/finagle-core-1.11.1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/util-hashing/1.12.13/util-hashing-1.12.13.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/twitter/util-collection/1.12.13/util-collection-1.12.13.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/r09/guava-r09.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MAVEN_REPOSITORY$/io/netty/netty/3.3.1.Final/netty-3.3.1.Final.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
</component> | ||
</module> | ||
|
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,166 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project version="4"> | ||
<component name="CompilerConfiguration"> | ||
<option name="DEFAULT_COMPILER" value="Javac" /> | ||
<resourceExtensions /> | ||
<wildcardResourcePatterns> | ||
<entry name="?*.properties" /> | ||
<entry name="?*.xml" /> | ||
<entry name="?*.gif" /> | ||
<entry name="?*.png" /> | ||
<entry name="?*.jpeg" /> | ||
<entry name="?*.jpg" /> | ||
<entry name="?*.html" /> | ||
<entry name="?*.dtd" /> | ||
<entry name="?*.tld" /> | ||
<entry name="?*.ftl" /> | ||
</wildcardResourcePatterns> | ||
<annotationProcessing enabled="false" useClasspath="true" /> | ||
</component> | ||
<component name="CopyrightManager" default=""> | ||
<module2copyright /> | ||
</component> | ||
<component name="DependencyValidationManager"> | ||
<option name="SKIP_IMPORT_STATEMENTS" value="false" /> | ||
</component> | ||
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> | ||
<component name="Palette2"> | ||
<group name="Swing"> | ||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> | ||
</item> | ||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> | ||
</item> | ||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> | ||
</item> | ||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> | ||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> | ||
</item> | ||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> | ||
<initial-values> | ||
<property name="text" value="Button" /> | ||
</initial-values> | ||
</item> | ||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | ||
<initial-values> | ||
<property name="text" value="RadioButton" /> | ||
</initial-values> | ||
</item> | ||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | ||
<initial-values> | ||
<property name="text" value="CheckBox" /> | ||
</initial-values> | ||
</item> | ||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> | ||
<initial-values> | ||
<property name="text" value="Label" /> | ||
</initial-values> | ||
</item> | ||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | ||
<preferred-size width="150" height="-1" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | ||
<preferred-size width="150" height="-1" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | ||
<preferred-size width="150" height="-1" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | ||
<preferred-size width="150" height="50" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | ||
<preferred-size width="150" height="50" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | ||
<preferred-size width="150" height="50" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> | ||
</item> | ||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | ||
<preferred-size width="150" height="50" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> | ||
<preferred-size width="150" height="50" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | ||
<preferred-size width="150" height="50" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | ||
<preferred-size width="200" height="200" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | ||
<preferred-size width="200" height="200" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | ||
</item> | ||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | ||
</item> | ||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> | ||
</item> | ||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> | ||
</item> | ||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> | ||
<preferred-size width="-1" height="20" /> | ||
</default-constraints> | ||
</item> | ||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | ||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> | ||
</item> | ||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | ||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> | ||
</item> | ||
</group> | ||
</component> | ||
<component name="ProjectDetails"> | ||
<option name="projectName" value="finagle-test" /> | ||
</component> | ||
<component name="ProjectModuleManager"> | ||
<modules> | ||
<module fileurl="file://$PROJECT_DIR$/finagle-test.iml" filepath="$PROJECT_DIR$/finagle-test.iml" /> | ||
</modules> | ||
</component> | ||
<component name="ProjectResources"> | ||
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype> | ||
</component> | ||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK"> | ||
<output url="file://$PROJECT_DIR$/out" /> | ||
</component> | ||
<component name="VcsDirectoryMappings"> | ||
<mapping directory="" vcs="" /> | ||
</component> | ||
</project> | ||
|
Oops, something went wrong.