Eclipse EE can't expand folder called 'services' - angularjs

I am developing a mobile application using IBM Mobile First using AngularJS in Eclipse EE. I have a basic file structure containing folders 'controllers', 'directives', 'filters' and 'services'. The problem is with Eclipse: In the Project explorer I can't seem to expand the 'services' folder. I can see the content of the folder in Windows Explorer as well as Sublime Text File three. When I rename the folder to something else I can however expand it in Eclipse.
What is the cause? Is there a solution to this problem or is it just something I have to live with? Any suggestions on alternative names then? I have to use Eclipse due to policies at my workplace.

There is special treatment by some Eclipse versions for folders named "services". By default, at least in some views such folders are hidden.
You can modify the view settings to turn off this very annoying behaviour. Bring up the view menu by clicking the little triangular icon, top right
select Customize view and in the content tab unselect Services Navigator Content.
Your services folder will now be visible.

I believe there was once such an issue in MobileFirst - so I suggest one of two things:
Download the latest Studio update from IBM Fix Central, or the one from the Eclipse Marketplace.
Use a different folder name.

Had the same issue.
There is a folder named 'services' created by MobileFirst by default(It is present after the 'server' folder).
So rename your 'services' folder to just 'service'. This is what I did.

Related

Guibuilder right menu option not available

Using Eclipse Photon and the newest version of the Codename One plugin, I have an issue where I create a new project and then create a GuiBuilder form inside that project, but when right clicking on that form I do not see any of the Codename One specific options I should be seeing, like the Guibuilder option. So I can't open the form in the Guibuilder.
This is happening in a 36 seat computer lab, but not on my office machine. Any ideas what might be going wrong in the lab?
If anyone else has this same issue, as Shai suggested, it had to do with where the Eclipse workspace was located. In my case I had it on the lab desktop.
There were spaces in the path, but even removing those did not solve the problem if the workspace was on the desktop. When I moved the workspace to the user folder, all started working as I would expect it to work.
There might be an issue with the length of the workspace path, along with special characters. Regardless, relocating the workspace to c:\users\win10\workspace solved the issue for the lab computers.

Updating DotNetNuke image library

Have written simple file picker control for my dotnetnuke site, because the one that ships with dnn doesn't really do what I need. The file picker uses System.IO for collecting directory information and uploading files to the portals root and subfolders. These images can then be inserted where ever I need them. The problem is images uploaded in this manner don't seem appear appear in the file manager or image manager used by the html/text module.
Is there anyway I can register these files with dnn when I upload them so they will also appear in the html/text image manager?
What would be even better is if there is a way to use the image manager that is built in the html module, outside the module although am not looking to buy a pre-made module.
Any thoughts?
You would want to use the DNN API for uploading files.
As for using the built in Image Manager that you find in the HTML module, that is part of the Telerik Rad Editor. You might be able to dig through the source for the Rad Editor Provider and figure out how to include just that portion into an outside module, though that might technically require a valid Telerik license to do.

Difference between different project files in Netbeans

I have in my working environment always more then one project open, some of the have same files but are from different project, and finding out which of them are from which project can be a real pain in the ass(however 2 sec over the div and see which folder are they from)
Is there a way to mark them so i can tell which file is from which project?
I am using NB 7.3 64bit for Windows.
There is a plugin which shows the path in the title: http://plugins.netbeans.org/plugin/42000/show-path-in-title
And if you are switching files via CTRL+Tab the path of the selected file is shown on the bottom of the window.
Maybe this helps.
The window title for me is: "{project name} - NetBeans IDE 7.2.1". Directly on the tab I don't know how to put this information, but I use "View -> show versioning labels". Instead of various projects open, I have various "instances" of the same project on different branches in my VCS.
I'm using Ubuntu.
UPDATE
Just reinstalled NetBeans 7.3 on a Windows VM and the behavior is the same: project name prepends "NetBeans IDE {version}" in window Title.

Special Folder "Common Application Data Folder" not available in my setup project. Why?

I want to create a Visual Studio 2010 setup project that deploys some files to a folder where my application can use it from. I want it so, that all users have the same files, and that they also could manipulate them without admin rights.
Thus, "Common Application Data Folder"* as described in this MSDN article, seems fine.
However, in my Visual Studio 2010 setup project I did not find the "Common Application Data Folder" available in the "Add special Folder..." drop down menu.
I have a .NET 4.0 WinForms app and see no reason why this does not show up.
The user's common application data folder is available but does not match my intended use.
Thanks for any hints!
Visual Studio setup projects do not have a predefined folder for common Application Data. However, you can install files in it like this:
add a custom folder and select it
in its Properties pane set DefaultLocation to:
[CommonAppDataFolder]
in this folder add the files you want installed in common Application Data
During install CommonAppDataFolder will be automatically resolved by Windows Installer.
A more specific solution might be to set the DefaultLocation property to:
[CommonAppDataFolder][Manufacturer]\[ProductName]
Manufacturer and ProductName will be resolved from the values you assign to the corresponding properties of the setup project.

clickonce file missing

Using Clickonce with VS 2010 and .NET framework Client profile 3.5, I have several file folders with application level XML and/or textfiles that are needed at runtime.
The file folders sits in the same project where they are to be used.
These files are marked as "Copy always" at compile.
Build Action is "Content".
On my development machine the files are actually copied into the ./Bin/Release/myFileFolder/xxxxx and all is fine.
On user's computer, install runs fine but some files are reported missing at runtime when the program need them.
Do I miss something? Is any file specific option deep hidden in the option list?
Help please! and .NET framework 3.5
If the files are in referenced projects then they are not included in the click once publish by Visual Studio. You can verify this by checking the application files dialog in the publish page of the project properties.
Assuming this is the case to get these files included you can either add them as links in the main project itself or edit the project file to include extra files in the manifest. See ClickOnce Content Files for information on how to do this.
I can confirm that this can still be an issue in Visual Studio 2019.
I have been working on DevExpress dashboards that consume XML files at runtime to produce their dashboard layouts, and whenever I would publish my project, I would get a bizarre error about the XML file not being found when clearly it was published to the same output directory as the rest of the project.
Just to be clear, the XML file existed in my Visual Studio project and was set to Build Action = Content and Copy Always To Output Directory.
What I had to do was what was suggested in this answer:
Go to Project Settings.
Open the Application Files list.
Change the Publish Status of the XML file - which Visual Studio automatically set to Data File (Auto) - to Include.
Voila. FileNotFound error magically disappeared after publishing the project.
A workaround is to make your application create the xml/txt files if they dont exist.

Resources