close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 7 and Version 8 of JCop


Ignore:
Timestamp:
01/06/2011 11:14:49 AM (9 years ago)
Author:
malte.appeltauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JCop

    v7 v8  
    135135
    136136
     137\subsection{Launch}
     138
     139%.........................................................................
     140\subsubsection*{Synopsis}
     141
     142\begin{lstlisting}[language=none]
     143jcop [Options] class [ argument ]
     144\end{lstlisting}
    137145
    138146
     147
     148
     149%.........................................................................
     150\subsubsection*{Description}
     151The \code{jcop} command launches a JCop or Java application. It does this by starting a Java runtime environment (instrumented with the AspectJ weaver), loading a specified class, and invoking that class's main method. The method declaration must look like a plain Java main method:
     152       
     153\begin{quote}
     154  \code{public static void main(String args[])}
     155\end{quote}
     156
     157
     158The method must be declared public and static, it must not return any value, and it must accept a String array as a parameter. By default, the first non-option argument is the name of the class to be invoked. A fully-qualified class name should be used.
     159
     160The argument after the options specifies the class file to compile and by its full qualified name (package name + type name), separated by a dot (".").
     161
     162%.........................................................................
     163\subsubsection*{Options}
     164
     165As options all standard Java options are allowed.   
     166
     167%.........................................................................
     168\subsubsection*{File Names}
     169
     170\code{jcop} accepts Java bytecode files with the \code.{class} extension.
     171
     172
     173