• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
More path issues when developing with Eclipse vs old XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: More path issues when developing with Eclipse vs old XCode
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Intercepting (ERX/WO)DirectActionRequestHandler
  • Next by Date: Re: More path issues when developing with Eclipse vs old XCode
  • Previous by thread: Re: Intercepting (ERX/WO)DirectActionRequestHandler
  • Next by thread: Re: More path issues when developing with Eclipse vs old XCode
  • Index(es):
    • Date
    • Thread