Skip to content

Commit

Permalink
Update workspace location.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Dec 9, 2011
1 parent a0e3dea commit 66e99ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion snippet/bin/check_manuscript.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

# Check that the expected (or actual) snippets are in the manuscript. E.g.
# bin/check_manuscript.py ~/workspace/htdg2/ch11.xml expected/ch11/grunt/*
# bin/check_manuscript.py ~/book-workspace/htdg2/ch11.xml expected/ch11/grunt/*

# TODO: ignore id elements in the XML in the book.
# Need to use an XML parser for this.
Expand Down
12 changes: 6 additions & 6 deletions snippet/bin/check_manuscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ bin=`cd "$bin"; pwd`

actual="$bin"/../actual

$bin/check_manuscript.py ~/workspace/htdg3/ch02.xml $actual/ch02/*
$bin/check_manuscript.py ~/workspace/htdg3/ch04.xml $actual/ch04/*
$bin/check_manuscript.py ~/workspace/htdg3/ch05.xml $actual/ch05/*
$bin/check_manuscript.py ~/workspace/htdg3/ch07.xml $actual/ch07/*
$bin/check_manuscript.py ~/workspace/htdg3/ch07.xml $actual/common/*
$bin/check_manuscript.py ~/workspace/htdg3/ch08.xml $actual/ch08/*
$bin/check_manuscript.py ~/book-workspace/htdg3/ch02.xml $actual/ch02/*
$bin/check_manuscript.py ~/book-workspace/htdg3/ch04.xml $actual/ch04/*
$bin/check_manuscript.py ~/book-workspace/htdg3/ch05.xml $actual/ch05/*
$bin/check_manuscript.py ~/book-workspace/htdg3/ch07.xml $actual/ch07/*
$bin/check_manuscript.py ~/book-workspace/htdg3/ch07.xml $actual/common/*
$bin/check_manuscript.py ~/book-workspace/htdg3/ch08.xml $actual/ch08/*
2 changes: 1 addition & 1 deletion snippet/src/test/java/ExamplesIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class ExamplesIT {

private static final File PROJECT_BASE_DIR =
new File(System.getProperty("hadoop.book.basedir",
"/Users/tom/workspace/hadoop-book"));
"/Users/tom/book-workspace/hadoop-book"));

private static final String MODE_PROPERTY = "example.mode";
private static final String MODE_DEFAULT = "local";
Expand Down

0 comments on commit 66e99ff

Please sign in to comment.