SSEL/CASSEL Multistage

the Multistage site
 
   

Setting up the testing environment

PDF
PDF

In Netbeans

This section describes the process of setting up and building Multistage's mailboxTest using Netbeans 3.6 with Java 1.4.2.

  • Select "use java 1.4 source" under Tools -> Options -> Internal/External/etc's compile tabs (so assert works)
  • Update netbeans components (everything but solaris and linux specifics)
  • cvs checkout multistage
  • In the Netbeans Filesystems side tab, mount multistage/src as a Local Directory
  • Mount multistage/lib/*.jar as archives
  • Mount the base multistage directory for convenience
  • Select src and choose "compile all" in the context menu
  • Under src/build select the dist target and execute it (<F6>)
  • Mount multistage/dist/conf
  • Mount multistage/build/classes above multistage/src

    This may require mounting classes, then unmounting src, and then remounting src if the rearrange tab doesn't work.

    Alternatively, to get rmi working for testing, you can mark all the stub-requiring classes as RMI if your Netbeans supports it.

  • Under multistage/dist/conf, edit clientlog.properties and log4j.properties as appropriate, specifically changing the paths to match your setup. Also set defaultMode in mult-client.properties to manual or automatic as appropriate.
  • Make your log directories; mailboxTest won't make them for you.
  • Select multistage\src\edu\caltechUcla\sselCassel\projects\multistage\test\mailboxTest.java and execute it.

For the commandline

This section describes setting up Multistage's mailboxTest under the commandline.

  • Build multistage via multistage/build.bat or build.sh as appropriate: cd multistage; build.bat
  • Under multistage/dist/conf, edit clientlog.properties and log4j.properties as appropriate, specifically changing the paths to match your setup. Also set defaultMode in mult-client.properties to manual or automatic as appropriate.
  • cd multistage/src
  • Run the mailboxTest: ../bin/client-multistage.bat