Hello,
I am having trouble trying to access a common resource using Eclipse
SDK Version:3.6.1.
If I can get it working as is, I will try to get it going using Linked
Resources.
Current Workspace: C:\RRRSystems\Eclipse.
Current Project: C:\RRRSystems\Eclipse\AppEngine\MyApplication
Common Resource: C:\RRRSystems\Eclipse\Common\Image\FadeIn.gif
Directory Structure:
C:\RRRSystems
C:\RRRSystems\Eclipse
C:\RRRSystems\Eclipse\AppEngine
C:\RRRSystems\Eclipse\AppEngine\MyApplication
C:\RRRSystems\Eclipse\AppEngine\MyApplication\war
C:\RRRSystems\Eclipse\AppEngine\MyApplication\war\MyApplication.css
C:\RRRSystems\Eclipse\AppEngine\MyApplication\war\MyApplication.html
C:\RRRSystems\Eclipse\Common\Image
C:\RRRSystems\Eclipse\Common\Image\FadeIn.gif
In MyApplication.html I have a link to MyApplication.css
<link rel="stylesheet"
type="text/css"
rel="stylesheet"
href="MyApplication.css">
In MyApplication.css I have the style fade-in
I have used fade-in as the div id in MyApplication.html
#fade-in
{
height: 24px;
background-image:url(../../../Common/Image/FadeIn.gif);
background-repeat:repeat-x;
}
My Relative Path Notation:
../ = C:\RRRSystems\Eclipse\AppEngine\MyApplication
../../ = C:\RRRSystems\Eclipse\AppEngine
../../../ = C:\RRRSystems\Eclipse
I have tried just about everything that I can think of to get this to
work, but nothing.
The only way that I can get it to work is to move FadeIn.gif to:
C:\RRRSystems\Eclipse\AppEngine\MyApplication\war\FadeIn.gif
And change MyApplication.css to:
#fade-in
{
height: 24px;
background-image:url(FadeIn.gif);
background-repeat:repeat-x;
}
Any ideas would be appreciated.
Thanks,
Raney
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.