Creating a udaSQL Project - Teradata Studio

Teradata Studio IDE Plug-in User Guide

Product
Teradata Studio
Release Number
15.11
Published
May 2016
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
xjy1467322272664.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2043
lifecycle
previous
Product Category
Teradata Tools and Utilities
  1. From the main menu, select New > Other. The New dialog displays.
  2. In Wizards, select udaSQL Project under Teradata Wizards.
  3. Click Next. The udaSQL Project wizard launches.
  4. In Create a Java Project, type a name for the project.
  5. Do one of the following:
    • Select the Use the default location check box to create the new project in your workspace with the name you specified.
    • To create the new project in a location outside of your workspace or in an external location, deselect the Use the default location check box and in Location, type or click Browse to specify a directory in which to create the project.
  6. In JRE, select one of these options:
    Option Description
    Use an execution environment JRE: [Default] Select the JRE environment to use from the list.
    Use a project-specific JRE: Select this option to specify a specific JRE for the new project. The project will use the default compiler compliance this is configured in the Java Compiler preference dialog.
    Use default JRE Select this opton to specify an execution environment to use for the new project. The new project uses a compiler compliance that is appropriate for the selected execution environment.
    You can click Configure JREs to display the Installed JREs preference dialog where you can add JREs to the above JRE lists. Click Configure default to configure the default JRE and compiler compliance.
  7. In Project layout, select one of these options:
    Option Description
    Use project folder as root for sources and class files Select to use the project folder as the root folder for all source and class files.
    Create separate folders for sources and class files Select to create separate folders for source and class files.
  8. In Working sets, select one of these options:
    • Select Add project to working sets and select the working set from the Working Sets list.
    • Deselect the Add project to working sets check box to not add the project to a working set.
    The Working Sets list shows a list of previously selected working sets. If you need to add a new working set, click Select.
  9. Click Next. The wizard generates the Java build path which consists of source, library, and project entries.
  10. In the Java Settings dialog, define the Java build settings.
    1. In Source, review the folder structure of the new project and add optional details. Source folders are the root of packages containing JAVA files. The compiler translates these files to .class files and writes them to the output folder. The tree structure shows how the project will look when switching to the package explorer.
    2. [Optional] Click Create new source folder to add a new source folder to the project.
    3. [Optional] Click Link additional source to use an existing folder as a source folder.
    4. [Optional] Click Add project to build path if the new project is the root of packages and source files. Entries on the build path are visible to the compiler and incorporated in the build operations.
  11. [Optional] Select Allow output folders for source folders to enable each source folder to have a separate output folder.
  12. [Optional] Deselect Allow output folders for source folders to output to a single output folder and specify that folder in Default output folder.
  13. [Optional] Change the structure of the project using these icons in the main toolbars:
    Option Description
    Use as source folder Adds the selected folder to the Java build path as source folder.
    Link additional source to project Adds a link to a folder in the file system as source folder to the Java build path.
    Remove from buildpath Removes a source folder from the Java build path and changes it into a normal folder.
    Include Includes a previously excluded resource.
    Exclude Adds a resource to the exclusion filter of the parent soruce folder making the excluded resource and its children no longer visible to the compiler.
    Configure Inclusion/Exclusion Filters Customizes the inclusion and exclusion filters by defining string patterns. Wildcards are enabled.
    Configure Output Folder Changes the output folder for a source filter. This icon is enabled if you select the Allow output folders for source folders check box.
    Clear all changes Returns project to its original state by withdrawing all changes to the project.
  14. [Optional] Click Projects and add, edit, or remove the required projects on the build path.
  15. [Optional] Click Libraries and add, edit, or remove JAR and class folders on the build path.
  16. [Optional] Click Order and Export and change the build class path order and exported entries as needed.
  17. Click Finish. The wizard creates the udaSQL Project folders in the Project Explorer using the structure you defined in the wizard.