- This topic has 3 replies, 2 voices, and was last updated 16 years, 10 months ago by Loyal Water.
-
AuthorPosts
-
sunnyqinMemberIn one of our projects, we uses tomcat as the webserver and myEclipse as IDE. The application was set to be deployed into the ..\ROOT\ folder of tomcat’s web directory. I used windows system, and myEclipse was installed into c:\Program Files\ directory.
When I deployed the project, I selected tomcat server, and below that, there was notice about options user can choose for the existing files in the current deployment directory . I scrolled the middle wheel of the mouse in order to see more of the notice, but it turned out that the drop-down list for the server reacted and changed to the “custom location” which is “c:\Program Files” without my notice. When I deploy the project, the files in the c:\Program Files\ is replaced by the application files to be deployed, and most of the software installed in the computer system were in severe trouble!
This user case could cause the whole system to be out of order. I wonder whether some control can be made to prevent this from happening. Thanks!
Loyal WaterMemberYou are requesting that the Custom Location should not be C:\Program Files by default. Is that correct ?
sunnyqinMemberThanks for you reply. Yes, I think it dangerous to have Custom Location as in the path of C:\Program Files.
But even the path is not C:\Program Files, there would be some problems.
Let’s see. The Custom Location is automatically set as the installation path of myEclipse, for example, it it is installed in path C:\myElipse. If the use set the web to be deployed to the root path of the server, the default Custom Location would be C:\myEclipse. If the user deploy the web application into this path, myEclipse itself will go out of order, since myEclipse system files will be replaced by the web application to be deployed.I’d like to suggest that:
1.Although some sensitive path, like c:\windows c:\program files could be filtered out as costom Location, perhaps the Custom Location could be set up by the user instead of default one, or if use default, could a new folder be built, for example myEclipse Installation path\defaultDeoloyPath\ ?
2.In MyEclipse 6.0.0 M1, currently, in the deployment dialog, both the server drop-down select box and the notice below react to the scroll of the middle wheel of the mouse, could it be controlled separately? I intended to scroll the notice, but the server selection scrolled, and I didn’t noticed that.
3.More secure control for the first deployment but the he current deployment path already has files. Like more prompts of warnings and confirm.As you asked, so I give some of my immature suggestions, FYI. Thanks!
Loyal WaterMemberThank you for your feedback.
-
AuthorPosts