Defining resources

 

Defining resources to include in the “jmdac” package

 

Icon

Description

This icon represents a directory containing the resources to be packaged. It is used to structure resources in the same way as a file system. The folder represented by this icon will not be packaged.

This icon representrs a directory to be packaged.

Examples:

This icon represents a file to be packaged.

Examples:

 

In a  or  directory, you can click on the  button to import the entire contents of the specified directory into Objecteering.  This operation can be run at any time, whether the "Resources" folder already contains resources or not.

 

Note:      Representing files rather than directories to be package means that only the necessary files will be packaged.

 

 

Referencing an external jar

To reference an external jar, click on the  button, which is available on the MDA component.

 

This jar will then be packaged in the MDA component's "lib" directory. It will also be available in the CLASSPATH when the MDA component is compiled.

 

 

Including a file in the jar file

To include a file in a jar file, simply stereotype an artifact defined in a Java package using the "JavaResource" stereotype.