NetBeans: How to disable project files copying on remote host - c++

I'm trying to build project on remote host using NetBeans 8.1.
I create the project and try to build it. NetBeans shows me in build log
Copying project files to /home/user/.netbeans/remote/hostname/desktop-Linux-x86_64 at user#hostname
Building project files list...
Checking directory structure...
Checking previously uploaded files...
Checking links...
Uploading changed files:
Zipping 1 changed files...
Uploading zip to user#hostname...
Unzipping changed files...
Checking exec permissions...
Uploading changed files finished successfully.
NetBeans builds my project in this directory not in the project home directory.
How can I disable files copying and make NetBeans to build project in it original directory?

It seems like you had selected SFTP, you have to select "System Level file sharing (NFS, Samba)
then do Path Mapper, that's all

Related

Dont open project from github

I download project from github in my Termux terminal, but after download, when I pass the command "сd /*projectname*" termux said me: No such file or directory
I tried find this project in file manager in my Android, but the all folders in /com.Termux are empty.
Then I'm pass the command git clone https:/github.com/developer_name/project_name and Termux told me - destination path *projectname* already exist and is not an empty directory
Ive got 2 question
How I can open projectname in Termux?
Which full path from downloaded project from github?
use (apt-update && apt upgrade) first then other commands

Unable to run a program in Visual studio 2019, Selecting Local Windows Debugger gives me error Access denied

Currently, I am working on cloning the Cilantro github repository. I did using Cmake and also downloaded the required dependencies. The issue is I cannot run any files inside the project as well as newly created .cpp files for testing.
When I build the project it does builds successfully. but Whenever, I try to run by clicking in Local windows debugger I keep getting error unable to start program access denied.
snapshot of my current error
Things, I have done but not helped
uninstall MC*** antivirus
disabled the Real-time protection in systems virus security
rebuild the project and it build successfully
snapshot successfull Rebuild
also tried making cilantro as my set as project but than I am getting following error.
cilantro, set as project
I need help to run the project and remove the following error. Also,is there an easier way to clone and run the project in visual studios without using CMAKE GUI?
IDE: Visual Studios; Trying to run C++ program
Used CMAKE gui to build this project Cilantro
Github which I am trying to run is : https://github.com/kzampog/cilantro
make you project as set as startup project
Solution Explorer > cilantro (Right click) > set as startup project
official doc

Update build number from installer output in TFS (Advanced Installer Updates Configuration Project)

I'm currently building a project on TFS and using the Advanced Installer build tasks to create an installer and the updater text file. The 2 Advanced Installer Build tasks on TFS are:
1) The first one creates the installer from the Publish Build Artifacts (This works fine)
2) The second one grabs that installer, should get the build number of the installer file and create the updater.txt file with the proper information. (This does not work)
When I run this project on my computer, I have to manually upload the installer executable from the Update Installer/File path section so the project can recognize that is a new build number. When I click on Build and it outputs the correct updater.txt file.
Is there a way for the Advanced Installer Updates Configuration Project in TFS to automatically detect that the installer .exe changed?
Thank you
Build installer settings:
Project: Installer.aip
Build:
Output Package Name: Installer
Output Package Folder: /Output/
Command Line Arguments:
Build Updater settings:
Project: Updater.aip
Build: /Output/Installer.exe
Command Line Arguments:
Link to configuration files on Google Drive

WSO2 Carbon Identity Server - Build and run

I've modified a .jsp file in the org.wso2.carbon.identity.entitlement.ui package, in order to customize the server for my purposes.
The problem is that when I build the project with Eclipse, the build is successful, but I don't understand how I can actually run the compiled code. How can I do it?
Once you build the project with maven, in the target directory you will find the jar (OSGi bundle). In your IS Server under /repository/component/patches, create a new directory something similar to "patch0100". Copy the jar inside this "patch0100" directory and restart the IS server.
The number in the patch directory (0100 in this case) is important. If you put the same jar to a patch directory with a higher number, say pactch0200, that particular jar with override the earlier one. That's how patching works in WSO2 Carobon Server, which is the platform on which the products are built.

How do I minify javascript files using RequireJS in AppHarbor?

In my Release post-build event I run node.exe in order to minify and combine my javascript files with RequireJS. This creates new folders and minified files inside my website folders which I then reference in my HTML when debugging is disabled.
node.exe is contained within my source control, and building this on my local machine works fine.
When this is built on AppHarbor, I am getting the following error straight after running
"node.exe <<PATH TO r.js>> -o <<PATH TO app.build.js>>"
:
fs.js:520
return binding.lstat(pathModule._makeLong(path));
^
EXEC : error : EPERM, operation not permitted 'D:\temp'
Is this because I don't have permission to create folders/files on AppHarbor? How would I be able to get around this and build the minified files?
I don't want to have the minified files pre-built into source control.
From AppHarbor FAQ:
http://support.appharbor.com/kb/getting-started/frequently-asked-questions
My application cannot write files
By default, applications deployed on AppHarbor can only write to the App_Data folder.
You can enable write access to the entire application directory application settings.
Note that changes (both to App_Data and the rest of the application directory) are not persisted between deploys and you should only use it for caching and other temporary uses.
Hope this helps ;)
The best way to resolve this is probably reproduce the AppHarbor build locally and ensure that everything goes where it's supposed to go. This is what you want to run: msbuild solution.sln /p:Configuration=Release /property:OutDir=C:\temp. There's more in the FAQ: http://support.appharbor.com/kb/getting-started/frequently-asked-questions