DoCitten is licensed under a BSD 3-Clause License
Copyright (c) 2011-12, Harcourt Programming All rights reserved.
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 the Harcourt Programming 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 HOLDER 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.
First, make sure that the submodules are initialised. This can be done be cloning with --recursive, or initialising/updating the sub-repo with:
git submodule update --init --recursive
The project can be make from the command line using make
make compile
- Creates the class files in build/
make package
- Creates/copies JAR archives to dist/
make test-build
- Creates class files for the testsmake test
- Runs test classes that have been compiledmake clean
- Removes all class and JAR filesIt can also be imported into an IDE of your choice.
Two projects will likely need to be created - one at the root of the working
tree (DoCitten), and one in lib/irc
(InternetRelayCats), and yet
another in lib/irc/lib/mewler
.
In all cases, Netbeans Java Project with existing sources project wizard
will correctly create the projects with
src/
listed as a source foldertest/
listed as a test sources folderNote that you will to tell the IDE that DoCitten needs InternetRelayCats as a library, and the DoCitten's test packages rely both of InternetRelayCats main code and test packages. You will also need to tell the IDE that DoCitten and InternetRelayCats both need Mewler in turn.
DoCitten currently takes input only in the form of command line arguments, and whatever processing the Services perform. The first argument is the server to connect to; any further arguments are taken as channels to join.
Joining using different logins, ports, with SSL, etc. are in the works.
Some modules require command line properties to be set. Consult the documentation on any of the modules that you are using for more information.
The program can be stopped by entering the line 'quit' via standard input.
Bug reports / suggestions for improvement are accept via:
in descending order of preference.