Skip to main content
WolfShade
Legend
Apr 20, 2016 6:56 PM UTC
Answered

settings.xml file??

(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,

^_^

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Carl Von Stetten
    Carl Von StettenCorrect answer
    Legend
    Apr 20, 2016 7:20 PM UTC

    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?

    6 replies

    Carl Von Stetten
    Carl Von StettenCorrect answer
    Legend
    Apr 20, 2016 7:20 PM UTC

    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?

    Translate
    WolfShade
    WolfShadeAuthor
    Legend
    Apr 20, 2016 7:42 PM UTC

    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.

    Translate
    Carl Von Stetten
    Legend
    Apr 20, 2016 9:51 PM UTC

    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>

    Translate