Does the ColdFusion jnbridge license allow (command line) use of jnbproxy? - coldfusion

The ColdFusion documentation describes how you can use jnbproxy from the command line. However even my simplest attempts to run it via the command line (developer edition) fail with the error "Invalid or expired license". The GUI tool works perfectly.
Has anyone successfully used jnbproxy from the command line? Or could this be an error in the documentation?

Did you add the "/cf" option in the command line? Check the details at this link

It should work, according to the documentation you can use it from the command line
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet_09.html

Related

Running SonarQube analysis scan - SonarSource build-wrapper

I'm new to running SonarQube scans and I get this error message in the log in Jenkins:
16:17:39 16:17:36.926 ERROR - The only way to get an accurate analysis of your C/C++/Objective-C project is by using the SonarSource build-wrapper. If for any reason, the use of the build-wrapper is not possible on your project, you can bypass it with the help of the "sonar.cfamily.build-wrapper-output.bypass=true" property. By using that property, you'll switch to an "at best" mode that could result in false-positives and false-negatives.
Can someone please advise where I can find and run this SonarSource build-wrapper?
Thanks a lot for your help!
To solve this issue, download the Build Wrapper directly from your SonarQube Server, so that its version perfectly matches your version of the plugin:
Build Wrapper for Linux can be downloaded from URL
http://localhost:9000/static/cpp/build-wrapper-linux-x86.zip
Unzip the downloaded Build Wrapper,
Configure it in your PATH because it's just more convenient
export PATH=$PATH:/path/where/you/unzip
Once done, Run below commands.
build-wrapper-linux-x86-64 --out-dir <dir-name> <build-command>
build-wrapper-linux-x86-64 --out-dir build_output make clean all
Once all this done, you have to modify your sonar-project.properties file with following line. Note the dir-name is same directory which we defined in previous command.
sonar.cfamily.build-wrapper-output=<dir-name>
and then you can run the sonar scanner command.
sonar-scanner
this will do the analysis against your code. For more details, you can check this link.
Contacted support, turns out this was caused by missing the argument sonar.cfamily.build-wrapper-output in the scanner begin command.
Build wrapper downloads:
Linux: https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
macOS: https://sonarcloud.io/static/cpp/build-wrapper-macosx-x86.zip
Windows: https://sonarcloud.io/static/cpp/build-wrapper-win-x86.zip
Some links covering how to run the build wrapper:
https://docs.sonarqube.org/latest/analysis/languages/cfamily/
https://blog.sonarsource.com/with-great-power-comes-great-configuration/

Commands given for cmake and doxygen in _vimrc give error on gvim start up?

I am a beginner to vim and just downloaded the c-support plugin (for C/C++ programming) from the following link: http://www.vim.org/scripts/script.php?script_id=213
As advised in the link, to enable cmake and doxygen, i added the following lines to my _vimrc:
let g:C_UseTool_cmake = 'yes'
let g:C_UseTool_doxygen = 'yes'
However, now when I start up gvim, I get the following error message dialog:
Could not load the tool "cmake" (Vim(let):E117: Unknown function: mmtoolbox#make#Interface)- occurred at C:\Users\Satyendra\Vim\vimfiles\autoload\mmtoolbox\cmake.vim, line 219
My OS is Windows 10. How do I resolve this error?
(Posted on behalf of the OP).
I opened an issue on C-Support's Github page, and the problem was solved.

xtk-deps.js file missing?

I am ref to https://github.com/xtk/X/wiki/X:DevelopersHeadsUp
I tried Running XTK during development.
I did the following steps
1) Fork XTK on Github to get the latest sources http://github.com/XTK/X
2) Clone it to your hard drive
But i couldn't find the xtk-deps.js file in the folder.
When i try
./build.py -d
Its complaining that "The command line is too long" and not generating xtk-deps.js file. Can some one help me where i went wrong ?
Yep, the error comes from the python script builds via a shell command line which is too long for the Windows prompt. The best is using Linux or Mac, or we can give you one and then you'll have to edit it manualy when you add/remove classes but it's not the easiest !

Add Login Item from Command Line Tool on OSX

I just got an assignment where I need to add the running program to the login items for all users on OSX >= 10.5. The program is a command line tool and I am developing it in xcode. I found some ways to add login items, but they either run from a shell or use the cocoa framework.
How can I do this?
Here's an example of how I've done this from the command line:
defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '{Path="/Applications/Utilities/Terminal.app";}'
To execute a command like that from Obj-C, see this thread:
Cocoa/ Objective-C Shell Command Line Execution

How do you run a command line program after compiling with GCC on OSX?

Some of Facebooks programmer puzzles look fun, so I'm trying to get set up to code in C++ on my mac. I decided to try compiling some of my old CS homework with GCC to get started.
My code compiles fine, but when I try to run the executable (called "encrypt") I get this:
-bash: encrypt: command not found
I checked the permissions on the file and it seems to have execute permission. What am I missing here?
The current directory isn't in your $PATH, so you have to tell the shell to execute encrypt in the current directory.
./encrypt
or
/path/to/directory/encrypt
You need to execute it as ./encrypt
Try ./encrypt rather than encrypt. Bash won't look for executables with relative paths outside the path.