RAISE Tools Installation Guide for Windows (x86 + x64)



Similar documents
Installing C++ compiler for CSc212 Data Structures

Eclipse installation, configuration and operation

Installing Eclipse C++ for Windows

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

Free Excel add-in for linear regression and multivariate data analysis

Practice Fusion API Client Installation Guide for Windows

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3

Nobeltec TZ: Microsoft SQL Server problems

SATO Network Interface Card Configuration Instructions

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

USB DRIVER INSTALLATION GUIDE

Installation Instruction STATISTICA Enterprise Small Business

CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

MOODLE Installation on Windows Platform

Moxa Device Manager 2.3 User s Manual

Microsoft Expression Web

Install Guide for Windows Office Professional Plus 2010

[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX ] 1

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Allworx OfficeSafe Operations Guide Release 6.0

Installing Sage Accpac ERP CGA 5.6A

How to deploy fonts using Configuration Manager 2012 R2

PSCAD Installation Errors

CISCO VPN CLIENT INSTALL AND UPDATE INSTRUCTIONS

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

PART 1 CONFIGURATION 1.1 Installing Dashboard Software Dashboardxxx.exe Administration Rights Prerequisite Wizard

Sync Tool for Clarion NX700/NX509/NP509 Series

Creating tables of contents and figures in Word 2013

Outlook to Windows Live Mail

STATISTICA VERSION 11 CONCURRENT NETWORK LICENSE WITH BORROWING INSTALLATION INSTRUCTIONS

BLACKBOARD CONTENT COLLECTION FACULTY TRAINING GUIDE

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

MSH OnsiteHealth is a Web site for Physicians - providing system access off campus. MSH OnsiteHealth is a free, secure Web site featuring:

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

GVI VISION (ERP) Desktop Client Upgrade Installation

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

MATCH IT! Antibody v1.2 Software Installation

Office of State Aid Bridge Inventory System 8.1

Download Full Install Version EXE (Auto Install)

Network/Floating License Installation Instructions

WA Continuous Integration with Jenkins- CI, Maven and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

RecoveryVault Express Client User Manual

Connecting your Omega/BetaPAT PLUS to a PC via a USB

GETTING STARTED WITH FLEXI-CLOUD

Installation Instructions Release Version 15.0 January 30 th, 2011

Server & Workstation Installation of Client Profiles for Windows (WAN Edition)

InstantAtlas TM Server Data Transfer Tools User Guide

How To Install And Set Up The Database For Quicdoc And Office Therapy (The Applications)

Windows 7. Tips and Tricks. Scott Sekinger

Ascend Interface Service Installation

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

Online Backup Linux Client User Manual

Installation Guide - Client. Rev 1.5.0

EVALUATION ONLY. WA2088 WebSphere Application Server 8.5 Administration on Windows. Student Labs. Web Age Solutions Inc.

aims sql server installation guide

Setting Up Power POS in Windows 95/98

Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ

Online Backup Client User Manual

How To Unlink Your Computer From Dropbox From Your Computer To Your Computer (For A Free Download) From Your Dropbox Account (For Free) (For An Ubuntu Install) (Free Download) (Unlock) (Reboot)

Server Configuration and Deployment (part 1) Lotus Foundations Essentials

testo Saveris Update Instruction to Version testo Saveris 4.5

KeePass Getting Started on Windows

Passport Installation. Windows XP + Internet Explorer 8

Creating forms in Microsoft Access 2007

Wakanda Studio Features

How to setup CV-7428nS Wi-Fi Ethernet Bridge on a Windows PC


Connecticut Hazardous Waste Manifests Database

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

1. Product Information

Online Backup Client User Manual Linux

Microsoft Outlook 2007 to Mozilla Thunderbird and Novell Evolution Conversion Guide

Installation Instruction STATISTICA. Concurrent Network License with Borrowing Domain Based Registration

Setting Up a Windows Virtual Machine for SANS FOR526

Exchange Server Backup and Restore

Machine Edition USB Hardware License Key did not get recognize inside Virtual Machine

Making and Editing Screenshots in PowerPoint 2010

Opening a Command Shell

XConsole GUI setup communication manual September 2010.

Q1. What are the differences between Data Backup, System Restore, Disk Image, System Recovery Disc and System Repair Disk?

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

VirtualXP Users Guide

Intro to Web Development

Using Microsoft Visual Studio API Reference

