|
|
stackoverflow.com
- 2013-06-11 23:43:41
- Similar
- Report/Block
It is always preferred on a personal website to use relative paths in anchors so that you can easily move your directory structure to a new website, but I want to make part of my website password protected (using .htaccess) and hence use https. Is there a way in an anchor's href to specify a different protocol without hard-coding the www...
|
|
|
stackoverflow.com
- 2013-06-07 15:59:10
- Similar
- Report/Block
Looking at the latest versions of JUnit[v 4.11] and TestNg[v 6.8.5] as of today, I see no big differences in both the frameworks. If I am using Spring MVC in my project and have several layers and need unit/integration tests at all the controller / service / dao layers what framework would really be helpful for me. I have prior experience...
|
|
|
stackoverflow.com
- 2013-05-31 18:40:38
- Similar
- Report/Block
I have a rails application that shares some assets with other applications on the same server. The root URL of the rails application is domain.com/rails-app , but the assets are all hosted at domain.com/assets/.... For some reason, rails is adding that /rails-app root context to the asset path. It happens even if I use a different asset...
|
|
|
|
stackoverflow.com
- 2013-05-04 16:03:27
- Similar
- Report/Block
There are several Javascript files, organized in folders Scripts/folder1, Scripts/folder2, ... With requirejs.config.baseUrl a folder is defined as the default, for example Scripts/folder1. Then in requirejs.config.paths some files are addressed with just the filename, and some are addressed with a relative path (like ../folder2/blabla).
|
|
|
stackoverflow.com
- 2013-04-17 09:01:12
- Similar
- Report/Block
In a site root I have the following folders and files: File includes/scripts.php includes links to all css/js files needed for the rest of the pages to function. When including scripts.php from any file in the site root (ex cart.php) all paths work fine. But when including from within a folder (ex. /admin) the paths are not correct, obvio...
|
|
|
stackoverflow.com
- 2013-04-16 09:52:56
- Similar
- Report/Block
I created a functional test with Junit4 - Selenium webdriver and it works. But know I want to use this test with JMeter for load test. I export my test on Jar file to c:/jmeter/lib/junit and when I run my test with Jmeter I have this error: Uncaught Exception java.lang.unsupportedClassVersionError : Name-of-pacakge/Name-of-class : Unsup...
|
|
|
techguy.org
- 2013-04-08 07:22:38
- Similar
- Report/Block
I am currently using wampserver (set up an alias instead of putting my site in the www folder). I recently saved some images with the "/" at the bginning (eg. /a folder/the image.png), meaning that I made them root-relative. I use Dreamweaver for sorting the files out, but normally hand-code. The when I tried to view my page in Dreamweave...
|
|
|
|
stackoverflow.com
- 2013-03-18 15:40:16
- Similar
- Report/Block
I'm having some issues getting dotcover to work under an albacore exec rake task using relative paths from my rake file @xUnitRunnerPath = Pathname.new('../../Tools/xUnit/xunitcon trib-dotcover.2.0/xunit.runner.utility.d ll').realpath @myTestDll = 'C:\PathToProj\My.Project.Tests in\Release\My.project.Tests.dll' @outputDir = 'C:\PathToTestRe...
|
|
|
grupoandroid.com
- 2013-03-04 13:13:20
- Similar
- Report/Block
As promised, this post describes how to root the Atrix HD Jelly Bean build. This should also work on other Motorola 4.1.2 builds (Razr/Razr Maxx, Razr HD, Razr M, etc.). The exploit requires setting up a special Samba share and mounting this share on your phone using the File Manager app. I apologize that this process may seem involved fo...
|
|
|
stackoverflow.com
- 2013-02-27 11:58:44
- Similar
- Report/Block
I thought a general rule is that, whenever a div foo has position: relative , then if none of the parent and ancestor has any non-static position (so need to have one of relative, absolute, or fixed ), then, the div foo now will be position relative to the overall document. But in the following page: http://jsfiddle.net/4RcEn/6/ some...
|
|
|
fedoraforum.org
- 2013-02-25 17:38:02
- Similar
- Report/Block
I have a fedora 18 system with mate as the window manager. I find that some application keeps creating a file called C:\nppdf32Log\debuglog.txt in my root directory (in /home/dinesh/ and not in /). From the name, it appears to be some pdf related program - I have xpdf and acroread installed on my system. The file has text with several lin...
|
|
|
stackoverflow.com
- 2013-02-21 08:02:02
- Similar
- Report/Block
Currently our PHP app requires to be set up in the web server's document root (usually by configuring Apache's virtual hosts). The main reason for that dependency is that our URL-generation logic assumes that all URLs can be accessed through the absolute path . That makes for easy linking to resources such as images, and pages. The user m...
|
|
|
|
rootzwiki.com
- 2012-12-26 03:25:48
- Similar
- Report/Block
Tod Liebeck , of Next App, the developer of FX File Explore recently contacted me regarding upgrades for FX File Explorer. FX File Explorer is currently in a release version, but prior to it’s release, Liebeck offered it as an open beta on the RootzWiki application forum. There are several changes to FX File Explorer in version 1.2 and Li...
|
|
|
stackoverflow.com
- 2012-10-11 12:40:43
- Similar
- Report/Block
I´m working in a local project (offline) and need show a txt file outside of directory of html. How implement the relative path? main-app |-core-app |-logs | |-log-file.txt |-plugin |-plugin-core |-www |-index.html The file is on logs folder, I need show it in index.html. I try to use src="../../../logs/log-file.txt" but don't work.
|
|
|
stackoverflow.com
- 2012-07-16 14:44:32
- Similar
- Report/Block
Is there any performance advantage if I use relative paths as argument in file_get_contents() file_get_contents("../../mypage.php"); file_get_contents("http://.../mypage.php "); How is file_get_contents() handled internally?...
|
|
|
stackoverflow.com
- 2012-07-12 09:48:28
- Similar
- Report/Block
I have quite difficult situation, i am developing automation framework using selenium webdriver. I am using JUNIT 4.0 and ANT 1.8 for reporting and execution purpose. I have used parameterized runner to run test case with diffrent dataset, and also implemented screencapturing functionality in case of failures. so while generating JUNIT re...
|
|
|
stackoverflow.com
- 2012-07-11 13:44:21
- Similar
- Report/Block
I'm trying to work out how I can run an ant task without actually needed a build.xml. In particular I want to run a JUnit task with a formatter. In xml format this looks like below: <junit printsummary="true" errorProperty="test.failed" failureProperty="test.failed"> <classpath refid="run.class.path" /> <!-- console log...
|
|
|
stackoverflow.com
- 2012-06-28 15:43:56
- Similar
- Report/Block
<b>Fatal error</b>: Uncaught exception 'CacheFile_Exception' with message 'The file system location '/awscache'; does not exist. Create the directory, or double- check any relative paths that may have been set.' in /home/content/15/5299015/html/sdk- 1.5.7/lib/cachecore/cachefile.class.php: 61 I get this response when trying to...
|
|
|
|
stackoverflow.com
- 2012-06-16 13:51:50
- Similar
- Report/Block
I want to pass a variable defined in an include file, identity.php , to the parent file, which I'll call parent.php . When I include identity.php via it's relative path, the variable is available to the parent.php file. When I include identity.php via it's absolute path (to the application root), it doesn't work. Why is this? File: iden...
|
|
|
stackoverflow.com
- 2012-05-29 17:13:41
- Similar
- Report/Block
I have a basic PHP script like this: <?php system("/bin/touch /root/testfile"); When I run this PHP script from the command line: # php myscript.php I get this: sh: /touch: No such file or directory Also, touch is in the right place: # which touch /bin/touch Is there something I need to setup in my PHP script regarding paths? Because i...
|
|
|
stackoverflow.com
- 2012-05-01 14:09:09
- Similar
- Report/Block
If I go to this URI /app_dev.php/css/eabd201_jquery.ui.theme _15.css it gives me that CSS file, which is what I would expect, but if I go to this URI, /app_dev.php/css/images/ui-icons_222222_ 256x240.png I get this error: No route found for "GET /css/images/ui-icons_222222_256x240.png" It seems like there must be a way to tell Symfony not t...
|
|
|
|
stackoverflow.com
- 2012-04-28 01:05:42
- Similar
- Report/Block
I've downloaded Junit version 4.10 and loaded the jar via the build path but I seem to get this error message when running a Junit test in Eclipse: Error: Could not find or load main class org.eclipse.jdt.internal.junit.runner.Re moteTestRunner My Test class is the following: import org.junit.*; import static org.junit.Assert.assertEquals;...
|
|
|
stackoverflow.com
- 2012-04-22 01:59:35
- Similar
- Report/Block
I'm having a problem with the paths in compass, I'm developing a wordpress theme with sass-compass using this structure: theme-name/ /css/style.css /sass/style.scss /images /fonts I want to respect this structure cause the stylesheet is already written using paths like: h1 { background-image: url('images/sprite.png'); } so since the s...
|
|
|
stackoverflow.com
- 2012-04-21 21:25:34
- Similar
- Report/Block
I have files in a directory, they are named YYYY_MM_DD -rw-r--r-- 1 root root 497186 Apr 21 13:17 2012_03_25 -rw-r--r-- 1 root root 490558 Apr 21 13:17 2012_03_26 -rw-r--r-- 1 root root 488797 Apr 21 13:17 2012_03_27 -rw-r--r-- 1 root root 316290 Apr 21 13:17 2012_03_28 -rw-r--r-- 1 root root 490081 Apr 21 13:17 2012_03_29 -rw-r--r-- 1 ro...
|
|
|
|
stackoverflow.com
- 2012-04-21 16:34:46
- Similar
- Report/Block
I have a bunch of files in a directory all named YYYY_MM_DD -rw-r--r-- 1 root root 480K Apr 21 13:17 2012_04_05 -rw-r--r-- 1 root root 483K Apr 21 13:17 2012_04_06 -rw-r--r-- 1 root root 484K Apr 21 13:17 2012_04_07 -rw-r--r-- 1 root root 480K Apr 21 13:17 2012_04_08 -rw-r--r-- 1 root root 344K Apr 21 13:17 2012_04_09 -rw-r--r-- 1 root ro...
|
|
|
stackoverflow.com
- 2012-04-20 21:59:12
- Similar
- Report/Block
I have some code that references a filename. On the server, this reference is relative to my directory. When I'm running tests, though, the relative root doesn't seem to be set - only absolute paths, starting at the root of my local HD, actually find the files. I'm testing in the context of an AppEngine LocalServiceTestHelper , which ret...
|
|
|
stackoverflow.com
- 2012-04-19 13:05:54
- Similar
- Report/Block
I am new to codeigniter. I made a simple controller to load the three views: header, body and footer. My header contains links to several javascripts and CSS which have a relative paths. I kept all the css and js relative to file in views folder. The problem is that the controller loads everything properly but images, js and css are not g...
|
|
|
|
stackoverflow.com
- 2012-04-05 06:31:40
- Similar
- Report/Block
I am using Sass & Compass Framework for compiling my CSS. I am working in my local environment. When I dealing with the Compass Sprite image generation, I am encountering two different problems. I want to set the layout to horizontal or smart or anything other than default vertical but I could not. I checked the syntax and I am using...
|
|
|
stackoverflow.com
- 2012-04-04 22:34:23
- Similar
- Report/Block
I am looking for a way to use the full path of the *.scala file that is executed by scala /path/to/file/file.scala The reason is that within my script I would like to use paths, which are relative to the location where file.scala is saved. So, say I want to call /path/to/file/file_second.scala from inside of file.scala while calling file.
|
|
|
stackoverflow.com
- 2012-04-02 02:01:06
- Similar
- Report/Block
I'm trying out Phonegap to develop for both Android and iOS using the same source. I would like to use absolute paths like : background-image: url(/graphics/test.png); but this doesn't work on Android or iOS. I found out that for Android I have to use something like : background-image: url(file:///android_asset/www/graphics/t est.png); bu...
|
|
|
|
stackoverflow.com
- 2012-03-30 16:10:44
- Similar
- Report/Block
I have an EJB that uses additional resource files (textual template files placed in a directory called "templates"). I don't know how to access the content of the "templates" directory from the JEE application. I've tried to place the directory as the "EarContent/templates" or "EarContent/APP-INF/lib/templates" folder in the EAR project.
|
|
|
stackoverflow.com
- 2012-03-23 11:19:01
- Similar
- Report/Block
I'm using pax-exam to load, activate and access osgi bundles. The following source code is my pax-exam test and it runs using pax-exam 2.3 using native container. package fr.xlim.ssd.vtg.osgi; import java.net.URISyntaxException; import org.junit.Test; import org.junit.runner.RunWith; import org.ops4j.pax.exam.Inject; import org.ops4j.pax.
|
|
|
stackoverflow.com
- 2012-03-22 11:30:22
- Similar
- Report/Block
I am trying to execute a list of JUNIT test cases through JUNIT runner. The test case names are available in a excel sheet and I am retreiving the value one after the other. I am not sure where I am going wrong. but my test runner is not executing. Could somebody help me on this. Cell celltest = sheet.getCell(col,row); String KeywordTest=...
|
|
|
|
stackoverflow.com
- 2012-03-21 05:37:12
- Similar
- Report/Block
Here is what I did: In Xcode 4.3.1 File -> New -> Project -> Single view application Dragged the file cocos2d-ios.xcodeproj into navigator. In build phases settings : Added : libcocos2d.a (becomes highlighted in red), as a linked library (required). Added OpenGles.framework, Quartzcore, and libz.dylib Changed build settings - Set "Alwa...
|
|
|
stackoverflow.com
- 2012-03-21 02:54:47
- Similar
- Report/Block
I am using VC++ with multiple projects that require a 3rd party library. As developers may have this library in different paths, each developer sets the local machine/user's Microsoft.Cpp.Win32.user property sheet with the appropriate paths. Now we using a new version of the 3rd party library with some of the projects. As before, differen...
|
|
|
stackoverflow.com
- 2012-03-20 22:17:46
- Similar
- Report/Block
I have recorded a test case in Selenium IDE and want to convert that to Junit. When I try to change through format, I have two options called ‘JUnit WebDriver’ and ‘JUnit WebDriver Backed’. Can you guys please explain me what is the different between this WebDriver and WebDriver Backed? Sorry I am new to Selenium, started learning through...
|
|
|
|
stackoverflow.com
- 2012-03-15 10:34:23
- Similar
- Report/Block
I'm reading gzip compressed files using zlib. Then you open a file using gzFile gzopen(const char *filepath, const char *mode); How do you handle Unicode file paths that are stored as const wchar_t* on Windows? On UNIX-like platforms you can just convert the file path to UTF-8 and call gzopen(), but that will not work on Windows.
|
|
|
stackoverflow.com
- 2012-03-07 21:14:21
- Similar
- Report/Block
I am currently doing some research and I am looking for open source Java projects that use JUnit . Ideally I would like to have projects that vary in size/complexity/domain as well as the test suite coverage. I seem to be having a hard time finding suitable open source projects that fit these criteria: Project has a number of JUnit test...
|
|
|
stackoverflow.com
- 2012-03-06 03:37:52
- Similar
- Report/Block
How can I open a book on iBooks? I tried the following code, that works, but asks the user to choose an application to open the file: self.docController = [UIDocumentInteractionController alloc]; //leaves only the file name NSString *bookFile = @"my-book.pdf"; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDo cumentDirectory, NSUse...
|
|
|
|
unixboard.de
- 2013-02-21 15:31:18
- Similar
- Report/Block
Hallo zusammen, ich würde gerne Wissen wie ich am einfachsten Dateien nach einem bestimmten Datum in einem Verzeichnis suchen kann. Das Beispielverzeichnis sieht so aus: /data/tmp/uebung/Aufgabe300 -rw- 1 root root 55600 Sep 25 13:33 CPsrv_log_001_00.txt -rw- 1 root root 88855 Sep 25 13:33 CPsrv_log_001_01.txt -rw- 1 root root 63291 Sep 2...
|