Skip to content

Commit 3e4ff23

Browse files
committed
removed outdated alcshare links
minor README updates minor patch to allow the nolicense option to persist across versions
1 parent 2ba9ca2 commit 3e4ff23

File tree

2 files changed

+12
-28
lines changed

2 files changed

+12
-28
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ WebCTRL is a trademark of Automated Logic Corporation. Any other trademarks men
3131

3232
3. Install [*Visual Studio Code*](https://code.visualstudio.com/) and the following extensions:
3333

34-
- [Visual Studio IntelliCode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)
35-
3634
- [Project Manager for Java](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency)
3735

3836
- [Lanauge Support for Java(TM) by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.java)
@@ -61,8 +59,6 @@ WebCTRL is a trademark of Automated Logic Corporation. Any other trademarks men
6159

6260
- You can initialize preexisting project folders. For example, you could clone a remote repository to your local machine, and then initialize it with the script to generate missing files.
6361

64-
6. Review API documentation at [*ALCshare*](http://alcshare.com/content/add-ons).
65-
6662
## Command Reference
6763

6864
The following commands may be used to automate add-on compilation and packaging.
@@ -86,7 +82,7 @@ The following commands may be used to automate add-on compilation and packaging.
8682

8783
Custom project-specific commands can be created to extend the functionality of this script. Any batch file placed in *./ext* is treated as an extension. The name of each batch file is used as the command name (case-insensitive). It is expected that each extension prints help information to the terminal when passed the `--help` parameter. Help information is appended to the help menu shown in the terminal.
8884

89-
The default commands shown in the previous section can be overridden by extensions. For instance, <https://github.com/automatic-controls/commissioning-scripts/blob/main/ext/pack.bat> overrides the default `pack` command. This example also shows how to invoke the overridden packing command (akin to the `super` keyword in Java). For an improved `deploy` command, see <https://github.com/automatic-controls/addon-dev-refresh>.
85+
The default commands shown in the previous section can be overridden by extensions. For instance, <https://github.com/automatic-controls/commissioning-scripts/blob/main/ext/pack.bat> overrides the default `pack` command. This example also shows how to invoke the overridden packing command. For an improved `deploy` command, see <https://github.com/automatic-controls/addon-dev-refresh>.
9086

9187
An optional script, `./startup.bat`, is invoked whenever a project folder is loaded. This may be used for any additional setup required for project files after cloning a remote repository to your local device.
9288

@@ -127,15 +123,15 @@ An optional script, `./startup.bat`, is invoked whenever a project folder is loa
127123

128124
Runtime dependencies are located in *./lib* relative to your local clone of this repository. These dependencies do not need to be packaged into your *.addon* file because they are provided by *WebCTRL* at runtime. Other external dependencies should be placed in *./root/webapp/WEB-INF/lib* relative to your project folder. The following runtime dependencies are collected from your *WebCTRL* installation:
129125

130-
| Dependency | Location Relative to *WebCTRL9.0* |
126+
| Dependency | Location Relative to *WebCTRL10.0* |
131127
| - | - |
132-
| [*tomcat-embed-core*](https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api) | *./webserver/lib* |
133-
| [*addonsupport-api-addon*](http://repo.alcshare.com/com/controlj/green/addonsupport-api-addon/) | *./modules/addonsupport* |
134-
| [*alarmmanager-api-addon*](http://repo.alcshare.com/com/controlj/green/alarmmanager-api-addon/) | *./modules/alarmmanager* |
135-
| [*bacnet-api-core*](http://repo.alcshare.com/com/controlj/green/bacnet-api-addon/) | *./bin/lib* |
136-
| [*directaccess-api-addon*](http://repo.alcshare.com/com/controlj/green/directaccess-api-addon/) | *./modules/directaccess* |
137-
| [*webaccess-api-addon*](http://repo.alcshare.com/com/controlj/green/webaccess-api-addon/) | *./modules/webaccess* |
138-
| [*xdatabase-api-addon*](http://repo.alcshare.com/com/controlj/green/xdatabase-api-addon/) | *./modules/xdatabase* |
128+
| *tomcat-embed-core* | *./webserver/lib* |
129+
| *addonsupport-api-addon* | *./modules/addonsupport* |
130+
| *alarmmanager-api-addon* | *./modules/alarmmanager* |
131+
| *bacnet-api-core* | *./bin/lib* |
132+
| *directaccess-api-addon* | *./modules/directaccess* |
133+
| *webaccess-api-addon* | *./modules/webaccess* |
134+
| *xdatabase-api-addon* | *./modules/xdatabase* |
139135
| *datatable-api-addon* | *./modules/datatable* |
140136
| *logicbuilder-api-addon* | *./modules/logicbuilder* |
141137
| *semantics-api-addon* | *./modules/semantics* |

Utility.bat

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if "%1" EQU "--goto" (
4646
setlocal EnableDelayedExpansion
4747

4848
:: Version control
49-
set "version=1.1.7"
49+
set "version=1.1.8"
5050
if "%1" EQU "--version" (
5151
echo %version%
5252
exit /b
@@ -135,7 +135,7 @@ if "%WebCTRL%" EQU "" (
135135
:webctrlFinder
136136
if "%WebCTRL%" EQU "" (
137137
echo Could not locate WebCTRL installation.
138-
echo Please enter the installation path ^(e.g, %SystemDrive%\WebCTRL9.0^).
138+
echo Please enter the installation path ^(e.g, %SystemDrive%\WebCTRL10.0^).
139139
set /p "WebCTRL=>"
140140
echo.
141141
call :saveConfig
@@ -685,20 +685,8 @@ exit /b
685685
:: Create local launcher within workspace
686686
setlocal
687687
set "batch=%workspace%\Utility.bat"
688-
set "create=1"
689-
if exist "%batch%" (
690-
for /f "tokens=* delims=" %%i in ('call "%batch%" --version') do (
691-
if "%%i" EQU "%version%" (
692-
set "create=0"
693-
)
694-
)
695-
)
696-
if "%create%" EQU "1" (
688+
if not exist "%batch%" (
697689
echo @echo off
698-
echo if "%%1" EQU "--version" ^(
699-
echo echo %version%
700-
echo exit /b
701-
echo ^)
702690
echo %0 %%~dp0
703691
) > "%batch%"
704692
endlocal

0 commit comments

Comments
 (0)