Logo
StartDownloadsDocumentationPublicationsContactCommunityDevelopers

JAsCo command line tools installation

The JAsCo Eclipse plugin has reached a mature stage right now, so we highly recommend to employ this IDE for JAsCo development.

Installation Instructions for JAsCo kernel 0.8+

  1. Unzip the jasco zip file to <installdir>
  2. Add <installdir>/bin to PATH environment variable *
  3. Add <installdir>/jasco.jar to CLASSPATH environment variable
  4. Add <installdir>/jasco-libs.jar to CLASSPATH environment variable
  5. Add <JAVA_HOME>/lib/tools.jar to CLASSPATH environment variable (only required for HotSwap 1)
  6. Run setup.bat or setup.sh in <installdir>
  7. JAsCo is configured.

SOME HINTS:

  • make sure the java bin directory is in your PATH environment variable, so javac and java have to be executable from the prompt!
  • Don’t use spaces in directory names (e.g. not good: /var/test/my documents/JAsCo), JAsCo does not cope well with spaces.
  • Make sure . (the current directory) is in your classpath!

Use the scheme below to test the JAsCo Tool-suite (requires Java 1.5):

  1. Browse to the <installdir> where you installed the JAsCo Tool-suite and go to the examples/Tutorial1 folder
  2. Compile the tracing.asp aspect by executing following command: CompileAspect tracing.asp
  3. Compile the TracingConnector.con connector by executing following command: CompileConnector TracingConnectors.con
  4. Browse to the <installdir>/examples/Tutorial1/Generated and execute following command: java -javaagent:<installdir/jasco.jar> test.Main2
  5. A visual application pops up and its execution is traced by the basic.asp aspect.

Use the scheme below to test the JAsCo Tool-suite (non Java 1.5):

  1. Browse to the <installdir> where you installed the JAsCo Tool-suite and go to the examples/Tutorial1 folder
  2. Compile the tracing.asp aspect by executing following command: CompileAspect tracing.asp
  3. Compile the TracingConnector.con connector by executing following command: CompileConnector TracingConnectors.con
  4. Transform the Juggler-bean by executing following command: TransformBean sunw.demo.juggler.Juggler
  5. Browse to the <installdir>/examples/Tutorial1/Generated and execute following command: java test.Main2
  6. A visual application pops up and its execution is traced by the basic.asp aspect.

Testing support for adaptive programming by traversal connectors (since version 0.2.0) :

  1. Browse to the <installdir> where you installed the JAsCo Tool-suite and go to the examples/Tutorial2 folder
  2. Compile the TestTraversal.trv traversal-connector by executing following command: CompileTraversal TestTraversal.trv
  3. Browse to the <installdir>/examples/Tutorial2/Generated and execute following command: java test.trav.example.Example
  4. The traversal as specified by the traversal connector TestTraversal.trv is invoked.
documentation/installation.txt · Last modified: 15.06.2005 13:39 by wvdperre
SiteMapRecent Content by SSEL ©2002-2005     Latest JAsCo Release: JAsCo 0.8.7 (revised 2005-11-25 16:29:02)