- This topic has 2 replies, 2 voices, and was last updated 19 years, 1 month ago by Bruce Petro.
-
AuthorPosts
-
Bruce PetroMemberWhat’s the best way to work with a project with MyEclipse, but also something like Dreamweaver?
For instance, should I copy or move the files into a project directory under webapps? Or should I create a link directory (seems to me Eclipse had a way to simply reference a directory located elsewhere?)?
Another thing I noticed is that links and references within a jsp begin with the project directory, for instance /myproj/images/blank.jsp while dreamweaver will look for a physical directory there named myproj – which causes it to not find the file (unless of course you create a fake copy of every thing referenced with a site-absolute address).
Is there anyone who has already sweated through these issues that can take a couple minutes to save a few days or weeks of headaches? I’d be VERY grateful if so!
Thanks!
Riyad KallaMemberbapetro,
I have never done this and don’t know what Dreamweaver needs but I would suggest setting the project up in MyEclipse as a web project, make sure everything compiles as it should with no validation errors, and then create a new Dreamweaver project, using the WebRoot as the root of your dreamweaver project… only because I *think* dreamweaver likes to start it’s project at the root of what will become the website, is that correct or no?
Bruce PetroMemberIt should work correctly with the exception of the pickup of images and inclusions via URLs. IE: to perform the http to get an image file, you include the project directory “inside” the URL. However, when the webroot is the root directory, then that “sub-dir” simply doesn’t exist as a physical directory. And DW (and probably all HTML GUI editors) see they should include an image and they look in the file system starting at root + all listed sub-dirs to find that image. Therefore it fails.
Perhaps some one else browsing thru the forum might have insight??
Thanks.
-
AuthorPosts