6 Replies Latest reply on Apr 21, 2016 12:43 PM by WolfShade

    settings.xml file??

    WolfShade Level 4

      (I still say the new JIVE interface is ugly)

       

      Hello, all,

       

      One of my co-workers has been tasked to document a legacy CF site that was built about ten years ago.

       

      Everything was going well, until he noticed that in the root of the site is a "settings.xml" file.

       

      He's not finding any references to it in any of the CFML code.  Is there a valid reason to have settings.xml in the site root?  He's not sure what to write for the documentation; and in all the years I've been working with CF, I've never seen that, before.

       

      V/r,

       

      ^_^

        • 1. Re: settings.xml file??
          Carl Von Stetten Adobe Community Professional & MVP

          Have you or your co-worker used ColdFusion Builder to work with this code?  If you create a project in CFBuilder, a settings.xml file for it will be created (along with a .settings folder).

           

          What's in the file?

          • 2. Re: settings.xml file??
            WolfShade Level 4

            Hi, Carl,

             

            I haven't looked at the file, so don't know what's in it.  But there is a very good chance that the original developer used CFB when he developed the legacy site.  Is it safe to delete?  We don't use CFB, anymore.

             

            V/r,

             

            ^_^

             

            ( I am not, now, nor have I ever been an employee of, nor consultant for,

            { Adobe Systems.  The views, opinions, or code examples I present are mine

            ( - except some code examples may be retrieved from third-party sources -

            ( and cannot be construed as being expressly nor implicitly the views,

            { opinions, or code examples of Adobe Systems, nor any affiliated, parent,

            ( or child entity of Adobe Systems, Inc.

            • 3. Re: settings.xml file??
              Carl Von Stetten Adobe Community Professional & MVP

              You need to verify what the contents of the file are to be sure it is from CFBuilder.  Does it look something like this?

              <?xml version="1.0" encoding="UTF-8" ?>
              <ResourceDetails>
                <ServerName>SomeServerName</ServerName>
                <LauncherName>SomeProjectName</LauncherName>
                <ExternalBrowser/>
                <UseStartPage>false</UseStartPage>
                <StartPage useextension="false" />
                <Mappings/>
                <VariableMappings/>
                <DictionaryVersion>ColdFusion11</DictionaryVersion>
                <CFCMappings>
                     <MappingName>/Mapping1</MappingName>
                     <Path>C:\somepath</Path>
                     <MappingName>/Mapping2</MappingName>
                     <Path>C:\someotherpath</Path>
                </CFCMappings>
              </ResourceDetails>
              
              • 4. Re: settings.xml file??
                WolfShade Level 4

                I'm getting the co-worker to bring it up. 

                Yup.. it's similar to that.  Is that for CFBs benefit?

                 

                V/r,

                 

                ^_^

                • 5. Re: settings.xml file??
                  Carl Von Stetten Adobe Community Professional & MVP

                  Yes.  It stores the project-specific settings you configure in CFBuilder.  It can be safely deleted.

                  • 6. Re: settings.xml file??
                    WolfShade Level 4

                    Thanks, Carl.  I'll let him know.

                     

                    V/r,

                     

                    ^_^