build.xml has specific koan targets; remove_snippets no err msg on Linux #12

wants to merge 375 commits into


None yet

5 participants

quux00 commented Dec 12, 2011

Hi Jim,

I made a few minor changes that I complained about in my thornydev how-to :-). Namely, specific targets for each Koan in the ant build file and squashing the rogue error message from

I figured out that the problem with is that sed looks to have different command line option nuances between Mac (what I'm guessing you develop on) and Linux/Cygwin. I modified to detect os and set the flag appropriately - it should still be Bourne shell compatible (no bash/perl). I tested it on Xubuntu Linux and Mingw32 on Windows (I don't have cygwin configured to use Java correctly, so didn't test that). If you like either of these changes, please test them on Mac, since I don't have access to one.

-Michael (@midpeter444)

Jim Webber and others added some commits May 3, 2011
Jim Webber fixing up simpler koans that used to use different indexes to just us…
…e the characters index now
Jim Webber Completely removed the JSON-based ETL stuff. It now uses a fluent int…
…erface to describe facts which is nicer to use (though it can be tricky to code)
Jim Webber Formatted the code and removed a bunch of dead commented out code 3b08155
Jim Webber Just saved the ppt deck d680382
Jim Webber Allowed characters to belong to more than one species, to account for…
… the case of Miss Hartigan who was turned into a cyberman
Jim Webber Added an example using the new traversal API that finds the first doctor 8c68213
Jim Webber Finished up koan 6 with two really simple traversals 2646c17
Jim Webber Fixed a test that failed to take into account that Miss Hartigan is h…
…uman and cyberman
Jim Webber Removing unused imports 9309241
Jim Webber Added some notes to the new traverser API slide f61be78
Jim Webber Tweaked koan 6 description and added the skeleton for koan 7 c5d1c45
Jim Webber Made the error message for failures more descriptive 239e3b1
Jim Webber Added some indexing for episodes and characters.
Created a very simple path-koan in Koan7, and a matcher to help formulate the assertion in that unit test.
Jim Webber Added a test for number of master regenerations using path length - m…
…uch easier than doing it with traversers.
Jim Webber Tweaked the path length in the assertion because it's not the number …
…of regenerations, it's the number of actors we want.
Jim Webber Just tidying up the assertions for clarity 1ba839d
Jim Webber Started an explanation of path operations in the deck.
Implemented a matcher that allows us to look for specific length 3 paths in the graph and assert against them for the deck example.
Jim Webber Added preamble for graph matching in the deck db07531
Jim Webber Tidying up an assertion 469559a
Jim Webber Tidying up unused imports d267d63
Jim Webber Added the graph matching jar and matching koan.
The jar is needed because neo4j/graph-matching is not available through the MVN repo.
Jim Webber Added graph-matching as an ivy dependency a678d99
Jim Webber Fixed a bug that enemies and enemy species found in episodes didn't
have ENEMY_OF relationships in the graph
Jim Webber Updated the builders to prevent (silent) duplicate relationships bein…
…g added.
Jim Webber Fixed the tests after the last push. 9acb940
Jim Webber Added shell as a dependency
Updated the scripts and the slide deck to use the new shell jar
Added an ensure relationship exists method in DatabaseHelper to remove relationship duplicates when building the Doctor Who universe.
Spiked some stuff around pattern matching in Koan 8 - it's incomplete in this commit
Jim Webber Minor refactoring for clarity in the Koans.
Added an "Exercise" slide to Koans 2-7 to make it explicit what is expected of the students in each Koan.
Jim Webber Added the Editor as an enemy in the Long Game 1435f69
Jim Webber Completed Koan 8, including the slides.
Tidied up some of the matchers so the error messages are more descriptive, and so they're a little more generic.
Jim Webber Just mucking around with the Doctor Who Graphics on the slide deck 7c37bc3
Jim Webber Fixed a bug in the query index slide example. d7679d1
Jim Webber Added Nixon and Canton to the episodes as Allies of the Doctor. Had t…
…o change the Nixon index test to use an otherwise unknown character (Abagail)
Jim Webber Added some performance data into the slide deck 6131d59
Jim Webber Adding a link to the student-ready koan in the slides 677edfe
@jimwebber added the release script into gitignore 99539df
@jimwebber Tweaking some of the slides on NOSQL. 1071946
@iansrobinson iansrobinson Deleted SpeciesRepository - we're not currently doing SDG, and this f…
…ile is causing errors in IDE
@iansrobinson iansrobinson Merge branch 'master' of 2115fef
@iansrobinson iansrobinson Modified shell startup scrips by removing jar version numbers (as per…
… our build)
@iansrobinson iansrobinson Updated Richard Hurdnall's history 84ea5f9
@jimwebber Just powerpoint pointlessly updating the last modified status on the …
@jimwebber Updating the roadmap c530c90
@iansrobinson iansrobinson Corrected spelling mistake 4e530b9
@jimwebber Just a save from PPT/eclipse. 2819504
@jimwebber Merge branch 'master' of
	presentation/A Programmatic Introduction to Neo4j.pptx
@iansrobinson iansrobinson Removed extensions from jars in neo shell scripts 53c0a07
@jimwebber Changed a mispelling of Tardis ce93c24
@jimwebber Fixed a typo in episodes thanks to Michael Nygard. ad9dfe8
@jimwebber Merge branch 'master' of f113b86
@jimwebber Made sure the koans all compile even with the missing snippets 5be2a6d
@jimwebber Removing an explicit delete from the index 7807bf1
@jimwebber Fixed a typo spotted by Michael Nygard 6d0a8ad
@jimwebber Added a simple release script d55b448
@jimwebber Updated the 3rd koan so that the index delete stuff is better documented 2043f77
@jimwebber Added an explanation of conventions used in the DW graph to the slide…
… deck
@jimwebber Added a slide on the DoctorWhoUniverse helpers to the deck in Koan 3 …
…just before we start using indexes
@jimwebber Added a release script, which shoudl probably be in Ant. Oh well. 3499871
@jimwebber Added conference dates to the readme f3643bb
@jimwebber Added conference dates to the readme f58cf3b
@jimwebber Added a check for null before shutting down the DB 7770dd2
@jimwebber Split the performance slides out into 3 slides so that the numbers ca…
…n be incrementally presented.
@iansrobinson iansrobinson Corrected rmrel shell command spelling 7ac0589
@iansrobinson iansrobinson Started Koan 9 - REST API 78e050e
@jimwebber Making the tests pass! e17f608
@jimwebber Merge branch 'refs/heads/master' of…
@iansrobinson iansrobinson Stopping and starting server fda567e
@iansrobinson iansrobinson Merge branch 'master' into rest-koan e760c64
@iansrobinson iansrobinson Starting to refactor into Embedded and Server Doctor Who universes b4099dc
@iansrobinson iansrobinson Refactored to use EmbeddedDoctorWhoUniverse 4d115c3
@iansrobinson iansrobinson Refactored to use EmbeddedDoctorWhoUniverse 2725838
@iansrobinson iansrobinson Added ServerDoctorWhoUniverse 7d5d28a
@iansrobinson iansrobinson First REST test - count the enemies of the Doctor 9544149
@iansrobinson iansrobinson Removed jersey-server dependency from ivy 5a01860
@jimwebber Condensed the opening Doctor Who slides and animated the construction…
… of the first graph in the slide deck.
@iansrobinson iansrobinson Added REST traversal example 6de45dc
@iansrobinson iansrobinson Merge branch 'master' of 74a8337
@jimwebber Added slides and presenter notes to address the feedback from http://… 4a1fa4e
@iansrobinson iansrobinson Changes to new Evaluator API code, to make it easier to read 4a38f1c
@iansrobinson iansrobinson Added more illustrations of data for some of the koans 1863eb9
@iansrobinson iansrobinson Moved to using 1.4.M04 149ec7d
@iansrobinson iansrobinson Started testing REST batch update in Koan 9 8d3ad22
@iansrobinson iansrobinson Added assertions to REST API batch test in Koan 9 6f1610b
@iansrobinson iansrobinson Added better asserts to tests in Koan 9 9ac74e4
@iansrobinson iansrobinson Added some more example slides to support Koans 23349a8
@iansrobinson iansrobinson Updated Neoclipse to 1.4.M02 af08acc
@iansrobinson iansrobinson Added history of the dalek props 25ee8c8
@iansrobinson iansrobinson Updated listof tutorials 09a86db
@iansrobinson iansrobinson Improved dalek prop history domain model 8d0b760
@jimwebber Removed multiple client instantiations after learning they're really
expensive in Jersey.
@jimwebber Formatting 8226f19
@jimwebber Sorting out imports. 3c3e963
@jimwebber Formatting. f9a1a56
@iansrobinson iansrobinson Added dalek prop exercise to Koan 5 and updated presentation a466813
@iansrobinson iansrobinson Added dalek prop exercise to Koan 5 and updated presentation 2b8d989
@iansrobinson iansrobinson Merged format changes 01ae8ab
@iansrobinson iansrobinson Corrected test names 95e9ce4
@iansrobinson iansrobinson Fixed non-isolatedtest issue in Koan 3 d970dbe
@jimwebber s/The Silents/The Silence/g 10cc32b
@jimwebber Changed the Day of the Moon episode number. 5c58fcc
@jimwebber Brought us up to date with season 6.
Added the concept of an allied species (to support Judoon and Silurian
armies in "A Good Man Goes to War"
iansrobinson and others added some commits Aug 10, 2011
@iansrobinson iansrobinson Pulled out ninth Doctor and Rose Tyler real nodes to make it easier t…
…o understand test.
@iansrobinson iansrobinson Pulled out more index lookups in the pattern matching example, so tha…
…t we can focus on paterns, and not guessing index keys
@iansrobinson iansrobinson Updated presentation with a few new pictures ed08ca4
@iansrobinson iansrobinson Added order by clause, but required to use prop.prop? when identifyin…
…g Supreme Dalek in Koan 8
@jimwebber Updated the places where we know the tutorial will be presented. d7614bf
@jimwebber Merge branch 'master' of 8a2210f
@iansrobinson iansrobinson renamed some of the Dalek prop node properties a225115
@iansrobinson iansrobinson Merge branch 'master' of 6e52422
@iansrobinson iansrobinson Added comment on Uniqueness constraint in new Traversal framework 17c2a73
@jimwebber Renamed DoctorWhoUniverse to DoctorWhoUniverseGenerator since it is no
longer the base class for the embedded and server universes - it just
mints clean copies of the universe.
@jimwebber Removed legacy override annotations bc36115
@jimwebber Removed some duplicated slides on property graphs. Went with the new …
…shiny Doctor Who graph slides from Ian
@jimwebber Replaced the opening video with a smaller and shorter version 8207040
@jimwebber s/name/prop/g in the dalek prop supply chain data 87df616
@jimwebber Added a medium-hard Cypher koan, to bridge between the really tricky
supply chain stuff and the easy episode koan.
@iansrobinson iansrobinson Consistent casing of index names (species and Species will result in …
…a LockObtainedFailException)
@thobe thobe Added names to traversal descriptions that state intention. ffe4f47
@jimwebber Updating readme with new contributors 5338fa8
@jimwebber Making readme look nice 26d6435
@jimwebber removing out of date tutorials 217d059
@thobe thobe Added Keynote version of the presentation material. 6521435
@thobe thobe Starting to upgrade the Koans to the most recent Neo4j version 23299a8
@peterneubauer peterneubauer adding image 49f5957
@peterneubauer peterneubauer Edited README.markdown via GitHub 36e6a67
@thobe thobe Revert "Starting to upgrade the Koans to the most recent Neo4j version"
Cypher contains a pretty nasty bug in that version.

This reverts commit 23299a8.
@jimwebber fixed up opening video and made sure to use the small version b208a54
@jimwebber Merge branch 'master' of 4e6d428
@jimwebber Changed the returnable evaluator to reflect the simplification of
prop names back to "prop" rather than "name" which conflicted with
@jimwebber Moved Relationship names out into a new DoctorWhoUniverse class rather
than being entwined with DoctorWhoUniverseGenerator
@jimwebber Applied Neo4j standard formatting. 3f5c403
@jimwebber Changed DoctorWhoUniverse to DoctorWhoRelationships and changed it to
be an enum.
@jimwebber Formatted Cypher to use lower case clauses. fc6b0cf
@jimwebber Fixed index lookup code to always use lower case version in lieu of an
annoying Lucene bug.
@jimwebber Replaced a check for node existence with a stronger check that
determines whether a deleted node (Kirk) has a property.
@jimwebber The characters index is now keyed in property "character" rather than
"name" to be consistent with the other indexes.
@jimwebber added videos into keynote presentation 16c5b3f
@jimwebber Changed the casing of indexes to be consistently lower case as per co…
…de; changed the indexed key name to be character instead.
@jimwebber Removed annoying emphasis from pptx deck title fc12989
@jimwebber Added the doctor's regeneration years in preparation for more
advanced and numerous cypher koans
@peterneubauer peterneubauer fixed bug where universe was not shut down propertly. 9230b9b
@peterneubauer peterneubauer finally getting classifier to work 59d2ab9
@peterneubauer peterneubauer upgrading everything to work with 1.5-SNAPSHOT, phew! aa27759
@jimwebber tweaked the build files, and created a new task that deletes the ivy …
…and lib dirs
@jimwebber Updated the paths matcher in Koan9 so that it has a better error resp…
…onse description.
@jimwebber prettified the code a2b5a4c
@jimwebber added iml file to git ignore 038d928
@jimwebber Fixed a typo in the slide deck 1b6183c
@jimwebber Renamed a test method to be explicit about which lucene query string …
…characters should be capitalised.
Aleksa Vukotic Revert to Neo4j 1.4.2, so that Neoclipse visualisation works. WARNING…
… this breaks Koan08 and Koan11
@jimwebber Revert "Revert to Neo4j 1.4.2, so that Neoclipse visualisation works.…
… WARNING this breaks Koan08 and Koan11"

This reverts commit eaeb9bb.
@jimwebber tidied up the cypher koan 75d998b
@jimwebber updated the cypher syntax for indexes in the powerpoint deck b993d28
@jimwebber Added Aleksa to the contributor list and pruned outdated conferences. 5f55ef7
@jimwebber bringing the presentation up to date to reflect code changes; re-casi…
…ng a variable that is not a constant
@jimwebber proper-casing another variable name, after Intellij was alledgedly he…
@jimwebber right casing the last cypher query 06f5f9d
@jimwebber right casing more cypher 98973ff
@jimwebber Renamed part.type to part.part because type is ambiguous and likely t…
…o clash with other things that use the vague term type
@jimwebber minor tweaks to presentation and updates to Ant script to download th…
…e latest version of Neoclipse
@jimwebber ignored intellij files from git 699b905
@jimwebber re-added the dependency for shell f3fdd57
@jimwebber updated deck to reflect QCon SF timings 9ed124c
@jimwebber intellij tidied up the code cb57abd
@jimwebber updated to neo4j 1.5 GA d6ff1ac
Aleksa Vukotic Add neo4j-releases and oracle repos to ivy settings so that all depen…
…decies can be resolved
@jimwebber updated readme 84ecac2
@jimwebber sorted out ivy dependencies 2028887
@jimwebber aligned the jersey dependencies to match neo4j requirements a944f65
@jimwebber Fixed dependencies to allow Koan 11 to work 9068dc5
@jimwebber updated build to pull correct neoclipse 46696d7
@jimwebber changed default packaging from tar.gz to zip 7c269e4
@jimwebber updated the koan link in the deck e896e7d
@jimwebber made koan 2 character naming consistent b123db9
@jimwebber added amy and rory as human companions 183be7b
@jimwebber updated the deck where the relations come from the DoctorWhoRelations…
… class
@jimwebber Updated to cypher bits of the deck 062a55c
@jimwebber updated readme since QCon SF has passed ff77048
@jimwebber minor tweaks to readme 9e601d8
@jimwebber minor tweaks to readme cd1077d
@jimwebber minor tweaks to readme e734d55
@jimwebber minor tweaks to readme a388747
@jimwebber Breaking out the cypher Koans 32bb7d5
@jimwebber Fixed compile error 650fc48
@jimwebber removed spring stuff from build and settings files, ensured only one …
…version of slf4j brought into the lib director to fix koan 11
@iansrobinson iansrobinson Added more details around hardest working prop part query 3d51605
@jimwebber removed keynote version of deck since it was out of date and confusin…
…g students
@jimwebber updated readme 25d1d61
@jimwebber added new dalek pics to readme 8b496bc
@jimwebber minor refactoring of Koan2 to use the DoctorWhoRelationships enum ins…
…tead of string names for relationships
@jimwebber renamed a test in koak5 to ensure it's about the number of actors (mi…
…nus Hurdnall) that have played the doctor, rather than regenerated to links
@jimwebber changed the ordering of difficult cypher koans e4e2de1
@jimwebber restoring the slide deck 1d16742
@jimwebber Updating the readme after feedback from @ThornyDev 85a96b7
@jimwebber Completing a more through readme in respond to feeback from @midpeter444 f057f85
@jimwebber Fixed compile error fa365ab
@jimwebber updated a test name to be less ambiguous fb2d617
@jimwebber Added K9 to episodes where he souhld have appeared 4e0ab4f
@quux00 quux00 build.xml has specific koan targets; remove_snippets no err msg on Linux
Made compatible with sed options on Linux/cygwin

Cleaning up, and I see this is already in the source.

@jimwebber jimwebber closed this Jul 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment