| 689 | === 4/2/10 - Attempts to make a NOX app === |
| 690 | |
| 691 | Nox does come with a very incomplete [http://noxrepo.org/manual/app.html handbook]. Because it is incomplete, the Nox folks recommend getting "very comfortable with the source." Here are some attempts to create an app for a hot standby demo. |
| 692 | |
| 693 | The following were carried out in the user's home directory with a copy of the pre-installed Nox on SB9. To copy the Nox directory, one should create a tar archive, copy that to their directory, and extract with modified ownership (details in the man pages for tar) since it was owned by root. |
| 694 | |
| 695 | 1. made directory for new app in ~/nox-3-20-10/src/nox/coreapps/ called demosw |
| 696 | 1. copied meta.xml from switch app: cd demosw; cp ../switch/meta.xml ./ |
| 697 | 1. edit meta.xml to match name of app: |
| 698 | |
| 699 | {{{ |
| 700 | <?xml version="1.0" encoding="UTF-8"?> |
| 701 | <components:components xmlns:components="http://www.noxrepo.org/components.xsd"> |
| 702 | <component> |
| 703 | <name>demosw</name> <<--here |
| 704 | <library>demosw</library> <<--here too |
| 705 | </component> |
| 706 | </components:components> |
| 707 | }}} |
| 708 | |
| 709 | |
| 710 | |
| 711 | |