How do I change active build configuration in Delphi? - delphi

Any time I compile, build or run my project it outputs the exe file into the Debug\Win32 folder, so I guess it is in debug mode.
When I go to : Project->Options I can see the debug(active)
But I don't know how to switch to release. When I change the combo to release, debug is still active.

Open the project manager from the View menu, or use the shortcut Ctrl+Alt+F11.
Find the Build Configurations node in the project manager's tree view and open it up.
Double click on Release.
The active build configuration is indicated in the project manager by boldface text.

Related

Rider treats freshly checked out Projekt as "All files are new"

I am using the TFS Integration Plugin, as the built in TFS Connection somehow is not able to connect to our TFS. With the same login/path I am able to check out projects from our TFS but then Rider treets the freshly checked out project as "not under version control" and does not recognize any changes.
I can add them all to version control and after that Rider recognizes changes in files. But it also still thinks that all other files are new, which is really not the case. In this picture, I added all files and changed one.
Am I doing something wrong here, as I am used to VS/TFS Version Control or might this be a bug? I asked the same thing in the community forum, but there is no real activity...
Have tested installing riderRS-171.4456.902.exe (Windows), the TFS Integration plugin has been bundled with Rider and enabled VCS-TFVC successfully. And it can detect the changes correctly. Please follow below requirements:
You must have the TF command line tool installed to be able to use
TFVC features. The minimum version supported by the plugin is 14.0.3.
To install the tool, download the latest "TEE-CLC-14...zip" file and
extract it to a known location. After extracting the files, you must
accept the license agreement. To do so, open a Command Prompt/Terminal
window, navigate to the extracted directory, and run tf eula. After
reading the EULA, enter y enter code hereto accept it. NOTE: If you
forget to do this, the plugin may fail to load with a
RuntimeException.
For the tool to be detected by the plugin, you must set the location of the executable in the Settings/Preferences menu by following these instructions:
Go to RD Settings Version Control -TFVC
In the Path to tf executable text field, navigate to the location of
the tf executable.
Click Test to test that the executable has been found and is working
as expected.
Click Apply then OK to save and exit.
Also check below things:
If TFVC does not come up as your version control system (VCS) then it
can be set manually. Go to the VCS dropdown menu in the toolbar and
select Enable Version Control Integration. Select TFVC from the
dropdown menu and click OK.
More details please refer this tutorial.
Please try to setup a new created project or select another project when you are using Rider with TFS. To narrow down if the issue is related to that special project.

TFS Build Drop Folder

I'm currently working on a custom build process and have a problem with the understanding of drop folder. The process creates only some reports which we need for further development. We are using TFS/VS 2012.
What I actually need is either a folder on the buildserver where the Reports are going to be saved and accesable from everyone or on each team members local machine a drop folder. In my opinion the first solution should be better but is it possible, since I'm the only one out of my team which has Access to the buildserver.
If I select the UNC path to the drop folder on the buildserver can other People without Access to this Server use the "Open Drop Folder" button? And how do I even copy files to the drop folder? Is it enough to just do CopyDirectory? In the moment it always says: "This build did not produce any Outputs. The drop Location field is empty..."
I would be really glad if someone could help me.
The purpose of the drop folder is to copy the result of the build from the working folder of the agent and somewhere where it will not be changed by a later build. The share can be on the build server or on another server. No matter what you need to control the permissions to that folder so that whomever needs access has it. Otherwise the Open Drop Folder button will not work.
You can enable so that the build results are copied to the drop location upon build completion. This is a bit different whether you use Build vNext or XAML build. Since you are using TFS 2012, I guess that you are using XAML builds. Drop location is specified under the Build Defaults tab of the build definition.
The output folder from your build will be copied so assemblies, test results etc. will be copied to the drop location when enabled. If there is something extra that you want to be included in your drop, then copy it to the output folder or create it there directly.

How do I setup a QNX project to generate debug executable?

I imported an existing code base, which was setup for QNX into QNX Momentics. Using v6.5 of the OS with Service Pack 1.
Everything out there in the tutorials about debugging say to turn on a Variant, but my project settings doesn't have a section for Variants.
Where would I create the flag to generate the debug runtime?
In QNX Momentics you need to right click on the project (from the Project Explorer window) and select "Properties". In the list on the left side of the properties window choose the "QNX C/C++ Project" item. The right side of the properties window will show a multi-tabbed set of properties. The second tab is "Build Variants". Select it. Make sure you have both the release and debug variant ticked for your target hardware, you might need to expand the target type.
For example, "X86 (Little Endian)" has two child items for "debug" and "release".
The other thing you might need to make sure of is that when you create your "Debug Configuration" to execute the application with the debugger is that you use the debug variant as the application to launch - it should have a "_g" suffix.

Using Subversion with XCode 4.6

I have little experience using VSS before. For iOS development, I have installed Subversion on a remote Windows machine and accessing it from my Mac. And I have a few gray areas to clear up.
This is one of the tutorials I followed. But its written based
on an older version of XCode. The SCM tab in XCode preferences is
not in XCode 4.6. Is it completely removed or moved somewhere else?
The main reason to choose Subversion over Git was the ability to
lock files in Subversion. I know you can do it through the Terminal.
Is there a way to do it through XCode itself?
Say I checkout an XCode project to my local mac. And locked a
certain file. An another co-worker also checkout the same project to
edit that same file I locked. I read that the other person can also
edit that file but he cannot commit it back since it is locked. Is there a way to
notify the other people that a certain file is locked at the time of
checking out?
In the repository, I have created the standard tags, branches and
trunk folders. The project should be in trunk folder, right?
From the menu bar, choose Window > Organizer. Then in the Organizer window, choose the Repositories tab. The + button at the bottom left lets you add a new repository.
No.
You could try setting the svn:needs-lock property, I suppose, but you won't be able to do that from Xcode.
Yes.

How to see changes in local working copy in TFS?

I'm an experienced SVN user getting used to TFS at a new client site. The main problem I've had adjusting to the new tool is this - how can I get a listing of all files in my working copy that have changed from current/latest server revision, including added or deleted files?
Essentially, I'm looking for the TFS equivalent of an "svn diff". The "TF" command-line tool has a "diff" command which reports changed files but I can't find an option to report deleted or added files; this missing feature has resulted in a couple check-ins which (embarrassingly) broke the build.
Which version of TFS?
TFS2010 has a folder compare command, File > Source Control > Compare... (or in the Source Control Explorer, right-click on the project path you're interested in, and select Compare...).
Set up the Source path to be a folder on the server and the Target path to be a local folder in your workspace (or vice versa). Under View Options, select Show items that exist only in source path, Show items that exist only in target path and Show items that are different and click OK.
Is there any reason you can't use the Source Control Explorer?
If you right click on the folder, project or branch you can click Compare and you will see all files that have been deleted or added.
I usually do the following:
Open your Team Explorer tab in Visual Studio and click on Pending Changes.
There you will see your changed files.

Resources