Skip to content

Instantly share code, notes, and snippets.

@rodnolan
Last active December 14, 2015 03:29
Show Gist options
  • Save rodnolan/5021218 to your computer and use it in GitHub Desktop.
Save rodnolan/5021218 to your computer and use it in GitHub Desktop.
antHelpers.reg adds three options to my context menu in Windows Explorer which I use to speed the task of packaging and deploying BlackBerry WebWorks applications. This works in conjunction with the Ant Build Script (https://github.com/rodnolan/Ant-Build-Script and/or https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/Ant-…
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\BB build]
[HKEY_CLASSES_ROOT\*\shell\BB build\command]
@="cmd.exe /K \"ant\""
[HKEY_CLASSES_ROOT\*\shell\BB editProps]
[HKEY_CLASSES_ROOT\*\shell\BB editProps\command]
@="C:\\Windows\\System32\\cmd.exe /c editProps.bat"
[HKEY_CLASSES_ROOT\*\shell\BB getBuild]
[HKEY_CLASSES_ROOT\*\shell\BB getBuild\command]
@="C:\\Windows\\System32\\cmd.exe /c getBuild.bat"
REM The %ABS% environment variable points to the Ant-Build-Script folder.
cd %ABS%\
REM Since I have a file association for .properties files, this line just opens the file in my default editor.
buildTasks.properties
REM My environment is complicated... I have three different versions of the ANT Build Script installed
REM I need to be able to switch between them easily
REM but I always want to treat THIS version of build.xml as my master copy
copy "%ABS_GIT%\build_rod.xml" .\build.xml /-Y
REM you can update the line above to this
REM copy "%ABS%\build.xml" .\build.xml /-Y
REM Since I have a file association for .xml files, this line just opens the file in my default editor.
build.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment