Tag: development

  • A Warning for Developers and Some Updates (01 Feb 2013 | Tags: development, advice, news)

    Due to recent emails I have received, I realise the web was not informing developers correctly about versions of the software to be used in the case of JDK and ant. The current recommended versions for INGENIAS are the following: JDK: At least 1.7.0_09 ant: At least 1.8.2 maven: At least 3.0.4 (3.0 may work as well) This information has been included in the tutorial. Also, I notice there is little documentation in the site about INGENIAS, except for the tutorial. To fill in this gap, I have added a new section with references to additional works. To conclude, there...

  • Headless testing with FEST (13 Dec 2012 | Tags: development, testing)

    For testing internally the GUI parts of INGENIAS, we use FEST. FEST does not support by itself headless testing,i.e., you need some X server to run your test onto. The following will work only in linux. To solve this, you need a virtual frame buffer. You need to have installed the following software: Xvfb. It is the virtual frame buffer implementation. It works as if there was a graphic card, but it does show nothing in the screen. X11vnc. It is the session emulation via VNC to enable remote access vncviewer. It is the viewer for you to optionally check...

  • JUnit or TestNG, that is the question (10 Dec 2012 | Tags: development)

    Up until now, I have commited with JUnit as standard testing framework for testing the agents. The main reason being that it was my first testing framework and, by that time, TestNG was less known. After some extensive experiments with TestNG I am really convinced this is a better option than Junit for my problems: It has a better integration with FEST gui testing framework I really find useful the repeating-test feature, that permits through a simple annotation, to indicate how many times a concrete test is going to be executed. This is significant whenever I suspect there is some...

  • Reference manual for the INGENIAS Agent Framework (08 Dec 2012 | Tags: development)

    The problem with starting a new web in your free time is that you forget the material you had. There is a reference manual to use when developing with the INGENIAS Agent Framework. You can find it in sourceforge. This manual tells which diagrams you need to build in order to get working. The manual needs to be updated, and I will dedicate time soon for this. Anyway, it is helpful enough to deserve a quick look. I am currently updating the structure of the project so that it is more stable and requires less time from release to release....

  • Always use the latest jdk version (08 Dec 2012 | Tags: development, linux)

    Sun/Oracle’s JDK 1.6 was excluded from Ubuntu repositories (the reason are security holes which would not be fixed by Oracle + license issues). Since 1.7, Ubuntu sticks to OpenJDK, which is fine, but causes troubles with my coding (yes, it should not, but it does). So, I have had to move towards Sun JDK 1.7 and try to work as I used. The drawback is that now, instead of having a nice apt-get, I had to install things manually, which I was not used to at all. When I started in linux, I used to compile everything from scratch (even...

  • A useful bash_completion extension for ant (04 Dec 2012 | Tags: development)

    Bash_completion is an utility for bash command interpreter. This interpreter is rather common in linux, but, like the windows counterpards, requires to write too much. Readers may be aware that in latest windows version (in older ones this behavior had to be enabled), when you hit tab, the console tries to find in the same folder which file/folder starts with the same letters as the ones you wrote. In linux, due the console intensive work, we have this tab functionality as well plus bash_completion. Bash_completion is an utility that provides advanced assistance for console addicts. It finds commands that match...

  • A useful bash_completion extension for ant (04 Dec 2012 | Tags: development)

    Bash_completion is an utility for bash command interpreter. This interpreter is rather common in linux, but, like the windows counterpards, requires to write too much. Readers may be aware that in latest windows version (in older ones this behavior had to be enabled), when you hit tab, the console tries to find in the same folder which file/folder starts with the same letters as the ones you wrote. In linux, due the console intensive work, we have this tab functionality as well plus bash_completion. Bash_completion is an utility that provides advanced assistance for console addicts. It finds commands that match...

  • Useful update for Maven practitioners (10 Nov 2012 | Tags: development, training)

    The tutorial has been updated to include relevant information for Maven users. INGENIAS elements can be found under the groupid net.sf.ingenias in Maven Central. The main developer is escalope and the packages ought to be signed. If you know about Maven, you can already use the compoments there. There are archetypes for building INGENIAS projects. The relevant archetypes are: iafarch-empty: it creates an empty project iafarch-gui: it creates a project showing how an agent can interface with a GUI iafarch-helloworld: a basic example of an agent printing hello world iafarch-interaction: a more complex example involving interaction among agents as well...

  • Advices to work from eclipse (07 Nov 2012 | Tags: development, advice)

    To use INGENIAS from eclipse, version Juno and above that has the Maven plugin (m2e plugin), you just need to follow these steps: Go to the menu option file, then New, then Project Choose Maven Project, and then press Next Click Next in the following dialogue In the archetype selection dialog, write iaf in the filter, select the latest non SNAPSHOT version. Click on Next Write your project data, and press Finish Since INGENIAS has been ported to Maven, you should be able to compile the system and generate the code as if you were in command line. You can...

  • Sourceforge release of editors (07 Nov 2012 | Tags: news, development)

    The use of Maven for development is not just for anyone. Though the mechanics are simple, it seems that developing from console is not just for everyone. Many people still prefer having something downloaded and then opening a GUI to start working. This is the reason why I have decided to, from time to time, release the editor as a regular self-contained jar file. The editor is just the modeling part of INGENIAS Development Kit. The editor will be available from sourceforge as a file which you can download. To use this editor, if your OS is prepared, it should...