The past time I’ve been working on setting up a modern infrastructure for CPN Tools. It’s not done yet – I’ll post on this site when it is ready – but here are some teasers.
First of all, modern distributed version control with Gitlab:
Continuous integration and cross-compiling on 3 platforms where applicable using Jenkins:
Automatic deployment from build-server to a binary repository using Nexus:
Code quality tracking for each commit using SonarQube:
Maven is package management for Java applications and automatically takes care of finding and downloading libraries and all required dependencies. This makes it much easier to make applications benefiting from PNML export feature of CPN Tools comprises just 31 lines of XML describing the project, 85 lines of Java (boiler-plate included!) invoking the transformation, and a 885 line XSLT style-sheet implementing the actual translation.(as above) or simulator extensions. For example, the entirety of the
Once checked out, simply invoking “mvn compile” in the project directory will automatically fetch the simulator extension libraries, the required Access/CPN libraries, compile the extension against the latest or a specific version, and nicely pack up everything ready be dropped in the plug-ins folder and run.
Cool as this all is, it is not ready yet, but I’ll see about writing up something when it is, including a quick guide helping you get started.
Time person of the year 2006, Nobel Peace Prize winner 2012.