Help with Eclipse IDE feature / plugin - MacRumors Forums
Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 7, 2013, 08:01 AM   #1
sk3pt1c
macrumors 6502a
 
Join Date: Nov 2005
Location: a simulacrum
Help with Eclipse IDE feature / plugin

Hello,

In Dreamweaver, if i move a folder or file to another path, I get asked automagically if i want to change the link to that folder or file in all the files it exists.

Does that exist in Eclipse?

If not, is there a plugin I can install or something?

What i'm trying to do is change the current structure of

assets/js/site1/, assets/js/site2, assets/images/site1, assets/images/site2, etc

to something like assets/site1/..., assets/site2/...

Thanks for any help
__________________
Vi Veri Veniversum Vivus Vici
Macbook Pro 15" Retina
sk3pt1c is offline   0 Reply With Quote
Old Jun 8, 2013, 01:01 AM   #2
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
Sorry, can't help you on plugins but seems easy enough to me to use search and replace within the project (not one file or current file, I mean "project" which checks all files from docroot up?
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   0 Reply With Quote
Old Jun 8, 2013, 01:38 AM   #3
sk3pt1c
Thread Starter
macrumors 6502a
 
Join Date: Nov 2005
Location: a simulacrum
Quote:
Originally Posted by SrWebDeveloper View Post
Sorry, can't help you on plugins but seems easy enough to me to use search and replace within the project (not one file or current file, I mean "project" which checks all files from docroot up?
was looking for a more automated way, this is my last resort, i want to move a whole lot of files in different folders etc, i can't search-replace throughout the project for each file
__________________
Vi Veri Veniversum Vivus Vici
Macbook Pro 15" Retina
sk3pt1c is offline   0 Reply With Quote
Old Jun 8, 2013, 03:53 PM   #4
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
Quote:
Originally Posted by sk3pt1c View Post
was looking for a more automated way, this is my last resort, i want to move a whole lot of files in different folders etc, i can't search-replace throughout the project for each file
Dreamweaver does that by maintaining link states internally in a proprietary template system so link checking can be auto-corrected if link dependencies fail. Eclipse is noteworthy because it's Java based and runs on any platform making it easily scalable across nearly all platforms. Not because of its plugins.

Now don't take this the wrong way, I'm being brutally honest and factual here and it not an attack on YOU personally:

You might have a hard time finding plugins that auto-magically fix link dependencies because running a standard link checking report is usually all one needs to find/fix broken links. You described your site as "whole lot of files in different folders" which meant to me you have a ton of repetitious, broken links that need addressing after making changes. It also proves, without a doubt, that the site was poorly organized from the outset and it fails a lot of SEO best practices and standards in templating. For example, the menu system is not a centralized script and is in many folders, or articles with links to other articles are duplicated, or links in content area also in sidebars, headers or footers but not included dynamically. Plus many other reasons.

So in cases of badly organized sites with poorly defined or lack of coherent templating, the real fix is to run a detailed link checker report and find broken links and fix them, using global search and replace. Or, taking the time to redesign the site and improve SEO indexing and performance, if the client is willing to spend the money. If not, point it out to them. If you can't then the moral of this story is you can't easily automate a fix for a broken web site.

I want to be crystal clear this is not blaming or patronizing you in any way or saying you caused this. I thought carefully before responding in this manner, and after checkingt a list of Eclipse plugins at http://en.wikipedia.org/wiki/List_of...based_software and a few minutes Google searching. I failed finding anything, then realized you might be looking for something that doesn't exist to satisfy unfair client demands on something likely broken before you even saw the software. So with those assumption in mind, consider a quality link checker report as utility #1 in your toolbox in this situation.

Wouldn't hurt to check back here in a few days if time permits to see if any other suggestions from others, as I admit my assumptions are many. But I have this feeling I am right on track with this.... been there, done that.

Cheers, and thanks for listening.
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   0 Reply With Quote
Old Jun 8, 2013, 04:02 PM   #5
sk3pt1c
Thread Starter
macrumors 6502a
 
Join Date: Nov 2005
Location: a simulacrum
Quote:
Originally Posted by SrWebDeveloper View Post
Dreamweaver does that by maintaining link states internally in a proprietary template system so link checking can be auto-corrected if link dependencies fail. Eclipse is noteworthy because it's Java based and runs on any platform making it easily scalable across nearly all platforms. Not because of its plugins.

