For automation and build processes, the project uses Apache Ant as its automation tool. The build script
build.xml is located in ./development and is designed to be executed from
the project root directory.
ant -f ./development/build.xml
The script can also be executed from the ./development directory by
referencing the script directly:
ant -f build.xml
The project contains a completely preconfigured web server, which can be started and also terminated most simply by command line from the project directory with the included Ant script.
ant -f ./development/build.xml start
ant -f ./development/build.xml stop
The following important addresses are configured:
| Adresse | Usage |
|---|---|
| http://127.0.0.1:8000/playground | Playground |
| http://127.0.0.1:8000/ | Test environment |
| http://127.0.0.1:8000/benchmarks | Test environment for benchmarks |
| http://127.0.0.1:8000/tutorials | Tutorials |
Logging is configured to use the command line for output.
The web server is configured via ./server/devwex.ini. Changes take effect
immediately and the web server restarts automatically.
Creation of the rule via command line:
set rule_name=Seanox Development TCP 8000
netsh advfirewall firewall delete rule name="%rule_name%"
netsh advfirewall firewall add rule^
name="%rule_name%"^
dir=in protocol=tcp localport=8000 localip=any^
remoteip=localsubnet profile=any action=allow
For more details see here:
netsh advfirewall firewall delete rule -?
Playground is used for quick testing and bug analysis with the current sources, even without creating a build, because the components are used individually as a link.
http://127.0.0.1:8000/playground
To use it, the server must be started.
Before a release, all tests in all relevant browser engines must run successfully.
The test environment can be prepared in two variants:
ant -f ./development/build.xml compile
ant -f ./development/build.xml compile-max
Both tasks can be combined with the task start.
| Engine | Download | | —— |——————————————————————| | Blink | https://portableapps.com/apps/internet/google_chrome_portable | | Gecko | https://portableapps.com/apps/internet/firefox_portable | | Goanna | https://www.palemoon.org/download.shtml | | WebKit | not available, native integration required e.g. Safari iOS/MacOS |
Overview of engines
https://en.wikipedia.org/wiki/Comparison_of_browser_engines
For testing, the latest stable releases of the relevant browser engines available at the time of the release must be used.
ant -f ./development/build.xml compile startImportant
Check the validity/expiration date of the NPM_AUTOMATION_TOKEN
CHANGES and README.mdant -f ./development/build.xml release
ant -f ./development/build.xml publish
Note
Manual execution is not required.
package.jsonnpm loginnpm publish --access publicnpm deprecate seanox/aspect-js@"< 1.4.0" "WARNING: This version has been updated to 1.4.0."Nothing needs to be changed here, the content is synchronized with npmjs.com.