Do the files boilerplate.css and respond.min.js need to be in the root directory or can they be in a subdirectory such as css or js?
Do the files boilerplate.css and respond.min.js need to be in the root directory or can they be in a subdirectory such as css or js?
The short answer is 'Yes', they can be in any directory, as long as you have created the proper links so that the files can be found.
Similar Messages
-
What i get is only the directories and files that in other nodes. But i have also files on the root directory and i never
get them. This is a screenshot of my program after i got the content of my ftp. I'm using treeView to display my ftp content:
You can see two directories from the root but no files on the root it self. And in my ftp server host i have files in the root direcory.
This is the method i'm using to get the directory listing:
public IEnumerable<FTPListDetail> GetDirectoryListing(string rootUri)
var CurrentRemoteDirectory = rootUri;
var result = new StringBuilder();
var request = GetWebRequest(WebRequestMethods.Ftp.ListDirectoryDetails, CurrentRemoteDirectory);
using (var response = request.GetResponse())
using (var reader = new StreamReader(response.GetResponseStream()))
string line = reader.ReadLine();
while (line != null)
result.Append(line);
result.Append("\n");
line = reader.ReadLine();
if (string.IsNullOrEmpty(result.ToString()))
return new List<FTPListDetail>();
result.Remove(result.ToString().LastIndexOf("\n"), 1);
var results = result.ToString().Split('\n');
string regex =
@"^" + //# Start of line
@"(?<dir>[\-ld])" + //# File size
@"(?<permission>[\-rwx]{9})" + //# Whitespace \n
@"\s+" + //# Whitespace \n
@"(?<filecode>\d+)" +
@"\s+" + //# Whitespace \n
@"(?<owner>\w+)" +
@"\s+" + //# Whitespace \n
@"(?<group>\w+)" +
@"\s+" + //# Whitespace \n
@"(?<size>\d+)" +
@"\s+" + //# Whitespace \n
@"(?<month>\w{3})" + //# Month (3 letters) \n
@"\s+" + //# Whitespace \n
@"(?<day>\d{1,2})" + //# Day (1 or 2 digits) \n
@"\s+" + //# Whitespace \n
@"(?<timeyear>[\d:]{4,5})" + //# Time or year \n
@"\s+" + //# Whitespace \n
@"(?<filename>(.*))" + //# Filename \n
@"$"; //# End of line
var myresult = new List<FTPListDetail>();
foreach (var parsed in results)
var split = new Regex(regex)
.Match(parsed);
var dir = split.Groups["dir"].ToString();
var permission = split.Groups["permission"].ToString();
var filecode = split.Groups["filecode"].ToString();
var owner = split.Groups["owner"].ToString();
var group = split.Groups["group"].ToString();
var filename = split.Groups["filename"].ToString();
var size = split.Groups["size"].Length;
myresult.Add(new FTPListDetail()
Dir = dir,
Filecode = filecode,
Group = group,
FullPath = CurrentRemoteDirectory + "/" + filename,
Name = filename,
Owner = owner,
Permission = permission,
return myresult;
And then this method to loop over and listing :
private int total_dirs;
private int searched_until_now_dirs;
private int max_percentage;
private TreeNode directories_real_time;
private string SummaryText;
private TreeNode CreateDirectoryNode(string path, string name , int recursive_levl )
var directoryNode = new TreeNode(name);
var directoryListing = GetDirectoryListing(path);
var directories = directoryListing.Where(d => d.IsDirectory);
var files = directoryListing.Where(d => !d.IsDirectory);
total_dirs += directories.Count<FTPListDetail>();
searched_until_now_dirs++;
int percentage = 0;
foreach (var dir in directories)
directoryNode.Nodes.Add(CreateDirectoryNode(dir.FullPath, dir.Name, recursive_levl+1));
if (recursive_levl == 1)
TreeNode temp_tn = (TreeNode)directoryNode.Clone();
this.BeginInvoke(new MethodInvoker( delegate
UpdateList(temp_tn);
percentage = (searched_until_now_dirs * 100) / total_dirs;
if (percentage > max_percentage)
SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
max_percentage = percentage;
backgroundWorker1.ReportProgress(percentage, SummaryText);
percentage = (searched_until_now_dirs * 100) / total_dirs;
if (percentage > max_percentage)
SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
max_percentage = percentage;
backgroundWorker1.ReportProgress(percentage, SummaryText);
foreach (var file in files)
TreeNode file_tree_node = new TreeNode(file.Name);
file_tree_node.Tag = "file" ;
directoryNode.Nodes.Add(file_tree_node);
numberOfFiles.Add(file.FullPath);
return directoryNode;
Then updating the treeView:
DateTime last_update;
private void UpdateList(TreeNode tn_rt)
TimeSpan ts = DateTime.Now - last_update;
if (ts.TotalMilliseconds > 200)
last_update = DateTime.Now;
treeViewMS1.BeginUpdate();
treeViewMS1.Nodes.Clear();
treeViewMS1.Nodes.Add(tn_rt);
ExpandToLevel(treeViewMS1.Nodes, 1);
treeViewMS1.EndUpdate();
And inside a backgroundworker do work how i'm using it:
var root = Convert.ToString(e.Argument);
var dirNode = CreateDirectoryNode(root, "root", 1);
e.Result = dirNode;
And last the FTPListDetail class:
public class FTPListDetail
public bool IsDirectory
get
return !string.IsNullOrWhiteSpace(Dir) && Dir.ToLower().Equals("d");
internal string Dir { get; set; }
public string Permission { get; set; }
public string Filecode { get; set; }
public string Owner { get; set; }
public string Group { get; set; }
public string Name { get; set; }
public string FullPath { get; set; }
Now the main problem is that when i list the files and directories and display them in the treeView it dosen't get/display
the files in the root directory. Only in the sub nodes.
I will see the files inside hello and stats but i need also to see the files in the root directory.
1. How can i get and list/display the files of the root directory ?
2. For the test i tried to add to a List<string> the items in var files to see if i get the root files at all.
This is what i tried in the CreateDirectoryNode before it i added:
private List<string> testfiles = new List<string>();
Then after var files i did:
testfiles.Add(files.ToList()
But this is wrong. I just wanted to see in testfiles what items i'm getting in var files in the end of the process.
Both var files and directoryListing are IEnumerable<FTPListDetail> type.
The most important is to make the number 1 i mentioned and then to do number 2.Risa no.
What i mean is this. This is a screenshot of my ftp server at my host(ipage.com).
Now this is a screenshot of my program and you can see that in my program i have only the directories hello stats test but i don't have the files in the root: htaccess.config swp txt 1.txt 2.png....all this files i don't have it on my treeView.
What i want it to be is that on my program on the treeView i will also display the files like in my ftp server.
I see in my program only the directories and the files in the directories but i don't see the files on the root directory/node.
I need it to be like in my ftp server i need to see in my program the htaccess 1.txt 2.png and so on.
So what i wrote in my main question is that in the var files i see this files of the root directory i just don't know to add and display them in my treeView(my treeView is treeViewMS1).
I know i checked in my program in the method CreateDirectoryNode i see in the first iteration of the recursive that var files contain this root files i just dont know how to add and display them in my treeView.
On the next iterations when it does the recursive it's adding the directories hello stats test and the files in this directories but i need it to first add the root files. -
How do you configure the iMac so separate users can access each other's files, especially iPhoto and iTunes? I need to be able to transfer media between two users and not just gain limited access using 'share'.
See Terence Devlin's thorough explanation here.
-
I want to find the root directory for a png file on my Macbook air
I am using html to make a website and want to use a png on my macbook but need the root directory for the image source. I am not sure how to get this, can anyone tell me how?
If you are hosting a web server from your Mac, you should place the images inside /Library/WebServer/Documents or inside your user Sites folder. The www user will not be able to access a file from anywhere else unless you give it permission to do so.
-
Downloaded a music file which originally played through my playlist in iTunes but now it comes up with a message that the original file cannot be located although the file appears in the play list. It asks if it should search for the relevant file which takes me to the root directory and is no help.
Hello gordon175
You would need to locate the song on your computer to link them back up so it will play. If you cannot find it and it was purchased from the iTunes Store, you can delete the track and download it again for free.
iTunes: Finding lost media and downloads
http://support.apple.com/kb/ts1408
Downloading past purchases from the iTunes Store, App Store, and iBooks Store
http://support.apple.com/kb/ht2519
Regards,
-Norm G. -
I have lost my iPhone. Someone has found it. I got an email message when they turned it on and called it immediately. Unfortunately they turned it off, after the first call and now it goes straight to answerphone. It has been in lost mode for three days. My question is simple, if the person guesses the four digit passcode, can they send/see text messages and emails, can they see contacts etc. Do they need my apple id and password to access and use the phone or simply the four digit code?
Thanks in advance,
Regards.Yes, i appreciate that. I do hope they don't, however the passcode is VERY simple... If they guess or if it was actually taken by someone that knows me or saw me enter the code, then can they use the phone normally once it's entered, will i get an email or will the phone come out of lostmode on the app? Sorry for the repeated question. I will shortly hit the 'this solved my question' button
Thanks again -
Import Error: The root directory does not exist
Hi,
I have some isuuses with importing the extended page. When I try to Import it throws an error.
Root Directory does not exist.
I am using the following command.
import c:\jdev\jdevhome\jdev\myprojects\oracle\apps\asn\opportunity\webui\EMCOpptyDetPG.xml -includeSubpackages -validate -rootdir c:\prabhat\Jdev\jdevhome\jdev\myprojects -mmddir C:\prabhat\Jdev\jdevhome\jdev\myhtml\OA_HTML\jrad -userId 1 -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =xxxx)(port =xxx)))(connect_data = (sid = xxxx)))" -jdk13
Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetP
G":
Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG":
Invalid value "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" for property
"Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubt
abPrmRN". Component "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" cannot
be referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabPr
mRN" because it violates scope restrictions.
Invalid value "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" for property "Exte
nds" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTas
kRN". Component "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" cannot be refere
nced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN" bec
ause it violates scope restrictions.
The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTable" of t
able style because it is inside "tableLayout".
The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTaskButtonR
N" of stackLayout style because it is inside "tableLayout".
Invalid value "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" for property
"Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmS
tack". Component "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" cannot be
referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmStack" b
ecause it violates scope restrictions.
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Import completed.
But After this when I try to see from the server there is no file with name EMCOpptyDetPG.xml exist. So I think this file is not imported.
Could suggest how to solve this problem.
Thanks
PrabhatHi Tapash
while deploying a page to mds Repository i m getting the same error that root Directory does not exist but it also says that import completed successfully.
when i see the same using jdr_utils.listDocuments('xxxx/oracle/apps/ak/server/webui/xxxPG')
it says printing /xxxx/oracle/apps/ak/server/webui/xxxPG thus page is available in the mds repository and i m able to access the page at run time
my concern is why i m getting this error
my import command looks like this
java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxxx/oracle/apps/ak/server/webui/xxxxPG.xml -jdk13 -mmddir $OA_HTML/jrad -username apps -password apps -rootdir $JAVA_TOP -validate -dbconnection " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xyxyxyxyxy)(PORT = xyxyx)) (CONNECT_DATA = (SID =yyy)))"
could u pls suggest some solution. -
Problem Changing the Root Directory of the Default Virtual Host in J2EE 7.0
Hi,
I'm trying to change the root directory for the default virtual host in J2EE 7.0.
i did the following steps in visual admin: services -> HTTP Provider -> Runtime -> Virtual Hosts -> default:
Root Directory: "D:/usr/sap/<server>/<instance>/j2ee/cluster/server0/apps/sap.com/crm~b2b/servlet_jsp/b2b/root/b2b" (this the correct path to the application)
Start Page:"z_index.jsp"
I restarted HTTP Provider Service and the J2EE.
When I start http://<server>:<port> i get the following error:
The requested resource /z_index.jsp is not available
Details: File [z_index.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
sap.com/com.sap.engine.docs.examples is the initial default root directory, but i changed it to the correcht path...
Can anybody help me?
Yours
Michael
Message was edited by:
Michael CendonHi,
hqt200475 wrote:
Hi,
I have the Environemt:
+ Linux SUSE 11 + Oracle Enterprise 11.2.0.2
oracle@stb:~> uname -a
Linux stb 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxMy Problem is changing the home directory of an existing Standalone-ASM:
/u00/app/oracle/product/11.2.0/grid_1/I want to move it to
/u00/app/grid/product/11.2.0/grid_1/My Question: what is the optimal path?
Optimal Flexible Architecture standard
All Oracle components on the installation media are compliant with Optimal Flexible Architecture. This means, Oracle Universal Installer places Oracle Database components in directory locations, assigning the default permissions that follow Optimal Flexible Architecture guidelines.
Oracle recommends that you use Optimal Flexible Architecture, specially if the database will grow in size, or if you plan to have multiple databases.
/u00/app/oracle/product/11.2.0/grid_1 - Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, if user owner of installation is "oracle"
/u00/app/grid/product/11.2.0/grid_1 - Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, if user owner of installation is "grid"
http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/appendix_ofa.htm
Hope this helps,
Levi Pereira -
Deploying custom page to MDS respository: The root directory does not exist
Hi,
with XMLImport, I have
java oracle.jrad.tools.xml.importer.XMLImporter /u01/jdevhomes/sjallerat/jdevhome/myprojects/technip/oracle/apps/xxepc/deploying/webui -jdk13 -mmddir "/u01/jdevhomes/sjallerat/jdevhome/myhtml/OA_HTML/jrad" -username apps -password venus -rootdir /u01/jdevhomes/sjallerat/jdevhome/myprojects -validate -dbconnection "(description = (address_list = ( address =(protocol = tcp)(host = xxxxxxxxxxxxxxxxx)(port = xxxx)))(connect_data = (sid = xxxx)))"
Importing /technip/oracle/apps/xxXXX/deploying/webui/EpcTestMessagesPG
Error: The root directory does not exist.
xxXXX is new. With existing app, add one module .xml is OK.
Thank you for yor help.
SergeWe have registered XXYYY as a new application in our instance of oracle application with a basepath = XXYYY_TOP.
And add in Linux's file xxxxxx.env the declaration : XXYYY_TOP with rootpath = /xxxxxxx/oracle/xxxappl/XXYYY/11.5.0.
Let us must be made another statement in another file?
Thank you. -
How do I create a folder in the root directory
Hi
How do I create a folder in the root directory?
Once I do that I need to create a note book file in that folder
Any help would be much appreciated
Thanks
BrianHi Brian,
Open Macintosh HD in the Finder, then SHIFT+CMD+n
Root Directory is the top level of the drive. -
I have a 13" Blackbook. I have my iTunes Media Folder on a 2TB External HD. The folder directory contains the proper sub-folders: "Automatically add to iTunes," "Downloads," "Music," "Movies" and "TV Shows." For some reason now, whenever I rip a CD with iTunes it doesn't put the new CD folder "Artist/Album" in the Music folder anymore but in the root directory! Whenever I play a track it takes the track out of it's folder in Music, makes a new Artist/Album" folder IN THE ROOT DIRECTORY and puts it in there. Everytime I play Itunes I have to spend half an hour reorganising my folders by hand! Can someone PLEASE tell me what is going on here?
Check your settings for the media folder location under iTunes > Preferences > Advanced. I think you'll find it has been set to the root of the drive.
tt2 -
I need help moving my Photoshop 7 from my old laptop to my new laptop which is running Windows 7 Enterprise. I’ve tried two routes unsuccessfully. I install the CD, it does not autoplay. I execute Autoplay.exe at the root directory, I am welcomed, I choose English, I accept the EULA, I get the Install/Explore choices window, with the Install button already selected, I click the Photoshop button, the CD spins, and nothing happens. In the 2nd attempt I execute Setup.exe in the Photoshop directory, and nothing happens at all. I’m never even offered the opportunity to enter my product code. What should I do?
There could is likely a compatibility problem between the old software and the newer operating system.
-
I have configured Forte to put compiler output, i.e. my classes, in the root directory of the project. I now find that the debugger does not find the source code when it is in a sub-directory. However, if I temporarily copy a classes' source code to the root directory the debugger will display it.
To direct compiler output to the root directory I selected Project >Settings>Compiler types, then External Compiler ( which is the default compiler in my case ) and set Target to be the root project directory. This is the only directory it will allow.This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
ka -
I just got my new iphone 5 and had to upgrade my mac (version 10.5.8) version of i tunes. Trying to install and it says i need 10.6.8 or later. What can I do to get this phone installed?
Snow Leopard = OS X 10.6.x
It is Not available as a download... It is a Paid Upgrade.
Do this first...
Check that your Mac meets the System Requirements for Snow Leopard...
Snow Leopard Tech Specs
http://support.apple.com/kb/SP575
If so Contact Apple in your Country to Purchase a Snow Leopard Disc...
http://support.apple.com/kb/HE57
In the US...
1-800-MY-APPLE or 1-800-676-2775
After the Successful Install, run Software Update to get the latest updates for Snow Leopard.
Be sure to make a Backup of your Current System Before Upgrading... -
How do I embed a site map in the root directory?
I am trying to find the root directory, so that I can embed the site map. Where is the root directory?
Hi , thank you for your repy.
I want to set up the user story default to have a 2 line entry in the tab prior to the user entering data
I know I can enter a CR during editing
For example I would like the details to to be (after creating new , before entering data) to be:
Line1<o:p></o:p>
CR<o:p></o:p>
Line2
<o:p></o:p>
So the user enters data after the Line 2 heading
Maybe you are looking for
-
I have several computers. My equipment is upstairs in a house, apple time capsule and downstairs airport express. Lately the downstairs computer keeps disconnecting from the internet. Would replacing the airport express with and airport extreme give
-
My HP Photosmart Premium C309g-m printer frequently gives me false "low ink" readings
My HP Photosmart Premium C309g-m printer frequently gives me false "low ink" readings, which wouldn't be a big deal except that unlike other printers I've had, instead of just printing as best it can on low ink, it refuses to print at all. I know the
-
BEx Query Problem with variable
Hi experts, I want to create a report with month variable such that when the user enters (let say)October the report will look like this: October November December I want to see the October column as cumulative(sum of Jan-Oct) and the remainings
-
EDIT_CUSTOM_ATTR excpetion
Hi, I'm trying to update a date value for a custom attribute with this PL/SQL : siteid := '1351'; wwsbr_api.set_attribute( p_site_id => 35, p_thing_id => 448463, p_attribute_id => siteid, p_attribute_site_id => 0 , p_attribute_value => '30-jun-2007 1
-
Dump during inbound delivery creation with VL34
Hi, when I try to create a inbound delivery for a Purchase order item with account assignment Q (project stock) I get the following dump Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC Except. CX_SY_OPEN_SQL_DB Date and Time