Issue in clearcase --adding files to source control - clearcase

i m trying to add files from CCRC WAN(clearcase eclipse client ),It is not accepting for the same .
I want to add those files directly to the server to a particular config spec .
please help me with the steps .

Related

Could not edit the server file in Adobe Bracket. No program error, just hang

I have a problem with edit the file placed in the server by Adobe Brackets. On my Notepad++ I used the NppFTP plugin but now I would like to edit the files via Bracket. I installed 'Brackets Website Admin' plugin... I filled the settings like in the print screen:
I can see all file names but I cannot edit it.
The program shows me the info that is trying to connect to the server. My question is if this is possible to edit them 'live' on the server like I can with NppFTP on Notepad++ ?
I have tried also with 'eqFTP' but it did not even show me files from the server.
1 Get the latest version of the plugin
2 Ensure project folder is not write protected
3 Give Brackets ADMIN rights

What is the difference between the 'sites-enabled' and 'sites-available' directory? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 months ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
What is use of these two directories in Apache 2 and how can we do it?
The difference is that virtual sites listed in the sites-enabled directory are served by Apache. In the sites-available directory there are the virtual sites that exist on your server, but people can't access them because they are not enabled yet.
sites-available: this directory has configuration files for Apache 2 Virtual Hosts. Virtual Hosts allow Apache 2 to be configured for
multiple sites that have separate configurations.
sites-enabled: like mods-enabled, sites-enabled contains symlinks to
the /etc/apache2/sites-available directory. Similarly when a
configuration file in sites-available is symlinked, the site
configured by it will be active once Apache2 is restarted.
See https://help.ubuntu.com/lts/serverguide/httpd.html.
Important information
If you are still using sites-available/sites-enabled pattern, you should edit files only in the sites-available directory.
Never edit files inside the sites-enabled directory. Otherwise you can have problems if your editor runs out of memory or, for any reason, it receives a SIGHUP or SIGTERM.
For example: if you are using nano to edit the file sites-enabled/default and it runs out of memory or, for any reason, it receives a SIGHUP or SIGTERM, then nano will create an emergency file called default.save, inside the sites-enabled directory.
So, there will be an extra file inside the sites-enabled directory. That will prevent Apache or nginx from starting. If your site was working, it will not be any more. You will have a hard time until you find out, in the logs, something related to the default.save file and, then, remove it.
In the example above, if you were editing the file inside the sites-available directory, nothing bad would have happened. The file sites-available/default.save would have been created, but it wouldn't do any harm inside the sites-available directory.
Update
The sites-enabled/site-available pattern is deprecated, according to The Complete NGINX Cookbook in NGINX official site.
The /etc/nginx/conf.d/ directory contains the default HTTP server
configuration file. Files in this directory ending in .conf are
included in the top-level http block from within the /etc/
nginx/nginx.conf file. It’s best practice to utilize include state‐
ments and organize your configuration in this way to keep your
configuration files concise. In some package repositories, this folder
is named sites-enabled, and configuration files are linked from a
folder named site-available; this convention is deprecated.
Instead of using sites-enabled/site-available pattern, just add a your-site.conf under the /etc/nginx/conf.d folder.
You configure your site mysite by creating or editing the file mysite.conf in sites-available (you can also configure several sites in the same .conf file, if you prefer).
After this, for publishing the site you must create the correspondent symlink in folder sites-enabled. In Ubuntu you can do it like this:
a2ensite mysite (with sudo, if necessary; and without the final .conf)
And then you must reload Apache:
sudo service apache2 reload
Later, if you want to modify the configuration, you only touch the mysite.conf file in sites_available. Changes apply automatically in sites_enabled, through the symbolic link. Just remember to reload Apache.

WPF - INSTALLSHIELD LE - Additional Files

I have the following situation:
WPF Application
I know about the different ways of deploying. (CAO, InstallShield, ..)
Project includs some Report Files (.rdlc) which
are used by calling them via Path - Right now in a Subdirectory of my PRojectfolder
The Paths are defined in Settings
BUT:
I absolutely dont know how to handle this situation during and after Installation.
If I provide the rdlc files as additional files, how can I automatically change the path, after installation (so that the App can find them), because I dont know before the path of the new client machine. Or do I misunderstood an the InstallShield is managing this files and paths automatically!
Can anybody help me with the right strategy (I am not looking for Code)!?!?
Thanky in Advance
In the installer, place the files relative to INSTALLDIR directory. INSTALLDIR can be modified by the user during installation. You may want to save the value in a registry or a configuration file. For registry, create the required hive and key and set its value to [INSTALLDIR]. For configuration file, you would need to write a custom action that modifies the file with the chosen INSTALLDIR.

