Building the Optimized Code Debugging the Build Script Configuring Site Studio to Use Optimized Code
13.4.3 Building the Optimized Code
To run the build process on Windows, double-click the shell-build shortcut in the following location: \tools\optimize\shell-build Use the following command line to run the build process on other Site Studio supported platforms, including Windows: java.exe -cp ..\rhino\rhino1_7R2\js.jar org.mozilla.javascript.tools.shell.Main build.js When running the build process from the command line, it is important to ensure that the execution working directory is that of the build scripts directory. For instance, if executing the build from a shell, be sure to change directories to that of the build script \tools\optimize before executing the command line. The process can also be run from the Manage Fragment Libraries page in Site Studio Administration. Click Compress Contributor JavaScript to start the process.13.4.4 Debugging the Build Script
To run the visual debugger on Windows, double-click the shell-debug shortcut in the following location: \tools\optimize\shell-debug Use the following command line to run the visual debugger on other supported platforms, including Windows: java.exe -cp ..\rhino\rhino1_7R2\js.jar org.mozilla.javascript.tools.debugger.Main build.js When running the visual debugger from the command line, it is important to ensure that the debuggers execution working directory is that of the build scripts directory. For example, if executing the debugger from a shell, be sure to change directories to that of the build script \tools\optimize before executing the command line. Site Studio Performance Tuning 13-513.4.5 Configuring Site Studio to Use Optimized Code
Once the optimized Contributor source code is built, Site Studio can be configured to use the optimized source code by changing the SSContributorSourceDir value. This value can be set in the following configuration file: CONTENT_SERVER_INSTALL_DIR \custom\SiteStudio\SiteStudio.cfg Within sitestudio.cfg, set SSContributorSourceDir to the value wcm_min: SSContributorSourceDir=wcm_min13.4.6 Customizations and the Build Process
Parts
» Oracle Fusion Middleware Online Documentation Library
» About the Site Studio Technical Reference Scope of the Technical Reference About Site Assets
» Page Templates Subtemplates Templates
» Relationship Between Templates and Definitions Serving Web Pages
» xWebsiteSection xWebsites Metadata Fields
» xDontShowInListsForWebsites xRegionDefinition Metadata Fields
» Conversions Definitions About Metadata About Link Formats Using Path-Based Links
» wcmUrl Using Server-Side Script Links
» ssLink ssNodeLink ssWebLayoutUrl Using Server-Side Script Links
» ssLINK ssNODELINK Using Token Links
» sitenavigation.js Runtime Auto-Generated Files
» sitenavigationfunctions.js sitenavigation.xml
» Using JavaScript Links About Runtime Generated Files wcm.toggle.js
» About Fragments Oracle Fusion Middleware Online Documentation Library
» Fragment Libraries Oracle Fusion Middleware Online Documentation Library
» Read-Only Fragment Libraries Fragment Inclusion Using wcmFragment
» Client-Side JavaScript Server-Side Idoc Script
» fragments fragment parameter The Fragment Definition File
» snippet designview element The Fragment Definition File
» Fragment Snippets and the ssIncludeXml Fragment Instance Structure in the ssinfo XML Data Island
» About Native Documents wcmDynamicConversion Document Conversion in the Properties Pane
» Loading the Element API Element API Dependent Scripts
» Communication from a Contributor Form to a Custom Element
» Detecting Legacy Custom Element Forms Upgrading Legacy Custom Elements
» wcmElement wcmListStart wcmListEnd wcmListElement
» wcmUrl ssIncludeXml Oracle Fusion Middleware Online Documentation Library
» ssGetDocInfo ssGetXmlNodeCount ssIncDynamicConversion ssIncDynamicConversionByRule
» ssRandom ssGetNodeProperty ssGetWebsiteNodeType ssGetCoreMajorVersion
» ssSplitString ssGetWebsiteName ssGetSiteProperty ssGetFirstNodeId ssGetRelativeNodeId
» ssLoadSiteNavResultSet ssGetServerRelativeUrl ssGetServerRelativePath ssGetUrlPageName
» ssGetNodeLabel ssGetNodeLabelPath ssGetAllSites ssLink ssNodeLink
» ssWeblayoutUrl About Idoc Script Variables HttpWebsitesRoot HttpRelativeWebsitesRoot
» Services Related to Designer
» SS_ADD_NODE SS_ADD_WEBSITE_ID SS_BATCH_DECODE_LINK SS_CHECKIN_FRAGMENT_LIBRARY
» SS_COMMIT_SITE_CHANGES SS_CREATE_NEW_SITE_EX2 SS_CREATE_SITE_NAV_JS
» SS_DECODE_LINK SS_DELETE_NODE SS_DOC_INFO_LATEST SS_EDIT_NATIVE_DOCUMENT
» SS_GET_DOCUMENT_USAGE SS_GET_ENVIRONMENT_PROPERTY_NAMES SS_GET_FIRST_NODE_ID SS_GET_FRIENDLY_URL
» TARGET SECTION SOURCE SS_GET_PAGE
» SS_GET_NODE_LINK SS_GET_NODE_PROPERTY SS_GET_PLACEHOLDER_SWITCH_CONTENT_CONFIG
» SS_GET_SITE_AS_XML_EX2 SS_GET_SITE_ASSET_CATEGORIES SS_GET_SITE_CHANGE_MONITOR_TOKEN
» SS_PREPARE_PREVIEW SS_PUBLISH_THIS_PAGE SS_REMOVE_WEBSITE_ID SS_SET_ALL_CUSTOM_NODE_PROP_DEFS
» SS_SET_ELEMENT_DATA SS_SET_ENVIRONMENT_PROPERTY_NAMES SS_SET_NODE_PROPERTY SS_SET_NODES_PROPERTIES
» SS_SWITCH_REGION_ASSOCIATION SS_VALIDATE_WEBSITE_OBJECT WCM_PLACEHOLDER
» WCM_EDIT_DATA_FILE WCM_BEGIN_EDIT_SESSION
» Optimization Requirements The Build Process
» Installing the Contributor Console Window Launching the Contributor Console Window
» Contributor Console Window Context Ensuring the Contributor Console Window is Root
» Logging Syntax Time Profiling
» Command Window Helper Functions Keyboard Commands About the Manager Settings File ssm:settings Tag
» ssm:general Tag ssm:addSection Tag
» ssm:primaryLayout Tag ssm:secondaryLayout Tag
Show more