Installing F-Secure Anti-Virus (FSAV) Table of Contents. FSAV 8.x and FSLS 7.x End of Life. FSAV 9.x and FSLS 9.x End of Life

How to Install MediaWiki on Windows Server 2003

Instructions for accessing the new TU wireless Network

IT Administrator Guide for Mass Deployment of WebEx Productivity Tools. Installation Guide for Administrators

SSL VPN Service. Once you have installed the AnyConnect Secure Mobility Client, this document is available by clicking on the Help icon on the client.

Getting Started on the Computer With Mouseaerobics! Windows XP

Guide to Installing BBL Crystal MIND on Windows 7

Installation and Program Essentials

Joining an XP workstation to a domain Version 1.00

Microsoft Access Calendar Scheduling Database/Template Installation Instructions

What is OneDrive for Business at University of Greenwich? Accessing OneDrive from Office 365

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

Transcription:

RAISE Tools Installation Guide for Windows (x86 + x64) Nis Schmidt DTU Informatics Technical University of Denmark February 3, 2012 Based on the 32-bit version by Andreas Andersen Kjær and Anne Haxthausen With kind assistance from Anne Haxthausen and David K Schmidt 1 Introduction This guide is tailored for students following course 02263 at DTU, it explains how to install the RAISE tools on Windows machines. There is another installation guide for Linux machines. There is also a DTU User Guide to the RAISE Tools available from the course s homepage. With few differences in screen layouts, this guide may be applied to Windows versions from XP to Windows 7. The RAISE tools were developed at UNU/IIST and may also be acquired from their netsite at http://www.iist.unu.edu/newrh/iii/3/1/page.html This installation guide has successfully been tested for a Windows 7 64-bit installation. 1.1 Overview You need to install the following software on the C-drive of your PC. If you elect to install on to another drive than C, this may be possible, though it is discouraged. It should be possible, but you are on your own if you do so. Standard ML (see Walkthrough... step 1) MikTeX 2.9 (see Walkthrough... step 3) Raise Tools with emacs editor (see Walkthrough... step 6) Be aware that... Emacs does not seem to handle paths containing spaces. Combining emacs, 1

RSL, and paths containing spaces (e.g. might cause troubles. C:\Documents and Settings\...) 1.2 Download It is advisable to collect all download materials in a separate folder (for this course), so that you can easily repeat the installation - if need be. We will from here on refer to this folderpath as <download>. Create a <download>folder (e.g. RSLDL) to store to following resources: Download the files from the Tools/Windows folder on the 02263 Course s file sharing on CampusNet. Mark all files in the Tools/Windows folder and select Download selected as zip. Rename cn.zip to RSLtools.zip and unpack it to a subfolder named RSLtools. Download MikTeX 2.9 or later from http://miktex.org Note We have used the 32-bit version of MikTeX 2.9, since the 64-bit was at time of writing labelled experimental. 2 Walkthrough of the installation How to install Standard ML of New Jersey 1. Unzip smlnj.zip into C:\sml (so you get C:\sml\bin and C:\sml\lib). 2. Set environment variables (See figure 1). (a) Add C:\sml\bin to the system environment variable Path. (b) Set the environment variable SMLNJ HOME to C:\sml. (c) Set the environment variable RSLML PATH to C:\raise\sml. Steps (b) and (c) should be performed automatically by the rsltc installation step performed later and may be omitted here. However, if you skip (b) and (c), you should verify the correct assignment of these variables after installing. (See figure 4) How to add Latex support 3. Install MikTex to C:\miktex29 - you can skip this if you already have MikTeX installed, but continue with: 4. Copy the files: boxedminipage.sty and rslenv.sty from subfolder <download>\rsltools to <MikTex folder>\tex\latex\base where <MikTex folder> is the MikTex install path. (See figure 2) 2

