Generates skeletons for a package or component.
gen_skels [ connect-args | local-args ] [-javaskelcodebase path] [-cppskelcodebase path] [-javastubtype CORBA|EJB|Jaguar1.1] [-compilejavaskels true|false] [-pseudoskels true|false] [-jdkversion 1.1|1.2] entity
<jag_gen_skels [ javaskelcodebase="path" ] [ cppskelcodebase="path" ] [ compilejavaskels="true|false" ] [ pseudoskels="true|false" ] [ javastubtype=”CORBA|EJB|Jaguar1.1” ] [ jdkversion="1.1|1.2" ] entity=”entity” />
Option  | 
Description  | 
Default  | 
Required  | 
|---|---|---|---|
connect-args | local-args  | 
Arguments to specify a connection to the server or to run in local mode. See “Local versus connected mode”.  | 
-  | 
Yes  | 
  | 
The code base for Java skeletons, on the server host.  | 
$JAGUAR/java/classes  | 
No  | 
  | 
The code base for C++ skeletons, on the server host.  | 
$JAGUAR/cpplib  | 
No  | 
  | 
The type of Java stubs used. Options are: 
  | 
CORBA  | 
No  | 
  | 
The code base for C++ stubs, on the server host.  | 
$JAGUAR/include  | 
No  | 
  | 
Indicates whether to compile Java skeletons.  | 
true  | 
No  | 
  | 
Indicates whether to generate direct-access skeletons for C++ and Java/CORBA pseudocomponents. Use this option if the target components run as EAServer pseudocomponents.  | 
false  | 
No  | 
  | 
Indicates the JDK version to use for compiling Java skeletons. Options are: 
  | 
1.2  | 
No  | 
entity  | 
The name of the entity for which skeletons are generated, in the form EntityType:EntityName, where EntityType must be either Package or Component.  | 
-  | 
Yes  | 
Return value  | 
Indicates  | 
|---|---|
0  | 
The command ran successfully; the result is true/success.  | 
1  | 
The command ran successfully; the result is false/failure.  | 
2  | 
The command did not run successfully; an exception was thrown.  | 
This example generates skeletons with EJB-compatible Java stubs for Package:SVU:
Command line:
jagtool gen_skels -javastubtype EJB Package:SVU
Ant build file:
<jag_gen_skels javastubtype="EJB" entity="Package:SVU" />