Remove non-Maven assets. Revert version to 0.1 and move to our groupId.
diff --git a/.gitignore b/.gitignore
index b3d67f6..d130a90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,24 +1,29 @@
-bin/
-out/
-.idea/workspace.xml
-.idea/libraries/
-.idea/modules.xml
-.idea/vcs.xml
-.idea/compiler.xml
-.idea/misc.xml
-.idea/.name
-robolectric.iml
-tmp/
-target/
-pages
-.DS_Store
-local.properties
-.project
+# Eclipse
.classpath
+.project
.settings
-*.iws
+eclipsebin
+
+# Ant
+bin
+gen
+build
+out
+lib
+
+# Maven
+target
+pom.xml.*
+release.properties
+
+# IntelliJ
+.idea
*.iml
+*.iws
*.ipr
-*.orig
-*~
-\#*\#
+classes
+
+# Mac
+.DS_Store
+
+tmp
diff --git a/.idea/.name b/.idea/.name
deleted file mode 100644
index c2c178e..0000000
--- a/.idea/.name
+++ /dev/null
@@ -1 +0,0 @@
-robolectric
\ No newline at end of file
diff --git a/.idea/ant.xml b/.idea/ant.xml
deleted file mode 100644
index 2581ca3..0000000
--- a/.idea/ant.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="AntConfiguration">
- <defaultAnt bundledAnt="true" />
- </component>
-</project>
-
diff --git a/.idea/codeStyleSettings.xml b/.idea/codeStyleSettings.xml
deleted file mode 100644
index 742fa5e..0000000
--- a/.idea/codeStyleSettings.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="ProjectCodeStyleSettingsManager">
- <option name="PER_PROJECT_SETTINGS">
- <value>
- <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="6" />
- <XML>
- <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
- </XML>
- </value>
- </option>
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
- </component>
-</project>
-
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index ef7bf86..0000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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="JavacSettings">
- <option name="ADDITIONAL_OPTIONS_STRING" value="-target 1.6" />
- </component>
-</project>
-
diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml
deleted file mode 100644
index 3572571..0000000
--- a/.idea/copyright/profiles_settings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<component name="CopyrightManager">
- <settings default="">
- <module2copyright />
- </settings>
-</component>
\ No newline at end of file
diff --git a/.idea/dictionaries/pivotal.xml b/.idea/dictionaries/pivotal.xml
deleted file mode 100644
index 195119f..0000000
--- a/.idea/dictionaries/pivotal.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<component name="ProjectDictionaryState">
- <dictionary name="pivotal">
- <words>
- <w>accessor</w>
- <w>accessors</w>
- <w>xtremelabs</w>
- </words>
- </dictionary>
-</component>
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index e206d70..0000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
-</project>
-
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index b410b46..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="DaemonCodeAnalyzer">
- <disable_hints />
- </component>
- <component name="DebuggerManager">
- <breakpoint_any>
- <breakpoint>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="ENABLED" value="false" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INSTANCE_FILTERS_ENABLED" value="false" />
- <option name="CONDITION" value="" />
- <option name="LOG_MESSAGE" value="" />
- </breakpoint>
- <breakpoint>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="ENABLED" value="false" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INSTANCE_FILTERS_ENABLED" value="false" />
- <option name="CONDITION" value="" />
- <option name="LOG_MESSAGE" value="" />
- </breakpoint>
- </breakpoint_any>
- <breakpoint_rules />
- <ui_properties />
- </component>
- <component name="EntryPointsManager">
- <entry_points version="2.0" />
- <list size="2">
- <item index="0" class="java.lang.String" itemvalue="com.xtremelabs.robolectric.internal.Implementation" />
- <item index="1" class="java.lang.String" itemvalue="com.xtremelabs.robolectric.internal.RealObject" />
- </list>
- </component>
- <component name="JavadocGenerationManager">
- <option name="OUTPUT_DIRECTORY" />
- <option name="OPTION_SCOPE" value="protected" />
- <option name="OPTION_HIERARCHY" value="true" />
- <option name="OPTION_NAVIGATOR" value="true" />
- <option name="OPTION_INDEX" value="true" />
- <option name="OPTION_SEPARATE_INDEX" value="true" />
- <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
- <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
- <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
- <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
- <option name="OPTION_DEPRECATED_LIST" value="true" />
- <option name="OTHER_OPTIONS" value="" />
- <option name="HEAP_SIZE" />
- <option name="LOCALE" />
- <option name="OPEN_IN_BROWSER" value="true" />
- </component>
- <component name="MavenProjectsManager">
- <option name="originalFiles">
- <list>
- <option value="$PROJECT_DIR$/pom.xml" />
- </list>
- </option>
- </component>
- <component name="ModuleEditorState">
- <option name="LAST_EDITED_MODULE_NAME" />
- <option name="LAST_EDITED_TAB_NAME" />
- </component>
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
- <OptionsSetting value="true" id="Add" />
- <OptionsSetting value="true" id="Remove" />
- <OptionsSetting value="true" id="Checkout" />
- <OptionsSetting value="true" id="Update" />
- <OptionsSetting value="true" id="Status" />
- <OptionsSetting value="true" id="Edit" />
- <ConfirmationsSetting value="0" id="Add" />
- <ConfirmationsSetting value="0" id="Remove" />
- </component>
- <component name="ProjectReloadState">
- <option name="STATE" value="0" />
- </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_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
- <output url="file://$PROJECT_DIR$/classes" />
- </component>
- <component name="RunManager">
- <configuration default="true" type="Remote" factoryName="Remote">
- <option name="USE_SOCKET_TRANSPORT" value="true" />
- <option name="SERVER_MODE" value="false" />
- <option name="SHMEM_ADDRESS" value="javadebug" />
- <option name="HOST" value="localhost" />
- <option name="PORT" value="5005" />
- <method>
- <option name="AntTarget" enabled="false" />
- <option name="BuildArtifacts" enabled="false" />
- <option name="Maven.BeforeRunTask" enabled="false" />
- </method>
- </configuration>
- <configuration default="true" type="Applet" factoryName="Applet">
- <module name="" />
- <option name="MAIN_CLASS_NAME" />
- <option name="HTML_FILE_NAME" />
- <option name="HTML_USED" value="false" />
- <option name="WIDTH" value="400" />
- <option name="HEIGHT" value="300" />
- <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
- <option name="VM_PARAMETERS" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <method>
- <option name="AntTarget" enabled="false" />
- <option name="BuildArtifacts" enabled="false" />
- <option name="Make" enabled="true" />
- <option name="Maven.BeforeRunTask" enabled="false" />
- </method>
- </configuration>
- <configuration default="true" type="Application" factoryName="Application">
- <extension name="coverage" enabled="false" merge="false" />
- <option name="MAIN_CLASS_NAME" />
- <option name="VM_PARAMETERS" />
- <option name="PROGRAM_PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="ENABLE_SWING_INSPECTOR" value="false" />
- <option name="ENV_VARIABLES" />
- <option name="PASS_PARENT_ENVS" value="true" />
- <module name="" />
- <envs />
- <method>
- <option name="AntTarget" enabled="false" />
- <option name="BuildArtifacts" enabled="false" />
- <option name="Make" enabled="true" />
- <option name="Maven.BeforeRunTask" enabled="false" />
- </method>
- </configuration>
- <configuration default="true" type="JUnit" factoryName="JUnit">
- <extension name="coverage" enabled="false" merge="false" />
- <module name="" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="PACKAGE_NAME" />
- <option name="MAIN_CLASS_NAME" />
- <option name="METHOD_NAME" />
- <option name="TEST_OBJECT" value="class" />
- <option name="VM_PARAMETERS" />
- <option name="PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <option name="ENV_VARIABLES" />
- <option name="PASS_PARENT_ENVS" value="true" />
- <option name="TEST_SEARCH_SCOPE">
- <value defaultName="moduleWithDependencies" />
- </option>
- <envs />
- <patterns />
- <method>
- <option name="AntTarget" enabled="false" />
- <option name="BuildArtifacts" enabled="false" />
- <option name="Make" enabled="true" />
- <option name="Maven.BeforeRunTask" enabled="false" />
- </method>
- </configuration>
- <list size="0" />
- <configuration name="<template>" type="WebApp" default="true" selected="false">
- <Host>localhost</Host>
- <Port>5050</Port>
- </configuration>
- </component>
- <component name="ShelveChangesManager" show_recycled="false" />
-</project>
-
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index 214ef3a..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="ProjectModuleManager">
- <modules>
- <module fileurl="file://$PROJECT_DIR$/robolectric.iml" filepath="$PROJECT_DIR$/robolectric.iml" />
- </modules>
- </component>
-</project>
-
diff --git a/.idea/projectCodeStyle.xml b/.idea/projectCodeStyle.xml
deleted file mode 100644
index 6459011..0000000
--- a/.idea/projectCodeStyle.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="CodeStyleSettingsManager">
- <option name="PER_PROJECT_SETTINGS">
- <value>
- <ADDITIONAL_INDENT_OPTIONS fileType="java">
- <option name="INDENT_SIZE" value="4" />
- <option name="CONTINUATION_INDENT_SIZE" value="8" />
- <option name="TAB_SIZE" value="4" />
- <option name="USE_TAB_CHARACTER" value="false" />
- <option name="SMART_TABS" value="false" />
- <option name="LABEL_INDENT_SIZE" value="0" />
- <option name="LABEL_INDENT_ABSOLUTE" value="false" />
- <option name="USE_RELATIVE_INDENTS" value="false" />
- </ADDITIONAL_INDENT_OPTIONS>
- <ADDITIONAL_INDENT_OPTIONS fileType="jsp">
- <option name="INDENT_SIZE" value="4" />
- <option name="CONTINUATION_INDENT_SIZE" value="8" />
- <option name="TAB_SIZE" value="4" />
- <option name="USE_TAB_CHARACTER" value="false" />
- <option name="SMART_TABS" value="false" />
- <option name="LABEL_INDENT_SIZE" value="0" />
- <option name="LABEL_INDENT_ABSOLUTE" value="false" />
- <option name="USE_RELATIVE_INDENTS" value="false" />
- </ADDITIONAL_INDENT_OPTIONS>
- <ADDITIONAL_INDENT_OPTIONS fileType="xml">
- <option name="INDENT_SIZE" value="4" />
- <option name="CONTINUATION_INDENT_SIZE" value="8" />
- <option name="TAB_SIZE" value="4" />
- <option name="USE_TAB_CHARACTER" value="false" />
- <option name="SMART_TABS" value="false" />
- <option name="LABEL_INDENT_SIZE" value="0" />
- <option name="LABEL_INDENT_ABSOLUTE" value="false" />
- <option name="USE_RELATIVE_INDENTS" value="false" />
- </ADDITIONAL_INDENT_OPTIONS>
- </value>
- </option>
- </component>
-</project>
-
diff --git a/.idea/runConfigurations/AllTests.xml b/.idea/runConfigurations/AllTests.xml
deleted file mode 100644
index 17dce1a..0000000
--- a/.idea/runConfigurations/AllTests.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<component name="ProjectRunConfigurationManager">
- <configuration default="false" name="AllTests" type="JUnit" factoryName="JUnit">
- <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
- <pattern>
- <option name="PATTERN" value="com.xtremelabs.robolectric.shadows.*" />
- <option name="ENABLED" value="true" />
- </pattern>
- </extension>
- <module name="" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" value="" />
- <option name="PACKAGE_NAME" value="com.xtremelabs.robolectric" />
- <option name="MAIN_CLASS_NAME" value="" />
- <option name="METHOD_NAME" value="" />
- <option name="TEST_OBJECT" value="package" />
- <option name="VM_PARAMETERS" value="" />
- <option name="PARAMETERS" value="" />
- <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
- <option name="ENV_VARIABLES" />
- <option name="PASS_PARENT_ENVS" value="true" />
- <option name="TEST_SEARCH_SCOPE">
- <value defaultName="wholeProject" />
- </option>
- <envs>
- <env name="ANDROID_HOME" value="$USER_HOME$/android-sdk" />
- </envs>
- <patterns />
- <RunnerSettings RunnerId="Debug">
- <option name="DEBUG_PORT" value="52365" />
- <option name="TRANSPORT" value="0" />
- <option name="LOCAL" value="true" />
- </RunnerSettings>
- <RunnerSettings RunnerId="Run" />
- <ConfigurationWrapper RunnerId="Debug" />
- <ConfigurationWrapper RunnerId="Run" />
- <method />
- </configuration>
-</component>
\ No newline at end of file
diff --git a/.idea/scopes/scope_settings.xml b/.idea/scopes/scope_settings.xml
deleted file mode 100644
index 922003b..0000000
--- a/.idea/scopes/scope_settings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<component name="DependencyValidationManager">
- <state>
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
- </state>
-</component>
\ No newline at end of file
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
deleted file mode 100644
index 3b00020..0000000
--- a/.idea/uiDesigner.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <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>
-</project>
-
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index cbc9849..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="ClearCaseSharedConfig">
- <option name="myUseUcmModel" value="true" />
- </component>
- <component name="VcsDirectoryMappings">
- <mapping directory="" vcs="Git" />
- </component>
-</project>
-
diff --git a/.pairs b/.pairs
deleted file mode 100644
index a5198a0..0000000
--- a/.pairs
+++ /dev/null
@@ -1,31 +0,0 @@
-# .pairs - configuration for 'git pair'
-# place in project or home directory
-pairs:
- hu: Harry Ugol
- ts: Tyler Schultz
- md: Matt DuVall
- xw: Christian Williams; xian
- jm: Joe Moore
- if: Ian Fisher; ifisher
- pg: Phil Goodwin; phil
- pp: Phil Plante
- rr: Ryan Richard; rrichard
- cw: Chee Wong;
- gv: Gregg Van Hove; gvanhove
- rk: Rick Kawala
- df: David Farber; dfarber
- gj: Glenn Jahnke; glennj
- am: Alexander Murmann
- jt: Jesse Toth
- lt: Lenny Turetsky
- mg: Mike Grafton
- gc: Greg Choi
- tl: Tim Labeeuw
- mh: Michael Haddad; mhaddad
- mm: Mike Mazur; mmazur
- wei: Wei Wu; wwu@apptera.com
- ad: Andrew Dai
-email:
- prefix: pair
- domain: pivotallabs.com
-
diff --git a/README.md b/README.md
index 0a98b42..d400a7c 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,21 @@
-<a name="README">[Robolectric](http://pivotal.github.com/robolectric/index.html)</a>
-=======
+Robolectric
+===========
-**An Android Testing Framework**
+**Note** This is a fork of Pivotal's Robolectric which is NOT compatible.
+Please see [their project][1] for the canonical source.
-Robolectric can be built using either Maven or Ant. Both Eclipse (with the M2Eclipse plug-in) and
-IntelliJ can import the pom.xml file and will automatically generate their project files from it.
-For more information about how to use Robolectric on your project, extend its functionality, and join the community of
-contributors, please see: [http://pivotal.github.com/robolectric/index.html](http://pivotal.github.com/robolectric/index.html)
+
+Compilation
+-----------
+
+Maven version 3 or newer is required.
+
+```
+mvn clean package
+```
+
+
+
+
+ [1]: http://pivotal.github.com/robolectric
diff --git a/build.properties b/build.properties
deleted file mode 100644
index f13aaf4..0000000
--- a/build.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-# This file is used to override default values used by the Ant build system.
-#
-# This file must be checked in Version Control Systems, as it is
-# integral to the build system of your project.
-
-# This file is only used by the Ant script.
-
-# You can use this to override default values such as
-# 'source.dir' for the location of your java source folder and
-# 'out.dir' for the location of your output folder.
-
-main.dir=src/main/java
-test.dir=src/test/java
-tmp.dir=tmp
-target.dir=target
-
-external.libs.dir=lib/main
-
-out.absolute.dir=bin
-
-# You can also use it define how the release builds are signed by declaring
-# the following properties:
-# 'key.store' for the location of your keystore and
-# 'key.alias' for the name of the key to use.
-# The password will be asked during the build when you use the 'release' target.
-
diff --git a/build.xml b/build.xml
deleted file mode 100644
index 5d58c16..0000000
--- a/build.xml
+++ /dev/null
@@ -1,223 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="robolectric" default="test">
-
- <!-- The build.properties file can be created by you and is never touched
- by the 'android' tool. This is the place to change some of the default property values
- used by the Ant rules.
- Here are some properties you may want to change/update:
-
- application.package
- the name of your application package as defined in the manifest. Used by the
- 'uninstall' rule.
- source.dir
- the name of the source directory. Default is 'src'.
- out.dir
- the name of the output directory. Default is 'bin'.
-
- Properties related to the SDK location or the project target should be updated
- using the 'android' tool with the 'update' action.
-
- This file is an integral part of the build system for your application and
- should be checked in in Version Control Systems.
-
- -->
- <property file="build.properties"/>
-
- <!-- The default.properties file is created and updated by the 'android' tool, as well
- as ADT.
- This file is an integral part of the build system for your application and
- should be checked in in Version Control Systems. -->
- <property file="default.properties"/>
-
- <condition property="isWindows"> <os family="windows" /> </condition>
-
- <target name="findAndroidWindows" if="isWindows">
- <echo message="Finding the Android version in windows"/>
- <exec executable="./find-android.bat"/>
- </target>
- <target name="findAndroidUnix" unless="isWindows">
- <echo message="Finding the Android version in *nix"/>
- <exec executable="./find-android.sh"/>
- </target>
- <property file="local.properties"/>
-
- <!-- Custom Android task to deal with the project target, and import the proper rules.
- This requires ant 1.6.0 or above. -->
- <path id="android.antlibs">
- <pathelement path="${sdk.dir}/tools/lib/anttasks.jar"/>
- <pathelement path="${sdk.dir}/tools/lib/sdklib.jar"/>
- <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar"/>
- <pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar"/>
- <pathelement path="${sdk.dir}/tools/lib/jarutils.jar"/>
- </path>
-
- <path id="android.target.classpath">
- <pathelement path="${sdk.dir}/platforms/android-10/android.jar"/>
- <pathelement path="${sdk.dir}/add-ons/addon_google_apis_google_inc_10/libs/maps.jar"/>
- <pathelement path="${sdk.dir}/add-ons/addon-google_apis-google_inc_-10/libs/maps.jar"/>
- </path>
-
- <property name="main.absolute.dir" location="${main.dir}"/>
- <property name="out.main.dir" value="${out.absolute.dir}/mainClasses"/>
- <property name="out.main.absolute.dir" value="${out.main.dir}"/>
- <property name="main.external.libs.dir" value="lib/main"/>
- <property name="main.external.libs.absolute.dir" location="${main.external.libs.dir}"/>
-
- <property name="test.absolute.dir" location="${test.dir}"/>
- <property name="out.test.dir" value="${out.absolute.dir}/testClasses"/>
- <property name="out.test.absolute.dir" value="${out.test.dir}"/>
- <property name="test.external.libs.dir" value="lib/test"/>
- <property name="test.external.libs.absolute.dir" location="${test.external.libs.dir}"/>
-
- <property name="publish.dir" location="${out.absolute.dir}/publish"/>
-
- <property name="pages.dir" value="pages"/>
- <property name="downloads.dir" value="${pages.dir}/downloads"/>
- <property name="javadoc.out.dir" value="${pages.dir}/javadoc"/>
-
- <property name="base.package" value="com.xtremelabs.robolectric"/>
-
- <property environment="env"/>
- <condition property="build.number" value="${env.BUILD_NUMBER}" else="unknown">
- <isset property="env.BUILD_NUMBER"/>
- </condition>
-
- <target name="compile"
- description="compile module source"
- depends="findAndroidUnix, findAndroidWindows">
- <mkdir dir="${out.main.absolute.dir}"/>
-
- <javac encoding="ascii" source="1.6" target="1.6" debug="true" extdirs=""
- destdir="${out.main.absolute.dir}"
- verbose="${verbose}"
- classpath="${extensible.classpath}"
- includeantruntime="false">
- <src path="${main.absolute.dir}"/>
- <classpath>
- <pathelement path="${out.main.absolute.dir}"/>
- <path refid="android.target.classpath"/>
- <fileset dir="${main.external.libs.absolute.dir}" includes="*.jar"/>
- </classpath>
- </javac>
- </target>
-
- <target name="jar" description="create the robolectric jar" depends="compile">
- <mkdir dir="${target.dir}"/>
- <jar destfile="${target.dir}/robolectric.jar">
- <fileset dir="${out.main.absolute.dir}" includes="**/*.class"/>
- </jar>
- </target>
-
- <target name="jar-all" description="create the robolectric jar including all dependencies" depends="jar">
- <mkdir dir="${target.dir}/staging"/>
- <unjar dest="${target.dir}/staging" >
- <fileset dir="${main.external.libs.absolute.dir}" >
- <exclude name="*src.jar" />
- <exclude name="junit*.jar" />
- <exclude name="hamcrest*.jar" />
- </fileset>
- </unjar>
- <unjar dest="${target.dir}/staging" src="${target.dir}/robolectric.jar"/>
- <jar destfile="${target.dir}/robolectric-all.jar" basedir="${target.dir}/staging"/>
- <delete dir="${target.dir}/staging"/>
- </target>
-
- <target name="source-jar" description="create a jar file that includes all of the source code">
- <mkdir dir="${target.dir}"/>
- <jar destfile="${target.dir}/robolectric-src.jar" basedir="${main.absolute.dir}"/>
- </target>
-
- <target name="compile.tests" depends="compile"
- description="compile module source; test classes" unless="skip.tests">
- <mkdir dir="${out.test.absolute.dir}"/>
-
- <javac encoding="ascii" source="1.6" target="1.6" debug="true" extdirs=""
- destdir="${out.test.absolute.dir}"
- verbose="${verbose}"
- classpath="${extensible.classpath}"
- includeantruntime="false">
- <src path="${test.absolute.dir}"/>
- <classpath>
- <pathelement path="${out.main.absolute.dir}"/>
- <pathelement path="${out.test.absolute.dir}"/>
- <path refid="android.target.classpath"/>
- <fileset dir="${main.external.libs.absolute.dir}" includes="*.jar"/>
- <fileset dir="${test.external.libs.absolute.dir}" includes="*.jar"/>
- </classpath>
- </javac>
- </target>
-
- <target name="clean" description="cleanup module">
- <delete dir="${out.absolute.dir}"/>
- <delete dir="${out.test.absolute.dir}"/>
- <delete dir="${tmp.dir}"/>
- <delete dir="${target.dir}"/>
- </target>
-
- <target name="test" depends="compile.tests" description="test all">
- <mkdir dir="${basedir}/out/reports/tests"/>
- <junit showoutput="true" failureproperty="junit.failure">
- <formatter type="plain" usefile="false" if="junit.console.out"/>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <batchtest todir="${basedir}/out/reports/tests">
- <fileset dir="${test.absolute.dir}">
- <include name="**/*Test.java"/>
- </fileset>
- </batchtest>
- <classpath>
- <pathelement path="${out.main.absolute.dir}"/>
- <pathelement path="${out.test.absolute.dir}"/>
- <fileset dir="${main.external.libs.dir}" includes="*.jar"/>
- <fileset dir="${test.external.libs.dir}" includes="*.jar"/>
- <path refid="android.target.classpath"/>
- </classpath>
- </junit>
- <fail if="junit.failure" message="Unit test(s) failed. See reports!"/>
- </target>
-
- <target name="check-for-pages-dir-setup">
- <condition property="pages.dir.exists">
- <available file="${pages.dir}" type="dir"/>
- </condition>
- </target>
-
- <target name="check-for-pages-dir" depends="check-for-pages-dir-setup" unless="pages.dir.exists">
- <echo message="do you need a 'pages' symlink?"/>
- </target>
-
- <target name="snapshot" description="update most recent version of robolectric as jars" depends="clean, test, jar-all, source-jar, check-for-pages-dir" if="pages.dir.exists">
- <copy todir="${downloads.dir}">
- <fileset dir="${target.dir}" includes="robolectric*.jar"/>
- </copy>
- <exec executable="./update-downloads.rb"/>
- </target>
-
- <target name="gen-javadoc" description="generate javadoc for the public API" depends="check-for-pages-dir" if="pages.dir.exists">
- <mkdir dir="${javadoc.out.dir}" />
- <javadoc
- packagenames="${base.package}.*"
- access="protected"
- defaultexcludes="yes"
- windowtitle="Robolectric API"
- sourcepath="${main.absolute.dir}"
- overview="${main.absolute.dir}/overview.html"
- destdir="${javadoc.out.dir}">
- <classpath>
- <pathelement path="${out.main.absolute.dir}"/>
- <path refid="android.target.classpath"/>
- <fileset dir="${main.external.libs.absolute.dir}" includes="*.jar"/>
- </classpath>
- <doctitle><![CDATA[<h1>Robolectric<br/>API Documentation</h1>]]></doctitle>
- </javadoc>
- </target>
-
- <target name="maven-install-jars" description="Install the jar files that Maven can't find for itself">
- <exec executable="mvn">
- <arg line="install:install-file -DgroupId=com.google.android.maps -DartifactId=maps -Dversion=10_r2 -Dpackaging=jar -Dfile=${sdk.dir}/add-ons/addon_google_apis_google_inc_10/libs/maps.jar" />
- </exec>
- <exec executable="mvn">
- <arg line="install:install-file -DgroupId=com.google.android.maps -DartifactId=maps -Dversion=10_r2 -Dpackaging=jar -Dfile=${sdk.dir}/add-ons/addon-google_apis-google_inc_-10/libs/maps.jar" />
- </exec>
- </target>
-</project>
diff --git a/default.properties b/default.properties
deleted file mode 100644
index d73167b..0000000
--- a/default.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "build.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=Google Inc.:Google APIs:10
-
diff --git a/find-android.bat b/find-android.bat
deleted file mode 100644
index 470f346..0000000
--- a/find-android.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-@echo off
-for %%i in (android.bat) do set x=%%~dp$PATH:i
-set x=%x:\tools=%
-
-# not yet tested!
-@echo "sdk.dir=%x%" >> local.properties
diff --git a/find-android.sh b/find-android.sh
deleted file mode 100755
index 55f8526..0000000
--- a/find-android.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# TODO: make this script work with android installed via homebrew. Until then, you must manually make sure
-# ANDROID_HOME has been set before running ant (e.g. ANDROID_HOME=/usr/local/Cellar/android-sdk/r10 ant)
-
-if [ -z $ANDROID_HOME ]; then
- ANDROID_HOME=`which android | sed 's/\/tools\/android$//'`
-fi
-
-echo "sdk.dir=$ANDROID_HOME" > local.properties
diff --git a/lib/main/commons-codec-1.3.jar b/lib/main/commons-codec-1.3.jar
deleted file mode 100644
index 957b675..0000000
--- a/lib/main/commons-codec-1.3.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/commons-logging-1.1.1.jar b/lib/main/commons-logging-1.1.1.jar
deleted file mode 100644
index 1deef14..0000000
--- a/lib/main/commons-logging-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/h2-1.2.147.jar b/lib/main/h2-1.2.147.jar
deleted file mode 100644
index f93c4a2..0000000
--- a/lib/main/h2-1.2.147.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/hamcrest-core-1.2.jar b/lib/main/hamcrest-core-1.2.jar
deleted file mode 100644
index 44f7a8a..0000000
--- a/lib/main/hamcrest-core-1.2.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/httpclient-4.0.3.jar b/lib/main/httpclient-4.0.3.jar
deleted file mode 100644
index 16e349a..0000000
--- a/lib/main/httpclient-4.0.3.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/httpcore-4.0.1.jar b/lib/main/httpcore-4.0.1.jar
deleted file mode 100644
index 4aef35e..0000000
--- a/lib/main/httpcore-4.0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/javassist-3.14.0-GA.jar b/lib/main/javassist-3.14.0-GA.jar
deleted file mode 100644
index 0fbfc3c..0000000
--- a/lib/main/javassist-3.14.0-GA.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/json-20080701.jar b/lib/main/json-20080701.jar
deleted file mode 100644
index c9a093e..0000000
--- a/lib/main/json-20080701.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/junit-4.8.2.jar b/lib/main/junit-4.8.2.jar
deleted file mode 100644
index 5b4bb84..0000000
--- a/lib/main/junit-4.8.2.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/objenesis-1.0.jar b/lib/main/objenesis-1.0.jar
deleted file mode 100644
index 7813d7b..0000000
--- a/lib/main/objenesis-1.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/opengl-api-gl1.1-android-2.1_r1.jar b/lib/main/opengl-api-gl1.1-android-2.1_r1.jar
deleted file mode 100644
index f635aea..0000000
--- a/lib/main/opengl-api-gl1.1-android-2.1_r1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/sqlite-jdbc-3.7.2.jar b/lib/main/sqlite-jdbc-3.7.2.jar
deleted file mode 100644
index 2030ea0..0000000
--- a/lib/main/sqlite-jdbc-3.7.2.jar
+++ /dev/null
Binary files differ
diff --git a/lib/main/xpp3-1.1.4c.jar b/lib/main/xpp3-1.1.4c.jar
deleted file mode 100644
index 451ac82..0000000
--- a/lib/main/xpp3-1.1.4c.jar
+++ /dev/null
Binary files differ
diff --git a/lib/test/mockito-core-1.8.5.jar b/lib/test/mockito-core-1.8.5.jar
deleted file mode 100644
index e1f33b4..0000000
--- a/lib/test/mockito-core-1.8.5.jar
+++ /dev/null
Binary files differ
diff --git a/pom.xml b/pom.xml
index c978721..f16442a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,16 +2,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>5</version>
- </parent>
-
- <groupId>com.pivotallabs</groupId>
+ <groupId>com.squareup.android</groupId>
<artifactId>robolectric</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>0.1-SNAPSHOT</version>
<packaging>jar</packaging>
+
<name>Robolectric</name>
<description>An alternative Android testing framework.</description>
<url>http://pivotal.github.com/robolectric/</url>
@@ -90,7 +85,7 @@
<dependency>
<groupId>com.google.android</groupId>
<artifactId>support-v4</artifactId>
- <version>r6</version>
+ <version>r7</version>
<scope>provided</scope>
</dependency>
@@ -191,114 +186,15 @@
</filesets>
</configuration>
</plugin>
-
</plugins>
</build>
- <profiles>
- <profile>
- <id>ant-deps</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <id>clean-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <delete dir="${project.basedir}/lib/main" />
- <mkdir dir="${project.basedir}/lib/main" />
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.basedir}/lib/main</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- <excludeArtifactIds>android,maps,mockito-core</excludeArtifactIds>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
<scm>
- <url>git@github.com:pivotal/robolectric.git</url>
- <connection>scm:git:git://github.com/pivotal/robolectric.git</connection>
- <developerConnection>scm:git:git@github.com:pivotal/robolectric.git</developerConnection>
+ <url>git@github.com:square/robolectric.git</url>
+ <connection>scm:git:git://github.com/square/robolectric.git</connection>
+ <developerConnection>scm:git:git@github.com:square/robolectric.git</developerConnection>
</scm>
- <ciManagement>
- <system>Hudson</system>
- <url>http://ci.robolectric.org/job/robolectric</url>
- </ciManagement>
-
- <developers>
- <developer>
- <id>xian</id>
- <name>Christian Williams</name>
- <email>xian@pivotallabs.com</email>
- <organization>Pivotal Labs</organization>
- <organizationUrl>http://pivotallabs.com/</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>PST/PDT</timezone>
- </developer>
- <developer>
- <id>tyler</id>
- <name>Tyler Schultz</name>
- <email>tyler@pivotallabs.com</email>
- <organization>Pivotal Labs</organization>
- <organizationUrl>http://pivotallabs.com/</organizationUrl>
- <roles>
- <role>Project Owner</role>
- <role>Developer</role>
- </roles>
- <timezone>PST/PDT</timezone>
- </developer>
- <developer>
- <id>phil</id>
- <name>Phil Goodwin</name>
- <email>phil@pivotallabs.com</email>
- <organization>Pivotal Labs</organization>
- <organizationUrl>http://pivotallabs.com/</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>PST/PDT</timezone>
- </developer>
- </developers>
-
- <mailingLists>
- <mailingList>
- <name>User List</name>
- <post>robolectric@googlegroups.com</post>
- <archive>http://groups.google.com/group/robolectric</archive>
- </mailingList>
- </mailingLists>
-
<licenses>
<license>
<name>MIT license</name>
diff --git a/update-downloads.rb b/update-downloads.rb
deleted file mode 100755
index 3084605..0000000
--- a/update-downloads.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env ruby
-
-DOWNLOADS_FILE = 'pages/download.md'
-
-def need_pages_submodule
- unless File.exists?(DOWNLOADS_FILE)
- raise "Robolectric pages submodule isn't present. Run git submodule update --init"
- end
-end
-
-def fill_index_downloads
- require 'digest/sha1'
-
- download_html = "<!-- START_DOWNLOADS -->\n"
- Dir.glob('pages/downloads/*.jar').sort.reverse.each do |f|
- sha1 = Digest::SHA1.hexdigest File.read(f)
-
- fn = f.sub(/^pages\//, '')
- match = /robolectric-?([0-9]\.[0-9](\.[0-9])?)?(-all)?(-src)?\.jar/.match(f)
- version = match[1] if match
- version = "SNAPSHOT" unless version
- prerelease = /\.rc/.match(f)
- download_html += prerelease ? "<tr class=\"rc\">\n" : "<tr>\n"
- download_html += " <td class=\"link\"><a href=\"#{fn}\" onClick=\"javascript:pageTracker._trackPageView('#{fn}'); \">#{fn.sub(/downloads\//, '')}</a></td>\n"
- download_html += " <td class=\"version\">#{version}</td>\n"
- download_html += " <td class=\"size\">#{File.size(f) / 1024}k</td>\n"
- download_html += " <td class=\"date\">#{File.mtime(f).strftime("%Y/%m/%d %H:%M:%S %Z")}</td>\n"
- download_html += " <td class=\"sha\">#{sha1}</td>\n"
- download_html += "</tr>\n"
- end
- download_html += "<!-- END_DOWNLOADS -->"
-
- downloads_page = File.read(DOWNLOADS_FILE)
- matcher = /<!-- START_DOWNLOADS -->.*<!-- END_DOWNLOADS -->/m
- downloads_page = downloads_page.sub(matcher, download_html)
- File.open(DOWNLOADS_FILE, 'w') {|f| f.write(downloads_page)}
- puts "rewrote " + DOWNLOADS_FILE
-end
-
-fill_index_downloads
\ No newline at end of file