http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art1sec9.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art1sec9.txt b/perl/sample/us_constitution/art1sec9.txt deleted file mode 100644 index 029cbb8..0000000 --- a/perl/sample/us_constitution/art1sec9.txt +++ /dev/null @@ -1,30 +0,0 @@ -Article I Section 9 - -The Migration or Importation of such Persons as any of the States now -existing shall think proper to admit, shall not be prohibited by the Congress -prior to the Year one thousand eight hundred and eight, but a tax or duty may -be imposed on such Importation, not exceeding ten dollars for each Person. - -The privilege of the Writ of Habeas Corpus shall not be suspended, unless -when in Cases of Rebellion or Invasion the public Safety may require it. - -No Bill of Attainder or ex post facto Law shall be passed. No capitation, or -other direct, Tax shall be laid, unless in Proportion to the Census or -Enumeration herein before directed to be taken. - -No Tax or Duty shall be laid on Articles exported from any State. - -No Preference shall be given by any Regulation of Commerce or Revenue to the -Ports of one State over those of another: nor shall Vessels bound to, or -from, one State, be obliged to enter, clear, or pay Duties in another. - -No Money shall be drawn from the Treasury, but in Consequence of -Appropriations made by Law; and a regular Statement and Account of the -Receipts and Expenditures of all public Money shall be published from time to -time. - -No Title of Nobility shall be granted by the United States: And no Person -holding any Office of Profit or Trust under them, shall, without the Consent -of the Congress, accept of any present, Emolument, Office, or Title, of any -kind whatever, from any King, Prince or foreign State. -
http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art2sec1.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art2sec1.txt b/perl/sample/us_constitution/art2sec1.txt deleted file mode 100644 index 66ee6ad..0000000 --- a/perl/sample/us_constitution/art2sec1.txt +++ /dev/null @@ -1,65 +0,0 @@ -Article II Section 1 - -The executive Power shall be vested in a President of the United States of -America. He shall hold his Office during the Term of four Years, and, -together with the Vice-President chosen for the same Term, be elected, as -follows: - -Each State shall appoint, in such Manner as the Legislature thereof may -direct, a Number of Electors, equal to the whole Number of Senators and -Representatives to which the State may be entitled in the Congress: but no -Senator or Representative, or Person holding an Office of Trust or Profit -under the United States, shall be appointed an Elector. - -The Electors shall meet in their respective States, and vote by Ballot for -two persons, of whom one at least shall not lie an Inhabitant of the same -State with themselves. And they shall make a List of all the Persons voted -for, and of the Number of Votes for each; which List they shall sign and -certify, and transmit sealed to the Seat of the Government of the United -States, directed to the President of the Senate. The President of the Senate -shall, in the Presence of the Senate and House of Representatives, open all -the Certificates, and the Votes shall then be counted. The Person having the -greatest Number of Votes shall be the President, if such Number be a Majority -of the whole Number of Electors appointed; and if there be more than one who -have such Majority, and have an equal Number of Votes, then the House of -Representatives shall immediately chuse by Ballot one of them for President; -and if no Person have a Majority, then from the five highest on the List the -said House shall in like Manner chuse the President. But in chusing the -President, the Votes shall be taken by States, the Representation from each -State having one Vote; a quorum for this Purpose shall consist of a Member or -Members from two-thirds of the States, and a Majority of all the States shall -be necessary to a Choice. In every Case, after the Choice of the President, -the Person having the greatest Number of Votes of the Electors shall be the -Vice President. But if there should remain two or more who have equal Votes, -the Senate shall chuse from them by Ballot the Vice-President. - -The Congress may determine the Time of chusing the Electors, and the Day on -which they shall give their Votes; which Day shall be the same throughout the -United States. - -No person except a natural born Citizen, or a Citizen of the United States, -at the time of the Adoption of this Constitution, shall be eligible to the -Office of President; neither shall any Person be eligible to that Office who -shall not have attained to the Age of thirty-five Years, and been fourteen -Years a Resident within the United States. - -In Case of the Removal of the President from Office, or of his Death, -Resignation, or Inability to discharge the Powers and Duties of the said -Office, the same shall devolve on the Vice President, and the Congress may by -Law provide for the Case of Removal, Death, Resignation or Inability, both of -the President and Vice President, declaring what Officer shall then act as -President, and such Officer shall act accordingly, until the Disability be -removed, or a President shall be elected. - -The President shall, at stated Times, receive for his Services, a -Compensation, which shall neither be increased nor diminished during the -Period for which he shall have been elected, and he shall not receive within -that Period any other Emolument from the United States, or any of them. - -Before he enter on the Execution of his Office, he shall take the following -Oath or Affirmation: - -"I do solemnly swear (or affirm) that I will faithfully execute the Office of -President of the United States, and will to the best of my Ability, preserve, -protect and defend the Constitution of the United States." - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art2sec2.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art2sec2.txt b/perl/sample/us_constitution/art2sec2.txt deleted file mode 100644 index 753a370..0000000 --- a/perl/sample/us_constitution/art2sec2.txt +++ /dev/null @@ -1,24 +0,0 @@ -Article II Section 2 - -The President shall be Commander in Chief of the Army and Navy of the United -States, and of the Militia of the several States, when called into the actual -Service of the United States; he may require the Opinion, in writing, of the -principal Officer in each of the executive Departments, upon any subject -relating to the Duties of their respective Offices, and he shall have Power -to Grant Reprieves and Pardons for Offenses against the United States, except -in Cases of Impeachment. - -He shall have Power, by and with the Advice and Consent of the Senate, to -make Treaties, provided two thirds of the Senators present concur; and he -shall nominate, and by and with the Advice and Consent of the Senate, shall -appoint Ambassadors, other public Ministers and Consuls, Judges of the -supreme Court, and all other Officers of the United States, whose -Appointments are not herein otherwise provided for, and which shall be -established by Law: but the Congress may by Law vest the Appointment of such -inferior Officers, as they think proper, in the President alone, in the -Courts of Law, or in the Heads of Departments. - -The President shall have Power to fill up all Vacancies that may happen -during the Recess of the Senate, by granting Commissions which shall expire -at the End of their next Session. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art2sec3.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art2sec3.txt b/perl/sample/us_constitution/art2sec3.txt deleted file mode 100644 index c951a85..0000000 --- a/perl/sample/us_constitution/art2sec3.txt +++ /dev/null @@ -1,11 +0,0 @@ -Article II Section 3 - -He shall from time to time give to the Congress Information of the State of -the Union, and recommend to their Consideration such Measures as he shall -judge necessary and expedient; he may, on extraordinary Occasions, convene -both Houses, or either of them, and in Case of Disagreement between them, -with Respect to the Time of Adjournment, he may adjourn them to such Time as -he shall think proper; he shall receive Ambassadors and other public -Ministers; he shall take Care that the Laws be faithfully executed, and shall -Commission all the Officers of the United States. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art2sec4.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art2sec4.txt b/perl/sample/us_constitution/art2sec4.txt deleted file mode 100644 index 60f947f..0000000 --- a/perl/sample/us_constitution/art2sec4.txt +++ /dev/null @@ -1,6 +0,0 @@ -Article II Section 4 - -The President, Vice President and all civil Officers of the United States, -shall be removed from Office on Impeachment for, and Conviction of, Treason, -Bribery, or other high Crimes and Misdemeanors. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art3sec1.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art3sec1.txt b/perl/sample/us_constitution/art3sec1.txt deleted file mode 100644 index dead4fa..0000000 --- a/perl/sample/us_constitution/art3sec1.txt +++ /dev/null @@ -1,9 +0,0 @@ -Article III Section 1 - -The judicial Power of the United States, shall be vested in one supreme -Court, and in such inferior Courts as the Congress may from time to time -ordain and establish. The Judges, both of the supreme and inferior Courts, -shall hold their Offices during good Behavior, and shall, at stated Times, -receive for their Services a Compensation which shall not be diminished -during their Continuance in Office. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art3sec2.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art3sec2.txt b/perl/sample/us_constitution/art3sec2.txt deleted file mode 100644 index 3f4f942..0000000 --- a/perl/sample/us_constitution/art3sec2.txt +++ /dev/null @@ -1,24 +0,0 @@ -Article III Section 2 - -The judicial Power shall extend to all Cases, in Law and Equity, arising -under this Constitution, the Laws of the United States, and Treaties made, or -which shall be made, under their Authority; to all Cases affecting -Ambassadors, other public Ministers and Consuls; to all Cases of admiralty -and maritime Jurisdiction; to Controversies to which the United States shall -be a Party; to Controversies between two or more States; between a State and -Citizens of another State; between Citizens of different States; between -Citizens of the same State claiming Lands under Grants of different States, -and between a State, or the Citizens thereof, and foreign States, Citizens or -Subjects. - -In all Cases affecting Ambassadors, other public Ministers and Consuls, and -those in which a State shall be Party, the supreme Court shall have original -Jurisdiction. In all the other Cases before mentioned, the supreme Court -shall have appellate Jurisdiction, both as to Law and Fact, with such -Exceptions, and under such Regulations as the Congress shall make. - -Trial of all Crimes, except in Cases of Impeachment, shall be by Jury; and -such Trial shall be held in the State where the said Crimes shall have been -committed; but when not committed within any State, the Trial shall be at -such Place or Places as the Congress may by Law have directed. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art3sec3.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art3sec3.txt b/perl/sample/us_constitution/art3sec3.txt deleted file mode 100644 index 2625150..0000000 --- a/perl/sample/us_constitution/art3sec3.txt +++ /dev/null @@ -1,11 +0,0 @@ -Article III Section 3 - -Treason against the United States, shall consist only in levying War against -them, or in adhering to their Enemies, giving them Aid and Comfort. No Person -shall be convicted of Treason unless on the Testimony of two Witnesses to the -same overt Act, or on Confession in open Court. - -The Congress shall have power to declare the Punishment of Treason, but no -Attainder of Treason shall work Corruption of Blood, or Forfeiture except -during the Life of the Person attainted. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art4sec1.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art4sec1.txt b/perl/sample/us_constitution/art4sec1.txt deleted file mode 100644 index f50c27c..0000000 --- a/perl/sample/us_constitution/art4sec1.txt +++ /dev/null @@ -1,7 +0,0 @@ -Article IV Section 1 - -Full Faith and Credit shall be given in each State to the public Acts, -Records, and judicial Proceedings of every other State. And the Congress may -by general Laws prescribe the Manner in which such Acts, Records and -Proceedings shall be proved, and the Effect thereof. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art4sec2.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art4sec2.txt b/perl/sample/us_constitution/art4sec2.txt deleted file mode 100644 index 00af0da..0000000 --- a/perl/sample/us_constitution/art4sec2.txt +++ /dev/null @@ -1,15 +0,0 @@ -Article IV Section 2 - -The Citizens of each State shall be entitled to all Privileges and Immunities -of Citizens in the several States. - -A Person charged in any State with Treason, Felony, or other Crime, who shall -flee from Justice, and be found in another State, shall on demand of the -executive Authority of the State from which he fled, be delivered up, to be -removed to the State having Jurisdiction of the Crime. - -No Person held to Service or Labour in one State, under the Laws thereof, -escaping into another, shall, in Consequence of any Law or Regulation -therein, be discharged from such Service or Labour, But shall be delivered up -on Claim of the Party to whom such Service or Labour may be due. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art4sec3.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art4sec3.txt b/perl/sample/us_constitution/art4sec3.txt deleted file mode 100644 index 0c5bf9d..0000000 --- a/perl/sample/us_constitution/art4sec3.txt +++ /dev/null @@ -1,13 +0,0 @@ -Article IV Section 3 - -New States may be admitted by the Congress into this Union; but no new States -shall be formed or erected within the Jurisdiction of any other State; nor -any State be formed by the Junction of two or more States, or parts of -States, without the Consent of the Legislatures of the States concerned as -well as of the Congress. - -The Congress shall have Power to dispose of and make all needful Rules and -Regulations respecting the Territory or other Property belonging to the -United States; and nothing in this Constitution shall be so construed as to -Prejudice any Claims of the United States, or of any particular State. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art4sec4.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art4sec4.txt b/perl/sample/us_constitution/art4sec4.txt deleted file mode 100644 index bd06b25..0000000 --- a/perl/sample/us_constitution/art4sec4.txt +++ /dev/null @@ -1,7 +0,0 @@ -Article IV Section 4 - -The United States shall guarantee to every State in this Union a Republican -Form of Government, and shall protect each of them against Invasion; and on -Application of the Legislature, or of the Executive (when the Legislature -cannot be convened) against domestic Violence. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art5.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art5.txt b/perl/sample/us_constitution/art5.txt deleted file mode 100644 index 66cc4aa..0000000 --- a/perl/sample/us_constitution/art5.txt +++ /dev/null @@ -1,14 +0,0 @@ -Article V - -The Congress, whenever two thirds of both Houses shall deem it necessary, -shall propose Amendments to this Constitution, or, on the Application of the -Legislatures of two thirds of the several States, shall call a Convention for -proposing Amendments, which, in either Case, shall be valid to all Intents -and Purposes, as part of this Constitution, when ratified by the Legislatures -of three fourths of the several States, or by Conventions in three fourths -thereof, as the one or the other Mode of Ratification may be proposed by the -Congress; Provided that no Amendment which may be made prior to the Year One -thousand eight hundred and eight shall in any Manner affect the first and -fourth Clauses in the Ninth Section of the first Article; and that no State, -without its Consent, shall be deprived of its equal Suffrage in the Senate. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art6.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art6.txt b/perl/sample/us_constitution/art6.txt deleted file mode 100644 index 463674a..0000000 --- a/perl/sample/us_constitution/art6.txt +++ /dev/null @@ -1,19 +0,0 @@ -Article VI - -All Debts contracted and Engagements entered into, before the Adoption of -this Constitution, shall be as valid against the United States under this -Constitution, as under the Confederation. - -This Constitution, and the Laws of the United States which shall be made in -Pursuance thereof; and all Treaties made, or which shall be made, under the -Authority of the United States, shall be the supreme Law of the Land; and the -Judges in every State shall be bound thereby, any Thing in the Constitution -or Laws of any State to the Contrary notwithstanding. - -The Senators and Representatives before mentioned, and the Members of the -several State Legislatures, and all executive and judicial Officers, both of -the United States and of the several States, shall be bound by Oath or -Affirmation, to support this Constitution; but no religious Test shall ever -be required as a Qualification to any Office or public Trust under the United -States. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/art7.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/art7.txt b/perl/sample/us_constitution/art7.txt deleted file mode 100644 index 1f53ef3..0000000 --- a/perl/sample/us_constitution/art7.txt +++ /dev/null @@ -1,43 +0,0 @@ -Article VII - -The Ratification of the Conventions of nine States, shall be sufficient for -the Establishment of this Constitution between the States so ratifying the -Same. - -Done in Convention by the Unanimous Consent of the States present the -Seventeenth Day of September in the Year of our Lord one thousand seven -hundred and Eighty seven and of the Independence of the United States of -America the Twelfth. In Witness whereof We have hereunto subscribed our -Names. - -Go Washington - President and deputy from Virginia - -New Hampshire - John Langdon, Nicholas Gilman - -Massachusetts - Nathaniel Gorham, Rufus King - -Connecticut - Wm Saml Johnson, Roger Sherman - -New York - Alexander Hamilton - -New Jersey - Wil Livingston, David Brearley, Wm Paterson, Jona. Dayton - -Pensylvania - B Franklin, Thomas Mifflin, Robt Morris, Geo. Clymer, Thos -FitzSimons, Jared Ingersoll, James Wilson, Gouv Morris - -Delaware - Geo. Read, Gunning Bedford jun, John Dickinson, Richard Bassett, -Jaco. Broom - -Maryland - James McHenry, Dan of St Tho Jenifer, Danl Carroll - -Virginia - John Blair, James Madison Jr. - -North Carolina - Wm Blount, Richd Dobbs Spaight, Hu Williamson - -South Carolina - J. Rutledge, Charles Cotesworth Pinckney, Charles Pinckney, -Pierce Butler - -Georgia - William Few, Abr Baldwin - -Attest: William Jackson, Secretary - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/index.html ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/index.html b/perl/sample/us_constitution/index.html deleted file mode 100644 index 16948b0..0000000 --- a/perl/sample/us_constitution/index.html +++ /dev/null @@ -1,114 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> - -<html> - - <head> - <meta http-equiv="content-type" content="text/html;charset=UTF-8"> - <link rel="stylesheet" type="text/css" href="uscon.css"> - <title>US Constitution</title> - <!-- - 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. - --> - </head> - - <body> - <div id="navigation"> - US Constitution - </div><!--navigation--> - - <div id="bodytext"> - <ul> - <li><a href="preamble.txt">Preamble</a></li> - - <li><a name="articles"></a>Article I</li> - <ul> - <li><a href="art1sec1.txt">Article I Section 1</a></li> - <li><a href="art1sec2.txt">Article I Section 2</a></li> - <li><a href="art1sec3.txt">Article I Section 3</a></li> - <li><a href="art1sec4.txt">Article I Section 4</a></li> - <li><a href="art1sec5.txt">Article I Section 5</a></li> - <li><a href="art1sec6.txt">Article I Section 6</a></li> - <li><a href="art1sec7.txt">Article I Section 7</a></li> - <li><a href="art1sec8.txt">Article I Section 8</a></li> - <li><a href="art1sec9.txt">Article I Section 9</a></li> - <li><a href="art1sec10.txt">Article I Section 10</a></li> - </ul> - - <li>Article II</li> - <ul> - <li><a href="art2sec1.txt">Article II Section 1</a></li> - <li><a href="art2sec2.txt">Article II Section 2</a></li> - <li><a href="art2sec3.txt">Article II Section 3</a></li> - <li><a href="art2sec4.txt">Article II Section 4</a></li> - </ul> - - <li>Article III</li> - <ul> - <li><a href="art3sec1.txt">Article III Section 1</a></li> - <li><a href="art3sec2.txt">Article III Section 2</a></li> - <li><a href="art3sec3.txt">Article III Section 3</a></li> - </ul> - - <li>Article IV</li> - <ul> - <li><a href="art4sec1.txt">Article IV Section 1</a></li> - <li><a href="art4sec2.txt">Article IV Section 2</a></li> - <li><a href="art4sec3.txt">Article IV Section 3</a></li> - <li><a href="art4sec4.txt">Article IV Section 4</a></li> - </ul> - - <li><a href="art5.txt">Article V</a></li> - - <li><a href="art6.txt">Article VI</a></li> - - <li><a href="art7.txt">Article VII</a></li> - - <li><a name="amendments"></a>Amendments</li> - <ul> - <li><a href="amend1.txt">Amendment 1</a></li> - <li><a href="amend2.txt">Amendment 2</a></li> - <li><a href="amend3.txt">Amendment 3</a></li> - <li><a href="amend4.txt">Amendment 4</a></li> - <li><a href="amend5.txt">Amendment 5</a></li> - <li><a href="amend6.txt">Amendment 6</a></li> - <li><a href="amend7.txt">Amendment 7</a></li> - <li><a href="amend8.txt">Amendment 8</a></li> - <li><a href="amend9.txt">Amendment 9</a></li> - <li><a href="amend10.txt">Amendment 10</a></li> - <li><a href="amend11.txt">Amendment 11</a></li> - <li><a href="amend12.txt">Amendment 12</a></li> - <li><a href="amend13.txt">Amendment 13</a></li> - <li><a href="amend14.txt">Amendment 14</a></li> - <li><a href="amend15.txt">Amendment 15</a></li> - <li><a href="amend16.txt">Amendment 16</a></li> - <li><a href="amend17.txt">Amendment 17</a></li> - <li><a href="amend18.txt">Amendment 18</a></li> - <li><a href="amend19.txt">Amendment 19</a></li> - <li><a href="amend20.txt">Amendment 20</a></li> - <li><a href="amend21.txt">Amendment 21</a></li> - <li><a href="amend22.txt">Amendment 22</a></li> - <li><a href="amend23.txt">Amendment 23</a></li> - <li><a href="amend24.txt">Amendment 24</a></li> - <li><a href="amend25.txt">Amendment 25</a></li> - <li><a href="amend26.txt">Amendment 26</a></li> - <li><a href="amend27.txt">Amendment 27</a></li> - </ul> - </ul> - </div><!--bodytext--> - </body> - -</html> - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/preamble.txt ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/preamble.txt b/perl/sample/us_constitution/preamble.txt deleted file mode 100644 index ee1bffe..0000000 --- a/perl/sample/us_constitution/preamble.txt +++ /dev/null @@ -1,8 +0,0 @@ -Preamble - -We the People of the United States, in Order to form a more perfect Union, -establish Justice, insure domestic Tranquility, provide for the common -defence, promote the general Welfare, and secure the Blessings of Liberty to -ourselves and our Posterity, do ordain and establish this Constitution for -the United States of America. - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/sample/us_constitution/uscon.css ---------------------------------------------------------------------- diff --git a/perl/sample/us_constitution/uscon.css b/perl/sample/us_constitution/uscon.css deleted file mode 100644 index c674edd..0000000 --- a/perl/sample/us_constitution/uscon.css +++ /dev/null @@ -1,45 +0,0 @@ -/* 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. - */ - -body,table,textarea { - font-family: Arial, Helvetica, sans-serif; -} - -body { - font-size: 90%; - background: #fff; - margin: 0 0 0 0; -} - -div#navigation { - background: #ddfff6; - padding: 10px; - border-bottom: 1px solid #555; -} - -div#bodytext { - margin: 10px 10px 10px 10px; -} - -form#usconSearch { - display: inline; - margin-bottom: 0px; -} - -span.excerptURL { - color: green; -} - http://git-wip-us.apache.org/repos/asf/lucy/blob/dcc62153/perl/t/binding/702-sample.t ---------------------------------------------------------------------- diff --git a/perl/t/binding/702-sample.t b/perl/t/binding/702-sample.t index eafbc54..ccfb012 100644 --- a/perl/t/binding/702-sample.t +++ b/perl/t/binding/702-sample.t @@ -29,6 +29,7 @@ BEGIN { } use File::Spec::Functions qw( catfile catdir ); use File::Path qw( rmtree ); +use Lucy::Test::TestUtils qw( uscon_dir ); my $search_cgi_orig_path = catfile(qw( sample search.cgi )); my $indexer_pl_orig_path = catfile(qw( sample indexer.pl )); @@ -47,7 +48,7 @@ for my $filename (qw( search.cgi indexer.pl )) { close $fh or die "Close failed: $!"; $content =~ s/(path_to_index\s+=\s+).*?;/$1'_sample_index';/ or die "no match"; - my $uscon_source = catdir(qw( sample us_constitution )); + my $uscon_source = uscon_dir(); $content =~ s/(uscon_source\s+=\s+).*?;/$1'$uscon_source';/; $content =~ s/(^use warnings;\n)/$1no warnings 'deprecated';\n/m; $content =~ s/^use/$use_dirs;\nuse/m;
