I am confused by the resolved properties/xml file in Ivy cache. For some reason, I see some files with proper names like these (
resolved-ccm-ccmJaqual2-129390.properties
resolved-ccm-ccmJaqual2-129390.xml
And some files with working#hostname.
resolved-ccm-ccmJaqual2-working#windev7.properties
resolved-ccm-ccmJaqual2-working#windev7.xml
I know these files are being used somehow by ivy.publish (implicitly calls ivy.delivery). Could any Ivy experts here kindly explain how these suppose to work?
Thanks
Related
When starting SBT I see
Loading project definition from /Users/shruti/.sbt/0.13/staging/0156a9e3df5385400375/xyz/project
which is not where my project is located. (I wouldn't care, but the changes I make are not being reflected in this copy.) I searched my entire project but this path is not defined or written anywhere, neither in scalaopts. A grep over all files doesn't work either.
Does anybody know where this path is defined or how to change it?
Thanks!
sbt uses the staging area when the folder containing the project is not read/write. Making the project folder read/write should fix this.
When developing our sites we commit our SASS files and css files to git and release that code to a DTAP environment. Those SASS (or SCSS) files are readable for everyone when you know the url. This way you can read the sass files from the browser.
Is there a security issue or something about this? Should we disable the browsing of these files?
Ik hope someone is able to help!
Thanks
A security problem would only exist if the SASS files contain sensitive information (usernames, passwords, API keys, file paths). Sometimes developers add sensitive comments to source files, so inform your team of the risk and don't consider it to be a critical priority.
I have a unusual situation where I have to keep all myBundle/Resources/config/doctrine/*.orm.yml files out of the bundle.
My question is how we can save the file somewhere else (i.e in the root of src/ folder) and let the doctrine know about it?
Thanks.
If you change the location of orm files, I believe you have to inform this to Symfony core, which can be a painful thing. The given possible place is under bundle resources\doctrine location.
I have a problem using Intellij Idea.
I am absolutely unable to load text file as InputStream - it doesnt matter where do I put the file (main/java, main/resources...) it just can't find the file - in Eclipse everything works just fine.
I tried setings->compiler->resource patterns and added ?*.txt but that doesn't seem to work either.
Any help is appreciated.
If you load it as a File, make sure that Working Directory is properly set in IDEA Run/Debug Configuration, since it's the default directory where Java will look for a file when you try to access it like new File("file.txt"). Working directory should be set to the directory of your project containing .txt files.
If you load files as a classpath resource, then they should reside somewhere under Source root and will be copied to the classpath according to Settings | Compiler | Resource Patterns.
If you can't get it working, upload your project somewhere including IDEA project files so that we can point to your mistake.
Look at the image, notice that the txt files are in the project root, and not the source folders (in blue).
If you open the Project Structure dialog, and click on Modules and select your module - are the correct folders marked as Source Folders on the sources tab?
Link for how to get to Project Structure dialog
Also, if you print out the absolute path of that file you are trying to read, is that anywhere near where you expect it to be?
An easy way to figure out the same would be to try creating a file in the same fashion and see where it gets created in your project. You can put your input file at the same location and it should work just fine (if it doesn't, you should check your resource pattern which might be causing the file to be not copied over in the build output).
This method actually gives you the working directory of your intellij settings which is pointed out in the accepted answer. Just sharing as I had similar trouble and I figured out this way. :)
i want to edit my nagios cgi files but the keep opening as bin files. Does anyone know how to edit them or has anyone edited it before (nagios).
The reason i want to edit it is i want one of the pages to show columns instead of three, i checked the css but its not there.
Regards
Nagios config files are compiled into bin files. If you want to edit them you need to download the source, edit that, and compile again. Suggesting to the developers that the number, order, and type of columns seen be read from a config file might prove useful for the future.