tracker issue : CF-4177334

select a category, or use search below
(searches all categories and all time range)
Title:

Help for cf.bat incorrect

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 08/01/2016

Components: CLI

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF2016_Update1 /

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Win 64

Vote Count: 0

This is similar to 4126392, and I don't know how Adobe didn't notice and fix this when they fixed 4126392. Well other than being a bunch of jobsworths, I mean.

So after returning to CF after a hiatus, I needed reminding how the command line worked. So I typed:

cf.bat

And I was given these instructions:

Usage:
cfcli.bat <absolute or relative path of cfm> <positional arguments and/or named arguments, if any> -outputdir=<output directory> -logdir=<log directory>

Example1: cfcli.bat C:\Project\hello.cfm
Example2: cfcli.bat C:\Project\hello.cfm foo
Example3: cfcli.bat C:\Project\hello.cfm name=bar
Example4: cfcli.bat C:\Project\hello.cfm foo name=bar
Example5: cfcli.bat C:\Project\hello.cfm -outputdir=C:\Project\classes
Example6: cfcli.bat C:\Project\hello.cfm -logdir=C:\Project\logs
Example7: cfcli.bat C:\Project\hello.cfm -outputdir=C:\Project\classes -logdir=C:\Project\logs
Example8: cfcli.bat C:\Project\hello.cfm foo name=bar -outputdir=C:\Project\classes -logdir=C:\Project\logs

It's not cfcli.bat. It's cf.bat. There is no such thing as cfcli.bat.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4177334

External Customer Info:
External Company:  
External Customer Name: Adam Cameron
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

This bug is fixed in CF2016 HF2. I have applied the update 2 and verified. Can you confirm, that you have applied the update to the in-built server of CFB2016 and the build number shows up to 2016,0,02,299200?
Comment by HariKrishna K.
2073 | August 01, 2016 03:09:01 AM GMT
I D/Led CF Express from your site on 2016-08-01, so it's whatever version you offer for download. Is the download not up to date? It reports 2016.0.0.297996, so I guess not. You should probably get onto that. I'm behind a firewall I have no control over, so I cannot run the update here. I'll try to remember to check from home tonight. Cheers for the feedback.
Comment by External U.
2074 | August 02, 2016 03:44:20 AM GMT
We don't refresh Full installers/ Express installers for every update. You have to apply the update to get the latest fixes.
Comment by HariKrishna K.
2075 | August 02, 2016 04:03:30 AM GMT
Oi! You not shipping the most recent version of CF in yer downloads is *not* "user error" you muppets (as per the closure reason). I'd grant you "duplicate" if indeed there was an earlier ticket (in which case pls update/cross ref), failing that, this was definitely a bug in the version of CF I was running, which was the version yer own staff suggested I downloaded. You could have not been dicks and just marked it "fixed", too, couldn't you?
Comment by External U.
2076 | August 02, 2016 11:54:59 AM GMT