Contents
Package Explorer
Adding and Linking Existing Scripts to a Package

Adding and Linking Existing Scripts to a Package

If you have existing scripts on your local file system that reside under the package folder, you can add those scripts and their parent folder to the project package. To do so, right-click the root node of the package, browse for files that reside in the same package folder or under subfolders of the package folder, and select your files. If the selected files indeed reside under the package folder, you will be prompted with the dialog in the figure below.




Figure 80a:  Adding existing files that reside under the package folder to a package.



Select the Link to existing files option to load the existing files into the package. On the other hand, if you wish to make copies of the selected files instead of using the existing ones, then select the Create a copy option. Linking to existing files is useful for working with Source Controlled package: If the linked files are source-controlled, you can work and update the source control files within the code package and Combine.

Note: You can also add existing files under package folders by right-clicking the folder node in the package and selecting Add SQL Script → From File. The selected files must reside either under the same folder or its subfolders.


© 2001-2017 JNetDirect, Inc. All Rights Reserved.