TweetyProject
A comprehensive collection of Java libraries for logical aspects of artificial intelligence and knowledge representation
Home Libraries Downloads Documentation Newsletter Web Interfaces Contact


Brought to you by




Supported by

back

Getting started with developing

  1. Get developer access to the repository: Let us know that you are interested in parcicipating in the development of TweetyProject by writing an e-mail to matthias@mthimm.de
  2. Retrieve current version from SVN:
    $ svn checkout https://svn.code.sf.net/p/tweety/code/ tweety-code
    You can also use a SVN client like TortoiseSVN (Windows) or SmartSVN (Linux, macOS, Windows).
  3. Follow steps 2-5 from https://tweetyproject.org/doc/install-snapshot.html to install the latest snapshot version in Eclipse.
  4. Make your changes, test and commit them.

General tips for development with Eclipse and Maven

  • License comment

    The Tweety license comment should be the header comment of all class files. To have Eclipse add it automatically to newly created files, go to Window -> Preferences -> Java -> Code Style -> Code Templates. In the "Comments" tab, edit the "Files" pattern to contain the following:

    /*
    * This file is part of "TweetyProject", a collection of Java libraries for
    * logical aspects of artificial intelligence and knowledge representation.
    *
    * TweetyProject is free software: you can redistribute it and/or modify
    * it under the terms of the GNU Lesser General Public License version 3 as
    * published by the Free Software Foundation.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU Lesser General Public License for more details.
    *
    * You should have received a copy of the GNU Lesser General Public License
    * along with this program. If not, see <http://www.gnu.org/licenses/>.
    *
    * Copyright CURRENT_YEAR The TweetyProject Team <http://tweetyproject.org/contact/>
    */

    CURRENT_YEAR should be replaced by the current year. Afterwards, check the "Automatically add comments for new methods, types, modules, packages and files" checkmark.

  • Troubleshooting

    If errors occur, try right-clicking on a library in your package explorer and choosing: "Maven -> Update Project...".




back



Last updated 11.11.2020, Anna Gessler | Terms