princeton-java-installers

所属分类:数值算法/人工智能
开发工具:PowerShell
文件大小:0KB
下载次数:0
上传日期:2013-04-03 01:53:12
上 传 者sh-1993
说明:  一组用于Windows和OSX的安装程序,用于设置普林斯顿入门com中使用的编程环境...
(A set of installers for Windows and OS X that set up the programming environment used in Princeton s introductory computer science classes (COS 126 and COS 226).)

文件列表:
algs4_mac/ (0, 2013-04-02)
algs4_mac/algs4.app/ (0, 2013-04-02)
algs4_mac/algs4.app/Contents/ (0, 2013-04-02)
algs4_mac/algs4.app/Contents/Info.plist (1059, 2013-04-02)
algs4_mac/algs4.app/Contents/MacOS/ (0, 2013-04-02)
algs4_mac/algs4.app/Contents/MacOS/applet (55856, 2013-04-02)
algs4_mac/algs4.app/Contents/PkgInfo (8, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/ (0, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/Scripts/ (0, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/Scripts/main.scpt (6354, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/algs4.sh (9715, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/applet.icns (64000, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/applet.rsrc (362, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/counter.py (676, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/description.rtfd/ (0, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/description.rtfd/TXT.rtf (101, 2013-04-02)
algs4_mac/algs4.app/Contents/Resources/launcher.sh (747, 2013-04-02)
algs4_mac/algs4.zip (39510, 2013-04-02)
algs4_mac/algs4_mac_log.htm (6010, 2013-04-02)
algs4_mac/checkstyle-algs4 (1210, 2013-04-02)
algs4_mac/findbugs-algs4 (1735, 2013-04-02)
algs4_mac/java-algs4 (396, 2013-04-02)
algs4_mac/javac-algs4 (399, 2013-04-02)
algs4_windows/ (0, 2013-04-02)
algs4_windows/algs4.exe (358912, 2013-04-02)
algs4_windows/algs4_windows_log.htm (15210, 2013-04-02)
algs4_windows/checkstyle-algs4.bat (680, 2013-04-02)
algs4_windows/checkstyle-algs4.ps1 (1307, 2013-04-02)
algs4_windows/findbugs-algs4.bat (749, 2013-04-02)
algs4_windows/findbugs-algs4.ps1 (1425, 2013-04-02)
algs4_windows/java-algs4.bat (310, 2013-04-02)
algs4_windows/javac-algs4.bat (313, 2013-04-02)
algs4_windows/src/ (0, 2013-04-02)
algs4_windows/src/algs4.ps1 (15157, 2013-04-02)
algs4_windows/src/cover.jpg (29469, 2013-04-02)
algs4_windows/src/favicon.ico (67646, 2013-04-02)
algs4_windows/src/launcher.bat (1437, 2013-04-02)
algs4_windows/src/unzip.exe (167936, 2013-04-02)
introcs_mac/ (0, 2013-04-02)
... ...

princeton-java-installers ========================= A set of installers for Windows and OS X that set up the programming environment used in Princeton's introductory computer science classes (COS 126 and COS 226). Anatomy of the installation scripts: * Windows: * introcs.exe is made from four files: a core PowerShell script, a launcher batch file, an icon, and an unzip utility * The core script, introcs.ps1 (423 lines), is written in PowerShell, a .NET scripting language which is very simple to use: http://ss64.com/ps/. A free IDE is included with Windows (Windows PowerShell ISE). * The launcher script launcher.bat (10-15 lines) serves to execute the PowerShell script, and provides a helpful error message if it can't find PowerShell. A small utility called [Quick Batch File Compiler](http://www.abyssmedia.com/quickbfc/) is used to turn launcher.bat into an executable (introcs.exe) that bundles the PowerShell script, the introcs icon, and an unzip utility unzip.exe. * To compile introcs.exe, open QuickBFC, load the batch script, add the icon and unzip.exe in the embedded files, and hit build. The embedded file is accessed in the PowerShell script with the environment variable %MYFILES%, which QuickBFC creates. * OS X: * introcs.app is made from three files: an applescript app, a core bash script, and a launcher bash script * The core script introcs.sh (346 lines) is written in bash and has the exact same functionality as the PowerShell script. * The launcher script launcher.sh (25 lines) executes and logs the core script and sets some permissions * The .app directory is created through Applescript. You can open it directly using applescript, and see the applescript code that invokes the bash scripts in a terminal window. The icon and bash scripts are included, and you can save as an application diretly from applescript. * To compile introcs.app, no work is needed. You can change the bash scripts directly, and the applescript code in applescript. * Both * There are functions with identical names at the start of the two core scripts, so beyond the function definitions the PowerShell and bash scripts should be almost identical. * The algs4 versions have only a few differences: the icons, the filenames, the fact that java3d installation is commented out, and that only the algs4 version includes algs4.jar.

近期下载者

相关文件


收藏者