Highlighted

settings.xml file??

LEGEND ,
Apr 20, 2016

Copy link to clipboard

Copied

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

^_^

Most Valuable Participant
Correct answer by Carl_Von_Stetten | Most Valuable Participant

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?

Views

485

Likes

Translate

Translate

Report

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

settings.xml file??

LEGEND ,
Apr 20, 2016

Copy link to clipboard

Copied

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

^_^

Most Valuable Participant
Correct answer by Carl_Von_Stetten | Most Valuable Participant

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?

Views

486

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 20, 2016 0
Most Valuable Participant ,
Apr 20, 2016

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 20, 2016 0
LEGEND ,
Apr 20, 2016

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 20, 2016 0
Most Valuable Participant ,
Apr 20, 2016

Copy link to clipboard

Copied

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>

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 20, 2016 0
LEGEND ,
Apr 21, 2016

Copy link to clipboard

Copied

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

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

V/r,

^_^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 21, 2016 0
Most Valuable Participant ,
Apr 21, 2016

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 21, 2016 0
LEGEND ,
Apr 21, 2016

Copy link to clipboard

Copied

Thanks, Carl.  I'll let him know.

V/r,

^_^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 21, 2016 0