Now don't take this the wrong way, I'm being brutally honest and factual here and it not an attack on YOU personally:

You might have a hard time finding plugins that auto-magically fix link dependencies because running a standard link checking report is usually all one needs to find/fix broken links. You described your site as "whole lot of files in different folders" which meant to me you have a ton of repetitious, broken links that need addressing after making changes. It also proves, without a doubt, that the site was poorly organized from the outset and it fails a lot of SEO best practices and standards in templating. For example, the menu system is not a centralized script and is in many folders, or articles with links to other articles are duplicated, or links in content area also in sidebars, headers or footers but not included dynamically. Plus many other reasons.

So in cases of badly organized sites with poorly defined or lack of coherent templating, the real fix is to run a detailed link checker report and find broken links and fix them, using global search and replace. Or, taking the time to redesign the site and improve SEO indexing and performance, if the client is willing to spend the money. If not, point it out to them. If you can't then the moral of this story is you can't easily automate a fix for a broken web site.

I want to be crystal clear this is not blaming or patronizing you in any way or saying you caused this. I thought carefully before responding in this manner, and after checkingt a list of Eclipse plugins at http://en.wikipedia.org/wiki/List_of...based_software and a few minutes Google searching. I failed finding anything, then realized you might be looking for something that doesn't exist to satisfy unfair client demands on something likely broken before you even saw the software. So with those assumption in mind, consider a quality link checker report as utility #1 in your toolbox in this situation.

Wouldn't hurt to check back here in a few days if time permits to see if any other suggestions from others, as I admit my assumptions are many. But I have this feeling I am right on track with this.... been there, done that.

Cheers, and thanks for listening.
Thank you very much for this, it's actually for the place where i work, it's an ATG multisite and over the years it's gotten messy and i was thinking it'd be a good time to start cleaning it up a bit. So i basically have to do this manually more or less then. Sucks but if that's the only way, i have to do it

Thanks again for an awesomely elaborate comment!
sk3pt1c is offline   0 Reply With Quote
Old Jun 9, 2013, 12:28 AM   #6
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
Aha! I found a commercial product which you can pitch to the company to pay for if they have the budget:

http://www.linkfixerplus.com/

Download the trial version which has this limitation:

"The “Move/Rename” feature allows for the definition of rename rules and the preview of changes that would be made by the rename rules, but it will not actually implement changes to folders, files or links."

That seems to be exactly what you're looking for, set some rules, run the report and implement changes (when registered) otherwise preview so you know the product does what you want prior to purchase. Can't tell you about Eclipse integration if any, this seems like you'd export to HTML (of not already) and use this standalone. FYI.

__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   0 Reply With Quote
Old Jun 9, 2013, 01:15 AM   #7
sk3pt1c
Thread Starter
macrumors 6502a
 
Join Date: Nov 2005
Location: a simulacrum
Quote:
Originally Posted by SrWebDeveloper View Post
Aha! I found a commercial product which you can pitch to the company to pay for if they have the budget:

http://www.linkfixerplus.com/

Download the trial version which has this limitation:

"The “Move/Rename” feature allows for the definition of rename rules and the preview of changes that would be made by the rename rules, but it will not actually implement changes to folders, files or links."

That seems to be exactly what you're looking for, set some rules, run the report and implement changes (when registered) otherwise preview so you know the product does what you want prior to purchase. Can't tell you about Eclipse integration if any, this seems like you'd export to HTML (of not already) and use this standalone. FYI.

They have the budget no doubt but most of the files are jsp and there's svn and various versions on various servers so exporting to HTML would be a no-no i guess. I'd need something that can - on me changing a file's location - find all links to that file in all the jsps and update them.
There are other dependencies from other UIs too, it's pretty complicated sadly
sk3pt1c is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Xcode 5 vs Eclipse moonman239 iPhone/iPad Programming 1 Sep 21, 2013 08:19 AM
Alternatives to eclipse? sentinelsx Alternatives to iOS and iOS Devices 7 Mar 8, 2013 03:01 AM
Eclipse Problem macuser1232 Mac Programming 4 Oct 16, 2012 06:05 AM
Anyone using the marware eclipse? lyceumHQ iPhone Accessories 0 Jun 20, 2012 01:10 PM

Forum Jump

All times are GMT -5. The time now is 05:00 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC