Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

settings.xml file??

LEGEND ,
Apr 20, 2016 Apr 20, 2016

(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.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , Apr 20, 2016 Apr 20, 2016

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
Guide ,
Apr 20, 2016 Apr 20, 2016

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 20, 2016 Apr 20, 2016

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 20, 2016 Apr 20, 2016

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 21, 2016 Apr 21, 2016

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

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

V/r,

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 21, 2016 Apr 21, 2016

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 21, 2016 Apr 21, 2016
LATEST

Thanks, Carl.  I'll let him know.

V/r,

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources