Structure of Data Shaper projects

In this chapter, we present only a brief overview of what happens when you are creating any Data Shaper project.

This applies not only to local Data Shaper Project and Data Shaper Examples Project, but also to Data Shaper Server Project.

  • Standard Structure of All Data Shaper Projects
    Each of your Data Shaper Projects has the standard project structure (unless you have changed it while creating the project).

  • The .classpath File
    This file defines the paths to .class and .jar files that can be loaded and used by transformation graphs.

  • Workspace.prm File
    Each of your local or remote (Server) Data Shaper projects contains the workspace.prm file (in the project folder) with basic information about the project.

Standard Structure of All Data Shaper Projects

In the Data Shaper perspective, there is a Project Explorer pane on the left side of the window. In this pane, you can expand the project folder. After that, you will be presented with the folder structure. There are subfolders for:

PURPOSESTANDARD FOLDERSTANDARD PARAMETERUSAGE1
all connectionsconnCONN_DIR${CONN_DIR}
input datadata-inDATAIN_DIR${DATAIN_DIR}
output datadata-outDATAOUT_DIR${DATAOUT_DIR}
data service REST job - not used in this versiondata-serviceDATASERVICE_DIR${DATASERVICE_DIR}
temporary datadata-tmpDATATMP_DIR${DATATMP_DIR}
graphsgraphGRAPH_DIR${GRAPH_DIR}
subgraphs - not used in this versiongraph/subgraphSUBGRAPH_DIR${SUBGRAPH_DIR}
jobflows (*.jbf) - not used in this versionjobflowJOBFLOW_DIR${JOBFLOW_DIR}
librarieslibLIB_DIR${LIB_DIR}
lookup tableslookupLOOKUP_DIR${LOOKUP_DIR}
metadatametaMETA_DIR${META_DIR}
profiling jobs (deprecated)profilePROFILE_DIR${PROFILE_DIR}
sequencesseqSEQ_DIR${SEQ_DIR}
transformation definitions (both source files and classes)transTRANS_DIR${TRANS_DIR}

1 For more information about parameters, see Parameters, and about their usage, see Using Parameters.

Warning!

Remember that using parameters in Data Shaper ensures that such a graph, metadata or any other graph element can be used in any place without need of being renamed.

216

The .classpath File

The .classpath file defines the paths to .class and .jar files that can be loaded and used by transformation graphs.

The following configuration is reported as warning.

References to nearby projects (configured in Project > Properties under Java Build Path).

Usage of non-standard classpath containers (Project > Java build path under Libraries > Add Library).

Usage of classpath variables (Project > Java build path under Libraries > Add Variable)

Usage of non-standard output folder. The trans is only accepted value.

If a classpath in a remote project contains reference to other sandbox, a warning on project level is displayed.

Workspace.prm File

You can look at the workspace.prm file by clicking this item in the Project Explorer pane and right-clicking and choosing Open With > Data Shaper Parameters Editor from the context menu.

You can see the parameters of your new project.



The parameters of imported projects may differ from the default parameters of a new project.

Not all directories listed in this page are used in this version of Data One.


SUBGRAPH AND JOBFLOW