You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by ma...@apache.org on 2012/07/05 14:10:06 UTC
svn commit: r1357570 [15/34] - in /ace/sandbox/marrs: cnf/ cnf/ext/ cnf/lib/
cnf/releaserepo/ cnf/repo/ cnf/repo/.obrcache/
cnf/repo/.obrcache/http%3A%2F%2Fbundles.bndtools.org.s3.amazonaws.com%2Fcom.jcraft.jsch/
cnf/repo/.obrcache/http%3A%2F%2Fbundles...
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/index.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/index.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/index.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/index.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,6 @@
+<html><head><title>Results for Failed suite [Default suite]</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/main.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/main.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/main.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/main.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+<html><head><title>Results for Failed suite [Default suite]</title></head>
+<body>Select a result on the left-hand pane.</body></html>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods-alphabetical.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/methods-alphabetical.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods-alphabetical.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods-alphabetical.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,12 @@
+<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Failed suite [Default suite]</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testCanHandleCommentBeforeRoot()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testCanHandleCommentBeforeRoot</td>
+ <td>main@1313946977</td> <td></td> </tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>-27</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testNamespace10Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testNamespace10Recognized</td>
+ <td>main@1313946977</td> <td></td> </tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>-4</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testNamespace11Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testNamespace11Recognized</td>
+ <td>main@1313946977</td> <td></td> </tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>-8</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testNamespace12Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testNamespace12Recognized</td>
+ <td>main@1313946977</td> <td></td> </tr>
+</table>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods-not-run.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/methods-not-run.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods-not-run.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods-not-run.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+<h2>Methods that were not run</h2><table>
+<tr><td>org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest.testNamespace13NotRecognized</td></tr>
+</table>
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/methods.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/methods.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,12 @@
+<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Failed suite [Default suite]</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testNamespace10Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testNamespace10Recognized</td>
+ <td>main@1313946977</td> <td></td> </tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>19</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testNamespace12Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testNamespace12Recognized</td>
+ <td>main@1313946977</td> <td></td> </tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>23</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testNamespace11Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testNamespace11Recognized</td>
+ <td>main@1313946977</td> <td></td> </tr>
+<tr bgcolor="a673f8"> <td>12/07/04 11:32:26</td> <td>27</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="ConfigurationHelperImplTest.testCanHandleCommentBeforeRoot()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@e49d67c]">testCanHandleCommentBeforeRoot</td>
+ <td>main@1313946977</td> <td></td> </tr>
+</table>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/reporter-output.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/reporter-output.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/reporter-output.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/reporter-output.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+<h2>Reporter output</h2><table></table>
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/testng.xml.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/testng.xml.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/testng.xml.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/testng.xml.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+<html><head><title>testng.xml for Failed suite [Default suite]</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?><br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"><br/><suite name="Failed suite [Default suite]"><br/> <test name="Default test(failed)" preserve-order="true"><br/> <classes><br/> <class name="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest"><br/> <methods><br/> <include name="testNamespace10Recognized"/><br/> <include name="testNamespace12Recognized"/><br/> <include name="testN
amespace11Recognized"/><br/> <include name="testCanHandleCommentBeforeRoot"/><br/> </methods><br/> </class> <!-- org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest --><br/> </classes><br/> </test> <!-- Default test(failed) --><br/></suite> <!-- Failed suite [Default suite] --><br/></tt></body></html>
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/toc.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed%20suite%20%5BDefault%20suite%5D/toc.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/toc.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/Failed suite [Default suite]/toc.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Failed suite [Default suite]</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Failed suite [Default suite]</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>1 class</a></td>
+<td>4 methods:<br/>
+ <a target='mainFrame' href='methods.html'>chronological</a><br/>
+ <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
+ <a target='mainFrame' href='methods-not-run.html'>not run (1)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>1 group</a></td>
+<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-failed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>Default test(failed) (3/1/0)</td><td valign='top' align='right'>
+ <a href='Default test(failed).html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/index.html
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/index.html?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/index.html (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/old/index.html Thu Jul 5 12:09:30 2012
@@ -0,0 +1,9 @@
+<html>
+<head><title>Test results</title><link href="./testng.css" rel="stylesheet" type="text/css" />
+<link href="./my-testng.css" rel="stylesheet" type="text/css" />
+</head><body>
+<h2><p align='center'>Test results</p></h2>
+<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
+<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>5</em></td><td><em>0</em></td><td><em>0</em></td><td> </td></tr>
+<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td>
+<td>5</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/passed.png
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/passed.png?rev=1357570&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/passed.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/skipped.png
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/skipped.png?rev=1357570&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/skipped.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-failed.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-failed.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-failed.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-failed.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Failed suite [Default suite]">
+ <test name="Default test(failed)" preserve-order="true">
+ <classes>
+ <class name="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest">
+ <methods>
+ <include name="testNamespace10Recognized"/>
+ <include name="testNamespace12Recognized"/>
+ <include name="testNamespace11Recognized"/>
+ <include name="testCanHandleCommentBeforeRoot"/>
+ </methods>
+ </class> <!-- org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest -->
+ </classes>
+ </test> <!-- Default test(failed) -->
+</suite> <!-- Failed suite [Default suite] -->
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.css
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.css?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.css (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.css Thu Jul 5 12:09:30 2012
@@ -0,0 +1,302 @@
+body {
+ margin: 0px 0px 5px 5px;
+}
+
+ul {
+ margin: 0px;
+}
+
+li {
+ list-style-type: none;
+}
+
+a {
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+.navigator-selected {
+ background: #ffa500;
+}
+
+.wrapper {
+ overflow: hidden;
+}
+
+.navigator-root {
+ margin-top: 60px;
+ float: left;
+ width: 400px;
+ height: 100%;
+ overflow-y: auto;
+}
+
+.main-panel-root {
+ margin-top: 60px;
+}
+
+.suite {
+ margin: 0px 10px 10px 0px;
+ background-color: #fff8dc;
+}
+
+.suite-name {
+ padding-left: 10px;
+ font-size: 25px;
+ font-family: Times;
+}
+
+.main-panel-header {
+ padding: 5px;
+ background-color: #9FB4D9; //afeeee;
+ font-family: monospace;
+ font-size: 18px;
+}
+
+.main-panel-content {
+ padding: 5px;
+ margin-bottom: 10px;
+ background-color: #DEE8FC; //d0ffff;
+}
+
+.rounded-window {
+ border-radius: 10px;
+ border-style: solid;
+ border-width: 1px;
+}
+
+.rounded-window-top {
+ border-top-right-radius: 10px 10px;
+ border-top-left-radius: 10px 10px;
+ border-style: solid;
+ border-width: 1px;
+}
+
+.light-rounded-window-top {
+ border-top-right-radius: 10px 10px;
+ border-top-left-radius: 10px 10px;
+}
+
+.rounded-window-bottom {
+ border-style: solid;
+ border-width: 0px 1px 1px 1px;
+ border-bottom-right-radius: 10px 10px;
+ border-bottom-left-radius: 10px 10px;
+}
+
+.method-name {
+ font-size: 12px;
+ font-family: monospace;
+}
+
+.method-content {
+ border-style: solid;
+ border-width: 0px 0px 1px 0px;
+ margin-bottom: 10;
+ padding-bottom: 5px;
+ width: 80%;
+}
+
+.parameters {
+ font-size: 14px;
+ font-family: monospace;
+}
+
+.stack-trace {
+ white-space: pre;
+ font-family: monospace;
+ font-size: 12px;
+ margin-top: 0px;
+ margin-left: 20px;
+}
+
+.testng-xml {
+ font-family: monospace;
+}
+
+.method-list-content {
+ margin-left: 10px;
+}
+
+.navigator-suite-content {
+ margin-left: 10px;
+ font: 12px 'Lucida Grande';
+}
+
+.suite-section-title {
+ margin-top: 10px;
+ width: 80%;
+ border-style: solid;
+ border-width: 1px 0px 0px 0px;
+ font-family: Times;
+ font-size: 18px;
+ font-weight: bold;
+}
+
+.suite-section-content {
+ list-style-image: url(bullet_point.png);
+}
+
+.top-banner-root {
+ position: fixed;
+ width: 100%;
+ padding: 5px;
+ margin: 0px 0px 5px 0px;
+ height: 45px;
+ background-color: #0066ff;
+ font-family: Times;
+ color: #fff;
+ text-align: center;
+}
+
+.top-banner-title-font {
+ font-size: 25px;
+}
+
+.test-name {
+ font-family: 'Lucida Grande';
+ font-size: 16px;
+}
+
+.suite-icon {
+ padding: 5px;
+ float: right;
+ height: 20;
+}
+
+.test-group {
+ font: 20px 'Lucida Grande';
+ margin: 5px 5px 10px 5px;
+ border-width: 0px 0px 1px 0px;
+ border-style: solid;
+ padding: 5px;
+}
+
+.test-group-name {
+ font-weight: bold;
+}
+
+.method-in-group {
+ font-size: 16px;
+ margin-left: 80px;
+}
+
+table.google-visualization-table-table {
+ width: 100%;
+}
+
+.reporter-method-name {
+ font-size: 14px;
+ font-family: monospace;
+}
+
+.reporter-method-output-div {
+ padding: 5px;
+ margin: 0px 0px 5px 20px;
+ font-size: 12px;
+ font-family: monospace;
+ border-width: 0px 0px 0px 1px;
+ border-style: solid;
+}
+
+.ignored-class-div {
+ font-size: 14px;
+ font-family: monospace;
+}
+
+.ignored-methods-div {
+ padding: 5px;
+ margin: 0px 0px 5px 20px;
+ font-size: 12px;
+ font-family: monospace;
+ border-width: 0px 0px 0px 1px;
+ border-style: solid;
+}
+
+.border-failed {
+ border-top-left-radius: 10px 10px;
+ border-bottom-left-radius: 10px 10px;
+ border-style: solid;
+ border-width: 0px 0px 0px 10px;
+ border-color: #f00;
+}
+
+.border-skipped {
+ border-top-left-radius: 10px 10px;
+ border-bottom-left-radius: 10px 10px;
+ border-style: solid;
+ border-width: 0px 0px 0px 10px;
+ border-color: #edc600;
+}
+
+.border-passed {
+ border-top-left-radius: 10px 10px;
+ border-bottom-left-radius: 10px 10px;
+ border-style: solid;
+ border-width: 0px 0px 0px 10px;
+ border-color: #19f52d;
+}
+
+.times-div {
+ text-align: center;
+ padding: 5px;
+}
+
+.suite-total-time {
+ font: 16px 'Lucida Grande';
+}
+
+.configuration-suite {
+ margin-left: 20px;
+}
+
+.configuration-test {
+ margin-left: 40px;
+}
+
+.configuration-class {
+ margin-left: 60px;
+}
+
+.configuration-method {
+ margin-left: 80px;
+}
+
+.test-method {
+ margin-left: 100px;
+}
+
+.chronological-class {
+ background-color: #0ccff;
+ border-style: solid;
+ border-width: 0px 0px 1px 1px;
+}
+
+.method-start {
+ float: right;
+}
+
+.chronological-class-name {
+ padding: 0px 0px 0px 5px;
+ color: #008;
+}
+
+.after, .before, .test-method {
+ font-family: monospace;
+ font-size: 14px;
+}
+
+.navigator-suite-header {
+ font-size: 22px;
+ margin: 0px 10px 5px 0px;
+ background-color: #deb887;
+ text-align: center;
+}
+
+.collapse-all-icon {
+ padding: 5px;
+ float: right;
+}
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.js
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.js?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.js (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-reports.js Thu Jul 5 12:09:30 2012
@@ -0,0 +1,130 @@
+$(document).ready(function() {
+ $('a.navigator-link').click(function() {
+ // Extract the panel for this link
+ var panel = getPanelName($(this));
+
+ // Mark this link as currently selected
+ $('.navigator-link').parent().removeClass('navigator-selected');
+ $(this).parent().addClass('navigator-selected');
+
+ showPanel(panel);
+ });
+
+ installMethodHandlers('failed');
+ installMethodHandlers('skipped');
+ installMethodHandlers('passed', true); // hide passed methods by default
+
+ $('a.method').click(function() {
+ showMethod($(this));
+ return false;
+ });
+
+ // Hide all the panels and display the first one (do this last
+ // to make sure the click() will invoke the listeners)
+ $('.panel').hide();
+ $('.navigator-link').first().click();
+
+ // Collapse/expand the suites
+ $('a.collapse-all-link').click(function() {
+ var contents = $('.navigator-suite-content');
+ if (contents.css('display') == 'none') {
+ contents.show();
+ } else {
+ contents.hide();
+ }
+ });
+
+ // Keep the navigator div always visible
+ var $scrollingDiv = $(".navigator-root");
+ $(window).scroll(function() {
+ $scrollingDiv.css('height', $(window).height() - 65);
+ $scrollingDiv.stop()
+ .animate({"marginTop": ($(window).scrollTop() + 60) + "px"} );
+ });
+});
+
+// The handlers that take care of showing/hiding the methods
+function installMethodHandlers(name, hide) {
+ function getContent(t) {
+ return $('.method-list-content.' + name + "." + t.attr('panel-name'));
+ }
+
+ function getHideLink(t, name) {
+ var s = 'a.hide-methods.' + name + "." + t.attr('panel-name');
+ return $(s);
+ }
+
+ function getShowLink(t, name) {
+ return $('a.show-methods.' + name + "." + t.attr('panel-name'));
+ }
+
+ function getMethodPanelClassSel(element, name) {
+ var panelName = getPanelName(element);
+ var sel = '.' + panelName + "-class-" + name;
+ return $(sel);
+ }
+
+ $('a.hide-methods.' + name).click(function() {
+ var w = getContent($(this));
+ w.hide();
+ getHideLink($(this), name).hide();
+ getShowLink($(this), name).show();
+ getMethodPanelClassSel($(this), name).hide();
+ });
+
+ $('a.show-methods.' + name).click(function() {
+ var w = getContent($(this));
+ w.show();
+ getHideLink($(this), name).show();
+ getShowLink($(this), name).hide();
+ showPanel(getPanelName($(this)));
+ getMethodPanelClassSel($(this), name).show();
+ });
+
+ if (hide) {
+ $('a.hide-methods.' + name).click();
+ } else {
+ $('a.show-methods.' + name).click();
+ }
+}
+
+function getHashForMethod(element) {
+ return element.attr('hash-for-method');
+}
+
+function getPanelName(element) {
+ return element.attr('panel-name');
+}
+
+function showPanel(panelName) {
+ $('.panel').hide();
+ var panel = $('.panel[panel-name="' + panelName + '"]');
+ panel.show();
+}
+
+function showMethod(element) {
+ var hashTag = getHashForMethod(element);
+ var panelName = getPanelName(element);
+ showPanel(panelName);
+ var current = document.location.href;
+ var base = current.substring(0, current.indexOf('#'))
+ document.location.href = base + '#' + hashTag;
+ var newPosition = $(document).scrollTop() - 65;
+ $(document).scrollTop(newPosition);
+}
+
+function drawTable() {
+ for (var i = 0; i < suiteTableInitFunctions.length; i++) {
+ window[suiteTableInitFunctions[i]]();
+ }
+
+ for (var k in window.suiteTableData) {
+ var v = window.suiteTableData[k];
+ var div = v.tableDiv;
+ var data = v.tableData
+ var table = new google.visualization.Table(document.getElementById(div));
+ table.draw(data, {
+ showRowNumber : false
+ });
+ }
+}
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-results.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-results.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-results.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng-results.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testng-results skipped="0" failed="0" total="5" passed="5">
+ <reporter-output>
+ </reporter-output>
+ <suite name="Default suite" duration-ms="44" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ <groups>
+ <group name="unit">
+ <method signature="ConfigurationHelperImplTest.testCanHandleCommentBeforeRoot()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testCanHandleCommentBeforeRoot" class="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest"/>
+ <method signature="ConfigurationHelperImplTest.testNamespace10Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace10Recognized" class="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest"/>
+ <method signature="ConfigurationHelperImplTest.testNamespace11Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace11Recognized" class="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest"/>
+ <method signature="ConfigurationHelperImplTest.testNamespace12Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace12Recognized" class="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest"/>
+ <method signature="ConfigurationHelperImplTest.testNamespace13NotRecognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace13NotRecognized" class="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest"/>
+ </group> <!-- unit -->
+ </groups>
+ <test name="Default test" duration-ms="44" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ <class name="org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest">
+ <test-method status="PASS" signature="testCanHandleCommentBeforeRoot()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testCanHandleCommentBeforeRoot" duration-ms="17" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ </test-method> <!-- testCanHandleCommentBeforeRoot -->
+ <test-method status="PASS" signature="testNamespace10Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace10Recognized" duration-ms="4" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ </test-method> <!-- testNamespace10Recognized -->
+ <test-method status="PASS" signature="testNamespace11Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace11Recognized" duration-ms="3" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ </test-method> <!-- testNamespace11Recognized -->
+ <test-method status="PASS" signature="testNamespace12Recognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace12Recognized" duration-ms="3" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ </test-method> <!-- testNamespace12Recognized -->
+ <test-method status="PASS" signature="testNamespace13NotRecognized()[pri:0, instance:org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest@26b4e29b]" name="testNamespace13NotRecognized" duration-ms="3" started-at="2012-07-04T11:37:46Z" finished-at="2012-07-04T11:37:46Z">
+ </test-method> <!-- testNamespace13NotRecognized -->
+ </class> <!-- org.apache.ace.client.repository.helper.configuration.impl.ConfigurationHelperImplTest -->
+ </test> <!-- Default test -->
+ </suite> <!-- Default suite -->
+</testng-results>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng.css
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng.css?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng.css (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test-output/testng.css Thu Jul 5 12:09:30 2012
@@ -0,0 +1,9 @@
+.invocation-failed, .test-failed { background-color: #DD0000; }
+.invocation-percent, .test-percent { background-color: #006600; }
+.invocation-passed, .test-passed { background-color: #00AA00; }
+.invocation-skipped, .test-skipped { background-color: #CCCC00; }
+
+.main-page {
+ font-size: x-large;
+}
+
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/invalid13.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/invalid13.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/invalid13.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/invalid13.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.3.0">
+ <OCD name="Apache Felix Http Config" id="org.osgi.service.http">
+ <AD id="org.osgi.service.http.port" type="STRING" cardinality="0" />
+ </OCD>
+ <Designate pid="org.apache.felix.http" bundle="*">
+ <Object ocdref="org.osgi.service.http">
+ <Attribute adref="org.osgi.service.http.port">
+ <Value>8080</Value>
+ </Attribute>
+ </Object>
+ </Designate>
+</MetaData>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/org/apache/ace/client/repository/helper/configuration/impl/ConfigurationHelperImplTest.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/org/apache/ace/client/repository/helper/configuration/impl/ConfigurationHelperImplTest.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/org/apache/ace/client/repository/helper/configuration/impl/ConfigurationHelperImplTest.java (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/org/apache/ace/client/repository/helper/configuration/impl/ConfigurationHelperImplTest.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.client.repository.helper.configuration.impl;
+
+import static org.apache.ace.test.utils.TestUtils.UNIT;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+
+import org.apache.ace.client.repository.helper.ArtifactResource;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+public class ConfigurationHelperImplTest {
+
+ // ACE-259 Basic recognizer tests
+
+ @Test(groups = { UNIT })
+ public void testNamespace10Recognized() throws Exception {
+ ConfigurationHelperImpl c = new ConfigurationHelperImpl();
+ String mime = c.recognize(convertToArtifactResource("valid10.xml"));
+ Assert.assertNotNull(mime);
+ }
+
+ @Test(groups = { UNIT })
+ public void testNamespace11Recognized() throws Exception {
+ ConfigurationHelperImpl c = new ConfigurationHelperImpl();
+ String mime = c.recognize(convertToArtifactResource("valid11.xml"));
+ Assert.assertNotNull(mime);
+ }
+
+ @Test(groups = { UNIT })
+ public void testNamespace12Recognized() throws Exception {
+ ConfigurationHelperImpl c = new ConfigurationHelperImpl();
+ String mime = c.recognize(convertToArtifactResource("valid12.xml"));
+ Assert.assertNotNull(mime);
+ }
+
+ @Test(groups = { UNIT })
+ public void testNamespace13NotRecognized() throws Exception {
+ ConfigurationHelperImpl c = new ConfigurationHelperImpl();
+ String mime = c.recognize(convertToArtifactResource("invalid13.xml"));
+ Assert.assertNull(mime);
+ }
+
+ @Test(groups = { UNIT })
+ public void testCanHandleCommentBeforeRoot() throws Exception {
+ ConfigurationHelperImpl c = new ConfigurationHelperImpl();
+ String mime = c.recognize(convertToArtifactResource("validWithComment.xml"));
+ Assert.assertNotNull(mime);
+ }
+
+ /**
+ * @param url
+ * @return
+ */
+ private ArtifactResource convertToArtifactResource(final String res) {
+ if (res == null) {
+ return null;
+ }
+
+ final URL url = getClass().getClassLoader().getResource("./" + res);
+
+ return new ArtifactResource() {
+ public URL getURL() {
+ return url;
+ }
+
+ public InputStream openStream() throws IOException {
+ return getURL().openStream();
+ }
+ };
+ }
+}
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid10.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid10.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid10.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid10.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.0.0">
+ <OCD name="Apache Felix Http Config" id="org.osgi.service.http">
+ <AD id="org.osgi.service.http.port" type="STRING" cardinality="0" />
+ </OCD>
+ <Designate pid="org.apache.felix.http" bundle="*">
+ <Object ocdref="org.osgi.service.http">
+ <Attribute adref="org.osgi.service.http.port">
+ <Value>8080</Value>
+ </Attribute>
+ </Object>
+ </Designate>
+</MetaData>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid11.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid11.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid11.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid11.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<foo:MetaData xmlns:foo="http://www.osgi.org/xmlns/metatype/v1.1.0">
+ <OCD name="Apache Felix Http Config" id="org.osgi.service.http">
+ <AD id="org.osgi.service.http.port" type="STRING" cardinality="0" />
+ </OCD>
+ <Designate pid="org.apache.felix.http" bundle="*">
+ <Object ocdref="org.osgi.service.http">
+ <Attribute adref="org.osgi.service.http.port">
+ <Value>8080</Value>
+ </Attribute>
+ </Object>
+ </Designate>
+</foo:MetaData>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid12.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid12.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid12.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/valid12.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.2.0">
+ <OCD name="Apache Felix Http Config" id="org.osgi.service.http">
+ <AD id="org.osgi.service.http.port" type="STRING" cardinality="0" />
+ </OCD>
+ <Designate pid="org.apache.felix.http" bundle="*">
+ <Object ocdref="org.osgi.service.http">
+ <Attribute adref="org.osgi.service.http.port">
+ <Value>8080</Value>
+ </Attribute>
+ </Object>
+ </Designate>
+</metatype:MetaData>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/validWithComment.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/validWithComment.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/validWithComment.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.configuration/test/validWithComment.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This is valid
+-->
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0">
+ <OCD name="Apache Felix Http Config" id="org.osgi.service.http">
+ <AD id="org.osgi.service.http.port" type="STRING" cardinality="0" />
+ </OCD>
+ <Designate pid="org.apache.felix.http" bundle="*">
+ <Object ocdref="org.osgi.service.http">
+ <Attribute adref="org.osgi.service.http.port">
+ <Value>8080</Value>
+ </Attribute>
+ </Object>
+ </Designate>
+</metatype:MetaData>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.classpath
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.classpath?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.classpath (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.classpath Thu Jul 5 12:09:30 2012
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.project
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.project?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.project (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/.project Thu Jul 5 12:09:30 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.ace.client.repository.helper.user</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>bndtools.core.bndbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>bndtools.core.bndnature</nature>
+ </natures>
+</projectDescription>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/bnd.bnd?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/bnd.bnd (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/bnd.bnd Thu Jul 5 12:09:30 2012
@@ -0,0 +1,9 @@
+-buildpath: osgi.core,\
+ osgi.cmpn,\
+ org.apache.felix.dependencymanager,\
+ org.apache.ace.client.repository.api;version=latest,\
+ org.apache.ace.client.repository.helper.base;version=latest,\
+ org.apache.ace.connectionfactory;version=latest
+Private-Package: org.apache.ace.client.repository.helper.user.impl
+Bundle-Activator: org.apache.ace.client.repository.helper.user.impl.Activator
+Export-Package: org.apache.ace.client.repository.helper.user
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/build.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/build.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/build.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/build.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="project" default="build">
+ <import file="../cnf/build.xml"/>
+</project>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/pom.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/pom.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/pom.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/pom.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>ace-pom</artifactId>
+ <version>0.8.1-SNAPSHOT</version>
+ <relativePath>../pom/pom.xml</relativePath>
+ </parent>
+
+ <version>0.8.1-SNAPSHOT</version>
+ <artifactId>org.apache.ace.client.repository.helper.user</artifactId>
+ <packaging>bundle</packaging>
+
+ <name>Apache ACE :: Client :: Repository :: Helper :: User</name>
+ <description>Artifact recognizer and helper for UserAdmin data.</description>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/ace/trunk/ace-client-repository-helper-user</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/ace/trunk/ace-client-repository-helper-user</developerConnection>
+ <url>http://svn.apache.org/repos/asf/ace/trunk/ace-client-repository-helper-user</url>
+ </scm>
+
+ <properties>
+ <export.package>
+ org.apache.ace.client.repository.helper.user;version=${project.version}
+ </export.package>
+ <import.package>
+ !org.apache.ace.client.repository.helper.user,
+ org.apache.ace.client.repository.helper;version=${project.version},
+ org.apache.ace.client.repository.helper.base;version=${project.version},
+ org.apache.ace.client.repository.object;version=${project.version},
+ *
+ </import.package>
+ <private.package>
+ org.apache.ace.client.repository.helper.user.impl
+ </private.package>
+ <bundle.activator>
+ org.apache.ace.client.repository.helper.user.impl.Activator
+ </bundle.activator>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.client.repository.api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.client.repository.helper.base</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.connectionfactory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.dependencymanager</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/UserAdminHelper.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/UserAdminHelper.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/UserAdminHelper.java (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/UserAdminHelper.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.client.repository.helper.user;
+
+import org.apache.ace.client.repository.helper.ArtifactHelper;
+
+/**
+ * Definitions for the UserAdminHelper artifact helper.
+ */
+public interface UserAdminHelper extends ArtifactHelper {
+ public static final String MIMETYPE = "application/vnd.apache.ace.useradmin";
+ public static final String PROCESSOR = "org.apache.ace.resourceprocessor.useradmin";
+}
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/Activator.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/Activator.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/Activator.java (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/Activator.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.client.repository.helper.user.impl;
+
+import java.util.Properties;
+
+import org.apache.ace.client.repository.helper.ArtifactHelper;
+import org.apache.ace.client.repository.helper.ArtifactRecognizer;
+import org.apache.ace.client.repository.helper.user.UserAdminHelper;
+import org.apache.ace.client.repository.object.ArtifactObject;
+import org.apache.ace.connectionfactory.ConnectionFactory;
+import org.apache.felix.dm.DependencyActivatorBase;
+import org.apache.felix.dm.DependencyManager;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.Constants;
+
+/**
+ * Activator class for the UserAdmin ArtifactHelper.
+ */
+public class Activator extends DependencyActivatorBase {
+
+ @Override
+ public synchronized void init(BundleContext context, DependencyManager manager) throws Exception {
+ Properties props = new Properties();
+ props.put(Constants.SERVICE_RANKING, 10);
+ props.put(ArtifactObject.KEY_MIMETYPE, UserAdminHelper.MIMETYPE);
+
+ UserHelperImpl helperImpl = new UserHelperImpl();
+ manager.add(createComponent()
+ .setInterface(new String[]{ ArtifactHelper.class.getName(), ArtifactRecognizer.class.getName() }, props)
+ .setImplementation(helperImpl)
+ .add(createServiceDependency()
+ .setService(ConnectionFactory.class)
+ .setRequired(true))
+ );
+ }
+
+ @Override
+ public synchronized void destroy(BundleContext context, DependencyManager manager) throws Exception {
+ // Nothing to do
+ }
+}
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/UserHelperImpl.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/UserHelperImpl.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/UserHelperImpl.java (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/impl/UserHelperImpl.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,139 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.client.repository.helper.user.impl;
+
+import java.io.File;
+import java.io.InputStream;
+import java.util.Comparator;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.ace.client.repository.helper.ArtifactPreprocessor;
+import org.apache.ace.client.repository.helper.ArtifactRecognizer;
+import org.apache.ace.client.repository.helper.ArtifactResource;
+import org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor;
+import org.apache.ace.client.repository.helper.user.UserAdminHelper;
+import org.apache.ace.client.repository.object.ArtifactObject;
+import org.apache.ace.connectionfactory.ConnectionFactory;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+
+public class UserHelperImpl implements ArtifactRecognizer, UserAdminHelper {
+
+ // Injected by Dependency Manager
+ private volatile ConnectionFactory m_connectionFactory;
+ // Created in #start()
+ private volatile VelocityArtifactPreprocessor m_artifactPreprocessor;
+
+ public boolean canHandle(String mimetype) {
+ return MIMETYPE.equals(mimetype);
+ }
+
+ public Map<String, String> extractMetaData(ArtifactResource artifact) throws IllegalArgumentException {
+ Map<String, String> result = new HashMap<String, String>();
+ result.put(ArtifactObject.KEY_PROCESSOR_PID, PROCESSOR);
+ result.put(ArtifactObject.KEY_MIMETYPE, MIMETYPE);
+ String name = new File(artifact.getURL().getFile()).getName();
+ String key = ArtifactObject.KEY_ARTIFACT_NAME + "-";
+ int idx = name.indexOf(key);
+ if (idx > -1) {
+ int endIdx = name.indexOf("-", idx + key.length());
+ name = name.substring(idx + key.length(), (endIdx > -1) ? endIdx : (name.length() - getExtension(artifact).length()));
+ }
+ result.put(ArtifactObject.KEY_ARTIFACT_NAME, name);
+ return result;
+ }
+
+ public String recognize(ArtifactResource artifact) {
+ try {
+ InputStream in = artifact.openStream();
+
+ Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(in);
+ Node root = doc.getFirstChild();
+ if (!root.getNodeName().equals("roles")) {
+ return null;
+ }
+ for (Node node = root.getFirstChild(); root != null; root = root.getNextSibling()) {
+ if (!node.getNodeName().equals("group") && !node.getNodeName().equals("user") && !node.getNodeName().equals("#text")) {
+ return null;
+ }
+ }
+ return MIMETYPE;
+ }
+ catch (Exception e) {
+ // Does not matter.
+ }
+
+ return null;
+ }
+
+ public boolean canUse(ArtifactObject object) {
+ return MIMETYPE.equals(object.getMimetype());
+ }
+
+ public Map<String, String> checkAttributes(Map<String, String> attributes) {
+ // All necessary checks will be done by the constructor using getMandatoryAttributes.
+ return attributes;
+ }
+
+ public <TYPE extends ArtifactObject> String getAssociationFilter(TYPE obj, Map<String, String> properties) {
+ return "(" + ArtifactObject.KEY_ARTIFACT_NAME + "=" + obj.getAttribute(ArtifactObject.KEY_ARTIFACT_NAME) + ")";
+ }
+
+ public <TYPE extends ArtifactObject> int getCardinality(TYPE obj, Map<String, String> properties) {
+ return Integer.MAX_VALUE;
+ }
+
+ public Comparator<ArtifactObject> getComparator() {
+ return null;
+ }
+
+ public String[] getDefiningKeys() {
+ return new String[] {ArtifactObject.KEY_ARTIFACT_NAME};
+ }
+
+ public String[] getMandatoryAttributes() {
+ return new String[] {ArtifactObject.KEY_ARTIFACT_NAME};
+ }
+
+ public ArtifactPreprocessor getPreprocessor() {
+ return m_artifactPreprocessor;
+ }
+
+ public String getExtension(ArtifactResource artifact) {
+ return ".xml";
+ }
+
+ /**
+ * Called by dependency manager upon start of this component.
+ */
+ protected void start() {
+ m_artifactPreprocessor = new VelocityArtifactPreprocessor(m_connectionFactory);
+ }
+
+ /**
+ * Called by dependency manager upon stopping of this component.
+ */
+ protected void stop() {
+ m_artifactPreprocessor = null;
+
+ }
+}
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/packageinfo
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/packageinfo?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/packageinfo (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.helper.user/src/org/apache/ace/client/repository/helper/user/packageinfo Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+version 1.0
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/.classpath
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/.classpath?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/.classpath (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/.classpath Thu Jul 5 12:09:30 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" output="bin_test" path="test"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
+ <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/.project
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/.project?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/.project (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/.project Thu Jul 5 12:09:30 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.ace.client.repository.impl</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>bndtools.core.bndbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>bndtools.core.bndnature</nature>
+ </natures>
+</projectDescription>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/.settings/org.eclipse.jdt.core.prefs?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/.settings/org.eclipse.jdt.core.prefs (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/.settings/org.eclipse.jdt.core.prefs Thu Jul 5 12:09:30 2012
@@ -0,0 +1,71 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/bnd.bnd?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/bnd.bnd (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/bnd.bnd Thu Jul 5 12:09:30 2012
@@ -0,0 +1,74 @@
+-buildpath: osgi.core,\
+ osgi.cmpn,\
+ org.apache.felix.dependencymanager,\
+ org.apache.ace.client.repository.api;version=latest,\
+ org.apache.ace.repository.api;version=latest,\
+ org.apache.ace.range.api;version=latest,\
+ org.apache.ace.util;version=latest,\
+ ../cnf/lib/xpp3-1.1.4c.jar;version=file,\
+ ../cnf/lib/xstream-1.2.2.jar;version=file,\
+ org.apache.ace.repository.ext;version=latest,\
+ org.apache.ace.server.log.store;version=latest,\
+ org.apache.ace.client.repository.helper.bundle;version=latest,\
+ org.mockito.mockito-all
+Private-Package: org.apache.ace.client.repository.impl,\
+ javax.xml.namespace,\
+ org.xmlpull.mxp1,\
+ org.xmlpull.mxp1_serializer,\
+ org.xmlpull.v1,\
+ org.xmlpull.v1.builder,\
+ org.xmlpull.v1.builder.adapter,\
+ org.xmlpull.v1.builder.impl,\
+ org.xmlpull.v1.dom2_builder,\
+ org.xmlpull.v1.parser_pool,\
+ org.xmlpull.v1.sax2,\
+ org.xmlpull.v1.util,\
+ org.xmlpull.v1.wrapper,\
+ org.xmlpull.v1.wrapper.classic,\
+ org.apache.ace.client.repository.stateful.impl,\
+ org.apache.ace.util,\
+ org.apache.ace.repository.ext,\
+ org.apache.ace.repository.ext.impl,\
+ com.thoughtworks.xstream,\
+ com.thoughtworks.xstream.alias,\
+ com.thoughtworks.xstream.annotations,\
+ com.thoughtworks.xstream.converters,\
+ com.thoughtworks.xstream.converters.basic,\
+ com.thoughtworks.xstream.converters.collections,\
+ com.thoughtworks.xstream.converters.enums,\
+ com.thoughtworks.xstream.converters.extended,\
+ com.thoughtworks.xstream.converters.javabean,\
+ com.thoughtworks.xstream.converters.reflection,\
+ com.thoughtworks.xstream.core,\
+ com.thoughtworks.xstream.core.util,\
+ com.thoughtworks.xstream.io,\
+ com.thoughtworks.xstream.io.binary,\
+ com.thoughtworks.xstream.io.copy,\
+ com.thoughtworks.xstream.io.json,\
+ com.thoughtworks.xstream.io.path,\
+ com.thoughtworks.xstream.io.xml,\
+ com.thoughtworks.xstream.io.xml.xppdom,\
+ com.thoughtworks.xstream.mapper,\
+ com.thoughtworks.xstream.persistence
+Import-Package: !javax.security.auth,\
+ !javax.swing.plaf,\
+ !javax.xml.parsers,\
+ !javax.xml.stream,\
+ !javax.xml.transform.sax,\
+ !net.sf.cglib.proxy,\
+ !nu.xom,\
+ !org.codehaus.jettison.mapped,\
+ !org.dom4j,\
+ !org.dom4j.io,\
+ !org.dom4j.tree,\
+ !org.jdom,\
+ !org.jdom.input,\
+ !org.joda.time,\
+ !org.joda.time.format,\
+ !org.w3c.dom,\
+ !org.xml.sax,\
+ !org.xml.sax.helpers,\
+ !sun.misc,\
+ !sun.reflect,\
+ *
+Bundle-Activator: org.apache.ace.client.repository.impl.Activator
\ No newline at end of file
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/build.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/build.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/build.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/build.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="project" default="build">
+ <import file="../cnf/build.xml"/>
+</project>
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/LICENSE.vm
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/LICENSE.vm?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/LICENSE.vm (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/LICENSE.vm Thu Jul 5 12:09:30 2012
@@ -0,0 +1,90 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. Â See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. Â The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. Â You may obtain a copy of the License at
+##
+## Â http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. Â See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+XStream License
+---------------
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of
+conditions and the following disclaimer. Redistributions in binary form must reproduce
+the above copyright notice, this list of conditions and the following disclaimer in
+the documentation and/or other materials provided with the distribution.
+
+Neither the name of XStream nor the names of its contributors may be used to endorse
+or promote products derived from this software without specific prior written
+permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
+XPP3 License
+------------
+* The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/NOTICE.vm
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/NOTICE.vm?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/NOTICE.vm (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/old/main/appended-resources/META-INF/NOTICE.vm Thu Jul 5 12:09:30 2012
@@ -0,0 +1,30 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. Â See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. Â The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. Â You may obtain a copy of the License at
+##
+## Â http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. Â See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+This product includes software developed at
+'XStream' (http://xstream.codehaus.org)
+Copyright (c) 2003-2006, Joe Walnes
+Copyright (c) 2006-2007, XStream Committers
+Licensed under BSD style
+
+This product includes software developed at
+'Extreme! Lab, Indiana University' (http://www.extreme.indiana.edu/)
+Copyright (c) all rights reserved
+Licensed under Apache Software License, version 1.1
+
+
Added: ace/sandbox/marrs/org.apache.ace.client.repository.impl/pom.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.impl/pom.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.impl/pom.xml (added)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.impl/pom.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>ace-pom</artifactId>
+ <version>0.8.1-SNAPSHOT</version>
+ <relativePath>../pom/pom.xml</relativePath>
+ </parent>
+
+ <version>0.8.1-SNAPSHOT</version>
+ <artifactId>org.apache.ace.client.repository.impl</artifactId>
+ <packaging>bundle</packaging>
+
+ <name>Apache ACE :: Client :: Repository :: Implementation</name>
+ <description />
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/ace/trunk/ace-client-repository-impl</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/ace/trunk/ace-client-repository-impl</developerConnection>
+ <url>http://svn.apache.org/repos/asf/ace/trunk/ace-client-repository-impl</url>
+ </scm>
+
+ <properties>
+ <import.package>
+ !javax.security.auth,
+ !javax.swing.plaf,
+ !javax.xml.parsers,
+ !javax.xml.stream,
+ !javax.xml.transform.sax,
+ !net.sf.cglib.proxy,
+ !nu.xom,
+ !org.codehaus.jettison.mapped,
+ !org.dom4j,
+ !org.dom4j.io,
+ !org.dom4j.tree,
+ !org.jdom,
+ !org.jdom.input,
+ !org.joda.time,
+ !org.joda.time.format,
+ !org.w3c.dom,
+ !org.xml.sax,
+ !org.xml.sax.helpers,
+ !sun.misc,
+ !sun.reflect,
+ *
+ </import.package>
+ <private.package>
+ org.apache.ace.client.repository.impl,
+ org.apache.ace.util,
+ org.apache.ace.repository.ext,
+ org.apache.ace.repository.ext.impl,
+ org.apache.ace.client.repository.stateful.impl
+ </private.package>
+ <bundle.activator>org.apache.ace.client.repository.impl.Activator</bundle.activator>
+ <embed.dependency>xstream, xpp3</embed.dependency>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.client.repository.api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.connectionfactory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.repository.api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.repository.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.server.log.store</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.range.api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.util</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ace</groupId>
+ <artifactId>org.apache.ace.client.repository.helper.bundle</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.dependencymanager</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>