This repository conatins files needed to make a Matlab toolbox for AutoActive How to update the java jar file There is two java projects that contributes to the toolbox.
- The main project java-file-interface, located in the folder Java.
- A renamed version of Apache Commons Compress (org.apache.commons.compress2) to avoid version conflicts in Matlab installation, located in the folder Compress2
- Open the maven projects in NetBeans using JDK 1.8.
- Build the Compress2 project without running the tests. Select Tools->Options->Java->Maven : Check "Skip tests for any build executors not directly releated to testing" Avoid doing changes to source code. This should be a clean renamed copy.
- Open the project in the java folder ('java-file-interface')
- Update the version information in file 'Version.java' and 'pom.xml' if any update.
- Build the java-file-interface project
- Remove any old jar file in 'MatlabToolbox/jar' directory
- Copy the new jar file 'Java/target/java-file-interface....jar-with-dependencies.jar' to 'MatlabToolbox/jar' directory
- Code to be included is located in the 'MatlabToolbox' folder
- Download Gaitup Matlab ToolKit for Physilog®5 from https://research.gaitup.com/support/ and uncompress and copy the folder Physilog5MatlabToolKit_vx_y_z with all files to MatlabToolbox\external (included in the toolbox from version 2.1, currently not available from GaitUp)
- Update the Matlab toolkit source code with any changes
- Update the version information in 'MatlabToolbox/+autoactive/MatlabVersion.m'
- Start Matlab R2022a and make autoactive-matlab-toolbox active folder
- Right-click on folder MatlabToolbox and select 'Add to Path => Selected Folders and Subfolders'
- Open the 'Package toolbox app' by double click on project file 'AutoActive.prj'
- Update version information
- Check that MATLAB path has eight entries + examples, (remove .../help_p_files if any)
- Check that Java Class Path has one correct jar entry
- Create package in menu 'Package => Package'
- Save project in meny 'Save => Save'
- Rename and copy release package for distribution
- Update ChangeLog file
- Commit changes in autoactive-matlab-toolbox repository
- Tag project with version number in git