Installation of Junit



Installing GT4 on Windows

Install jdk1.4.2

Installation of Apache ant 1.6.5 Source Distribution

Assume Ant is installed in c:\ant. The following sets up the environment:

set ANT_HOME=c:\ant

set JAVA_HOME=c:\jdk1.2.2

set PATH=%PATH%;C:\ant\bin

set PATH=%PATH%;C:\ant\lib

set PATH=%PATH%;C:\Java\bin

Then

build -Ddist.dir= dist

build install    

Installation of Junit

Below are the installation steps for installing JUnit:

1. unzip the junit.zip file

2. add junit.jar to the CLASSPATH. For example: set classpath=%classpath%;INSTALL_DIR\junit3\junit.jar

3. test the installation by using either the batch or the graphical TestRunner tool to run the tests that come with this release. All the tests should pass OK.

Notice: that the tests are not contained in the junit.jar but in the installation directory directly. Therefore make sure that the installation directory is on the class path

o for the batch TestRunner type:

    java junit.textui.TestRunner junit.samples.AllTests

o for the graphical TestRunner type:

    java junit.awtui.TestRunner junit.samples.AllTests

o for the Swing based graphical TestRunner type:

    java junit.swingui.TestRunner junit.samples.AllTests

Important: don't install the junit.jar into the extension directory of your JDK installation. If you do so the test class on the files system will not be found.

1. Install Tomcat

Set %CATALINA_HOME% environment variable to C:\tomcat

Install Python

Use the Python installer

Install hsqldb

Setup Instructions

Create a database for the Wildfire tables. This assumes you have HSQLDB installed in its own directory and working correctly.

o Run the HSQLDB Database Manager by navigating to the folder where C:\hsqlb\lib\hsqldb.jar is located and type the following

java -cp hsqldb.jar org.hsqldb.util.DatabaseManager

then hit enter. You will now see a GUI application. Note, you will not see a hsqldb.jar in the Wildfire distribution - this is referring to the hsqldb.jar from the HSQLDB distribution.

o When prompted with the connect window, enter org.hsqldb.jdbcDriver as the Driver, and specify the URL of your database in the URL field. The default password is already entered.

o execute any command in the space provided

Installing gt4

Use java-ws-core-src-4.0.1

Set environment variable

Set GLOBUS_LOCATION= C:\gt4

Then go to gt4 folder

Then run command

ant all -Dall.scripts=true -Denable.container.desc=true

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download