5. From the start menu open Programs\MikTeX 2.9\Maintenance (Admin)\MikTex Settings (Admin) On the Maintenance panel (see figure 3) of the General tab: (a) Press Refresh FNDB. Wait for completion, then: (b) Press Update Formats. Installing rsltc and emacs 6. Run <download>\raise_admin_setup.exe (a) Install to C:\raise (b) Choose components Emacs, RAISE tool and VCG (c) Restart the system when asked. After the reboot continue with the following... 7. Either replace the contents of C:\emacs\_emacs with the contents of <download>\emacswindows.txt or edit the file C:\emacs\_emacs with WordPad or NotePad: (a) At the bottom of the file, insert the lines: ;;; Facilities for RSL-Latex support ;; Loading files for RSL-Latex support (rslconvert loads tokenise): (load "rslconvert.el") ;; Function for converting RSL formulae in ascii syntax to latex ;; The formulae are placed between \RSLatex and \endrslatex (defun rsl2latex () "Do rslatex on buffer" (interactive) (do-latex)) ;; Function for undoing the above conversion (defun latex2rsl () "Undo rslatex on buffer" (interactive) (undo-latex)) ;; Setting up function keys ;; Pressing f2 invokes do-latex on the whole buffer ;; Pressing f3 invokes undo-latex on the whole buffer (global-set-key [f2] do-latex) (global-set-key [f3] undo-latex) 3

(b) Locate the following lines: ;; Support Cygwin if present (if (file-exists-p "c:/cygwin") (progn (require cygwin-mount) (cygwin-mount-activate) ;; Set up name of Cygwin shell (setq explicit-shell-file-name "c:/cygwin/bin/bash.exe") ;; can then switch to Cygwin by ;; (setq shell-file-name explicit-shell-file-name) )) (c) Comment them out, so they look like this: ;;;; Support Cygwin if present ;;(if (file-exists-p "c:/cygwin") ;; (progn ;; (require cygwin-mount) ;; (cygwin-mount-activate) ;; ;; ;; Set up name of Cygwin shell ;; (setq explicit-shell-file-name "c:/cygwin/bin/bash.exe") ;; ;; can then switch to Cygwin by ;; ;; (setq shell-file-name explicit-shell-file-name) ;; )) 8. Finalize the installation (a) Important: If you are installing on 64-bit Windows, you should now copy the file 64-bit executable <download>\rsltools\rsltc.exe to the folder C:\raise\rsl. (b) Verify the assignments of the environment variables set in 2. (c) Create a shortcut to target C:\emacs\bin\runemacs.exe for running Emacs. 9. Run Emacs to test functionality by clicking the shortcut just created. (a) Enter the follow text in the emacs *scratch* buffer and save to a file called X.rsl scheme X = class test_case [t1] 1 + 2, 4

end [t2] true \/ false After saving content to an.rsl file the RSL menu item should appear and the text should be syntax highlighted. If you do not see any syntax highlighting like in figure 5), check that the HOME environment variable is set to c:\emacs. Testing syntax and type checking (b) In order to type check the specification, select RSL Type check from the drop down menu. Testing SML execution (c) The previously created file X.rsl contains executable RSL-code. In order to execute the code, select: RSL SML Translate to SML and run from the drop down menu. If it works, you will probably see something like this: Standard ML of New Jersey v110.59 [built: Mon Jun 05 13:26:49 2006] - [opening c:/test/x.sml] [autoloading] [library $smlnj/cm/cm.cm is stable] [library $smlnj/internal/cm-sig-lib.cm is stable] [library $/pgraph.cm is stable] [library $smlnj/internal/srcpath-lib.cm is stable] [library $SMLNJ-BASIS/basis.cm is stable] [autoloading done] val it = true : bool [autoloading] [autoloading done] [autoloading] [autoloading done] val it = true : bool [autoloading] [autoloading done] [opening X_.sml] structure RT_Int : <sig> structure RT_Bool : <sig> 5

structure X : <sig> open X [t1] 3 [t2] true [t1] 3 and [t2] true are results of the execution. Testing the Latex-support (d) Create a.tex document within emacs and store it in the same folder as X.rsl. Add the following lines to the file: \documentclass{article} \usepackage{rslenv} \begin{document} % Remember: alt+x mkdoc \RAISEIN{X} \end{document} (e) Within emacs, press alt and x at the same time. It is now possible to type a command. Type mkdoc and hit enter. Emacs has now generated a file called X.tex. Select TeX-Tex File from the drop down menu. Latex will build a dvi-file with the following content: scheme X = class test case [ t1 ] 1 + 2, [ t2 ] true false end This concludes verification of the installation. 6

Screen dumps of selected operations in the above walkthrough may be found in the following appendix. A Screen dump images Figure 1: To set environment variables you need to open System Properties of My Computer. 7

Figure 2: Copy the two style files to the appropriate miktex folder. Figure 3: prompt. Test environment variables and sml compiler using a command 8

Figure 4: prompt. Test environment variables and sml compiler using a command 9

Figure 5: Check syntax highlighting. 10