Export Connection Configuration from RDC Manager [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to export connection groups [.RDG files] configured in RDC [Remote Desktop Connection] Manager. Is there a way to do this?
N.B. I could not get hold of the file in the file system.
I just figured it out myself. Just select the group, Choose File -> Save As -> filename.rdg. :-)
Although when you use the Open/Save commands in RDC Manager it shows the path:
C:\Program Files (x86)\Remote Desktop Connection Manager
When you actually search for .rdg files across the pc, you will find that these are in fact stored in a virtual store.
Try access the following location:
C:\Users\Your User\AppData\Local\VirtualStore\Program Files (x86)\Remote Desktop Connection Manager
From the VirtualStore location, you can copy and paste the files to make it easy to transfer between different pcs.
If you try right-clicking on the group you will only see the SAVE option. The interesting thing is, it appears that your saving a "file" as the file explorer dialog will come up. If you save the file, (say: testRDCPgroup.rdg) and browse to the default directory: C:\Program Files (x86)\Remote Desktop Connection Manager; you will not find that file (!). If you go back into RDCM and choose OPEN, and browse to that location, you can OPEN the "ghost" file [I just double checked that show hidden files and operating system files is enabled, so I can see both].
This took me about an hour to figure out too, if you select the group and go into the MENU you can do the SAVE AS; which will allow you to save the .rdg file to a different location.
The .rdg file created from the menu opens beautifully on another computer using file->Open.
One of those things that is EASILY overlooked and will have you feeling like it's your first day on the job.
How to Export your RDP connections -
C:\Users(Your USER
PROFILE)\AppData\Local\Packages\Microsoft.MicrosoftRemoteDesktopPreview_8wekyb3d8bbwe\LocalState\RemoteDesktopData\LocalWorkspace
1) follow the above directory
C:\Users(Your USER
PROFILE)\AppData\Local\Packages\Microsoft.MicrosoftRemoteDesktopPreview_8wekyb3d8bbwe\LocalState\RemoteDesktopData\LocalWorkspace
2) Copy the Folder called Connections
C:\Users\CYBERPOWER\AppData\Local\Packages\Microsoft.MicrosoftRemoteDesktopPreview_8wekyb3d8bbwe\LocalState\RemoteDesktopData\LocalWorkspace**connections**
NB: the file is locked try to copy in SAFE MODE or USE Backup software to backup this folder - it might not work if you copy this folder just like is...
Import - Make sure you have downloaded the app on your new device https://www.microsoft.com/en-za/p/microsoft-remote-desktop/9wzdncrfj3ps?rtc=1&activetab=pivot:overviewtab
or
https://aka.ms/rdapps
1) past & replace in new location
C:\Users\CYBERPOWER\AppData\Local\Packages\Microsoft.MicrosoftRemoteDesktopPreview_8wekyb3d8bbwe\LocalState\RemoteDesktopData\LocalWorkspace\connections
NB:it might say you do not have permission...
give your folder Permission and try again.
You can just log out and log back into your Profile and this will take affect.
NOTE: This is for the Remote Desktop Client. https://aka.ms/rdapps

How to add all the files in a folder to source control via cleartool command?

I am having a folder where lot of files and subfolders , adding it to source control via UI is consuming much time.
How to add all the files (including files inside subfolder) to source control using cleartool?
(I am using clearcase UCM)
As mentioned in "How can I use ClearCase to “add to source control …” recursively?", clearfsimport is the way to go.
However, clearfsimport will take a source an import it in your view, so:
it is best to keep the source outside your view (to avoid confusion when ClearCase tries to add the source file in the destination which is the same directory)
you must "clean out" the source directories first (because the clearfsimport command will import... all the files under the root directory you mention)
See "Creating a new subdirectory structure in ClearCase?" as an example: you can preview the result of an import first.
Please user clearfsimport or if you are working with eclipse or Intellij then there are plugins from sourceforge (eclipse) which has a options to share entire project at once to CLearcase , Below are the plugin details.
https://sourceforge.net/projects/eclipse-ccase/
Note : Clearcase has a limitation that if there is a text file with more than 8000 characters in single line , There is error at run time using clearfimport utility, This can be solved by writing your own bash script to do recursive checkin by handling the exception case . Hope it helps .
I saw another comment from a similar clearcase question that suggested typing in '*' in the topmost directory required, select all, rc->cc->add to source control.

Resources