Download .zip files containing complete, ready to run, projects
Here are the projects available for download (click on one and the download will begin):
- DKU project used to develop the DKU pattern
- PRDSL example project for Domain Specific Languages
- Reo with optimzation 1 for many-to-one pattern
clicking on a project will initiate download of a .zip file. Inside you will find a hierarchy of directories, of two types: source code, and "other". Source code directories each have their own netbeans project folder and mercurial repository. The netbeans project contains the makefiles, command line, and so on. The application project builds an executable that is places inside the dist/bin directory. Any data it may require as input is inside the dist/data directory. A script, called RUNME.sh is provided, which executes the application. Inside, the script shows the application's command line arguments and has comments related to the application and data. To run it, simply cd into that top level directory, make sure the script and executable have execute permissions, and type "./RUNME"
The development environment is Linux Ubuntu, using Netbeans as the IDE.
If you wish to modify any of the source and rebuild, this can be done by getting netbeans (download netbeans 7.0.1 we all use the same version, so that we can share projects, when this was written that was vers. 7.0.1, get the "C/C++" or "All" option). Use it to open the appropriate netbeans project, which is included. Once you run netbeans, a "projects" pane appears on the left, right click there and choose "open project", and then navigate to the project folder. To find it, each netbeans project folder starts with "nb__", and is included in the same directory as the root of the source code it builds.
Netbeans sometimes hard-codes paths into its projects. To work around this, create a series of links that recreate the path to the directory where the code was originally developed:
Projects that generate a library usually have at least two netbeans folders, one is for building the library source as part of a monolithic application that exercises the library code. This is convenient for developing and debugging the library code. The second folder is for building the actual library file. Once built, the library will be in the "PR__lib" directory, where it will replace the previous version.
Another approach would be to install VMware Player, then install Linux into a virtual machine, then build the source code inside the Linux virtual machine.
Linux (Ubuntu 12.04 LTS): http://www.ubuntu.com/download/desktop
When you download Ubuntu, you will get a file that ends in ".iso" Then, when you create a virtual machine inside VMware, it will ask you for a "CD image" or just "image" of the operating system.. browse to the ".iso" image of Ubuntu and select that.
Once you have this working, there is an option for "sharing" your windows files with the Linux running inside VMware.. this way, you can use windows for everything, and save all your work in the windows file system, and then those files can also be used inside Linux, which is running in VMware.