Eclipse XML catalog entry - dot in directory - eclipse

Is there a way how to location of XML catalog entry in Eclipse where location has dot in one of its directories, for example when location is C:\Users\xyz\.m2\repository\org\springframework\spring-beans\3.0.3.RELEASE, Add XML Catalog Element popup gives me this message "URI must not include '.' or '..'".
The problem is in .m2 directory (it has dot). Do I have to rename it or is there a way to get around the problem?

Try using a URI escape for a dot... %2E

Related

Unix file associations of mime-type with multiple extensions

Unix File Associations is a welcome new feature in install4j 8.
I'm trying to register multiple file extensions as file associations with the same mime-type with the install4j 8.0.1 Unix Shell Installer.
The "Create a File Association" action only seems to accept one file extension so I initially tried adding multiple of these actions with a different extension but the same mime-type. This seems valid, but when it translates into the actual installation of the application it appears that the mime-info XML files being made are named with the same mime-type and so all but one get overwritten. This leads to only one file extension being associated with the mime-type.
I've also tried various separators (space, comma, semi-colon) in the file extension field, but this just ends up as a single unlikely looking extension in the mime-info XML file!
(e.g.
<glob pattern="*.ext1,ext2" weight="60"/>
)
The mime-info XML format allows multiple <glob> elements, so the mime-info XML file could contain, e.g.
<glob pattern=".ext1" weight="60"/>
<glob pattern=".ext2" weight="60"/>
but I can't see a way to get to this from install4j8.
Is there a way?
As of 8.0.1, this is indeed not possible. In 8.0.2, you will be able to specify multiple extensions separated by commas. Please contact support#ej-technologies.com to get a build where this is already implemented.

Search for Folder Name Using Eclipse "Search in File"

How can I use 'search in path' for Eclipse Mars 2.0 to find a string pattern in either the name of a file and also find a string pattern in the name of a folder?
I have a folder named 'Personal Finance' in a git repo that I primarily use Eclipse to work with. When I search in file for 'Finance' the only search results that show up are in files themselves. Is there a way in Eclipse to search file names and folder names simultaneously?
Do not use Search dialog(Ctrl+H) for this. It searches inside the file content.
Use open resource dialog(Ctrl+Shift+R).
In the input pattern text box enter
<Folder/File NamePatter>/
For example:
*handler/
This will list all files which has handler string in their names and present under the folders which has handler string in their names.
*handler/*nature
This will list all files which has nature string in their names and present under the folders which has handler string in their names.
See this post for more details When typing in Open Resource dialog, is there a way to find files by directory instead of just the file name? also look into this bug and read all comments.
This may not interest to you but have a look on it:
In this blog you can find the details of a plugin which filters resource in package explorer view by name patterns. But now its limited to filter only projects. Go through this bug and this bug

BSP Application upload generates hashed filenames without folder structure

After the upload the a sapui5 application on the SAP system has a strange structure. The files are not in the same structure as they were on my machine and the filenames are hashed, except MIMEs. So I am not able to find e.g. a specific "controller.js". The application is still fully working.
In this specific case the SAP Program "/UI5/UI5_REPOSITORY_LOAD" was used to upload the application. The upload protocol looks fine, no hint about renaming or similar. So I am not sure if the problem is with the system or the program.
All the hash files name should be normal naming and should be in sub-folders components. Even the "index.html" file has a hash, this cases a problem when click on "test application", because it opens the hash in the URL. The hash, which is the path and the filename cannot be opened, but if I replace the hash with the original path -> it works
http://scn.sap.com/thread/3809662
A work colleague found the issue in the sap system. It seems it is not allowed to have path + filename longer than 70 characters. If it is longer it hashes the path and filename to place it under the project root folder.
The german comment seems very strange, though ... "Name length should not be a
problem. Do we have anyhow a max length?"
It also creates a file containing the mapping from filepath + filename to hash.
You should not use file names longer than 70 characters.
Also you should not use '-' in your file names.
As far as I know the only allowed characters for valid BSP paths are:
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789./_"

Invalid Binary - iphone app submission

Receiving this error after submission to Apple saying my binary is invalid.
Invalid File Name - Your package contains a file ' .app/FBUserSettingsViewResources.bundle' with a name that contains invalid characters. Avoid using control characters in the file names.
Invalid File Name - Your package contains a file ' .app/es.lproj/RematchButton#2x.png' with a name that contains invalid characters. Avoid using control characters in the file names.
Invalid File Name - Your package contains a file ' .app/VU.png' with a name that contains invalid characters. Avoid using control characters in the file names.
it appears that the error is with the space before the ".app' in each path.
Any ideas how to fix?
Thanks!
Check the path for these images.
It sounds like you might have added the images from another application's .app directory. When you add an image to your project check the box that says "Copy".
To check the location of the images:
Select the Image on the left in Xcode and select the "File Inspector" on the right. You want the images to be located within the same directory as your project.
I can't remember the exact scenario, but I've had something similar happen to me in the past. I think I resolved it by removing the troublesome files from Build Phases>Copy Bundle Resources then re-adding them to the project. Not ideal, but it seemed to work!

How do i remove the source path in doxygen

I am using doxygen to generate a chm document for my header files. I have a problem in removing the path of the source (i.e header files) in my chm. For example if the path of my header files is c:\users\dx\Desktop\myprogram, my path seems to appear in the file reference, right below File List and File Members (i.e when i click on files -> and then on my header file name i am able to see the absolute path of my header files )
The link below is an image of a screen shot of the problem i am facing.
https://www.dropbox.com/sc/qzodmybui6nxub2/BeAqf7y2jM
How do i remove the directory reference, header file reference, how can i prevent those paths from displaying?
I tried removing source_browsers, verbatim_headers, strip_from_inc_path none of them worked
Thanks in advance.
Ps- Extremely sorry about the poor description, i hope the link would help to understand my problem
Set FULL_PATH_NAMES = YES and STRIP_FROM_PATH = ../
The value passed to STRIP_FROM_PATH is dependent on where you are running doxygen from. I am assuming you are running doxygen in a subdirectory of the root of the source.
Enable Full_Path_Names
set the strip_from_ path and the strip_from_inc_path as the source path
e.g. if my header files are in a folder XX within a folder YY in the desktop, then MY STRIP FROM PATH and STRIP FROM INC PATH should be C:\Users\dx\Desktop\YY\XX\