Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The Editor can be opened most easily through a double-click on a shortcut to the sos.xml.editor.exe binary.
  • Clicking File -> Open will open a tab for a new configuration.

The configuration of a JADE YADE file transfer operation is used in this article as a 'vehicle' for describing the use of the XML Editor. Other uses are available or in development, such as the configuration of the JobScheduler Monitoring Interface.

...

The Configurations element in the JADE YADE Reference schema shown in the screenshot above is the root XML element and therefore automatically specified when a new configuration is opened, along with its mandatory child elements.

...

The structure of the configuration is described in more detail in the JADE YADE User Manual - Configuring and Running File Transfers article and its child articles.

...

  • the XML format that will become the new standard for JADE YADE with release 1.11,
  • the settings.ini format that will that will remain standard until release 1.11 (when the JADE YADE Xml2Ini Converter plugin is active).

Note that the JADE YADE Xml2Ini Converter plugin used to generate the settings.ini file can be deactivated (and configured) as described in the Plugins section of this article below.

...

Code Block
titleSimple file transfer configuration in XML format
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jadeyade/JADEYADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
      <FTPFragment name="ftp_demo_sos-berlin">
        <BasicConnection>
          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
        </BasicConnection>
        <BasicAuthentication>
          <Account><![CDATA[demo]]></Account>
          <Password><![CDATA[demo]]></Password>
        </BasicAuthentication>
      </FTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="ftp_server_2_local">
      <Operation>
        <Copy>
          <CopySource>
            <CopySourceFragmentRef>
              <FTPFragmentRef ref="ftp_demo_sos-berlin" />
            </CopySourceFragmentRef>
            <SourceFileOptions>
              <Selection>
                <FileSpecSelection>
                  <FileSpec><![CDATA[.*]]></FileSpec>
                  <Directory><![CDATA[./]]></Directory>
                </FileSpecSelection>
              </Selection>
            </SourceFileOptions>
          </CopySource>
          <CopyTarget>
            <CopyTargetFragmentRef>
              <LocalTarget />
            </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
          </CopyTarget>
        </Copy>
      </Operation>
    </Profile>
  </Profiles>
</Configurations>

...

More information including example calls for Unix systems can be found in the YADE User Manual - Configuring and Running File Transfers article.

Plugins

...

YADE Xml2Ini Converter

By default the XML Editor comes with an activated JADE YADE Xml2Ini Converter plugin that is used to convert the Editor's native XML format to the settings.ini format required for JADE YADE up to versions 1.10.

The menu for configuring this plugin can be opened using either the JADE YADE Xml2Ini Converter button shown in the screenshot below or by opening the Plugins entry in the main menu.

...