More path issues when developing with Eclipse vs old XCode
More path issues when developing with Eclipse vs old XCode
- Subject: More path issues when developing with Eclipse vs old XCode
- From: Baiss Eric Magnusson <email@hidden>
- Date: Thu, 22 Oct 2009 16:29:38 -0700
String fileNameAndPath = "/helpFiles/LoginHelp.html";
File theFile = new File( fileNameAndPath );
try {
FileReader theReader = new FileReader( theFile );
fails with FileNotFoundException."
Can that code work both deployed on the Server where the help files
are inside the served site and on a development machine where they are
in the WebServerResources folder of the Eclipse project?
From: Chuck Hill <email@hidden>
Looks like you have a CSS reference like "tyf_base.css" instead of
"/tyf_base.css" or something.
Yes, thanks much, got a lot more of the site looking right, lots of
old code that somehow worked.
LWD?
That ubiquitous /Library/WebServer/Documents/.
what is the exact path that <tyf_base.css> resolves to when on the
development computer?
Wonder? Not Wonder? Totally different cases.
Stupid is, as stupid does.
----
Baiss Eric Magnusson
http://www.CascadeWebDesign.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden