- This topic has 4 replies, 2 voices, and was last updated 18 years ago by Riyad Kalla.
-
AuthorPosts
-
jaffar_ramayMemberI have a project which I deploy with ANT build.xml and can’t deploy it with Eclipse’s provided deployment methods
I am using
Eclipse SDK Version: 3.2.1
MyEclipse Version 5.0 Milestone 2I want to debug my JSP after deployment with ANT build.xml
I have configured TOMCAT also
Marked the breakpoints as well
But failed to Debug the JSPPlease anyone could help me ??
Please give brief answer, I am new to MyEclipse
Riyad KallaMemberJaffar,
First things first, please remove MyEclipse 5.0M2 and reinstall a clean copy of MyEclipse 5.0.1 GA from our site. The Milestone 2 release is old and there have been a number of bug fixes in the 5.0.1 and then the 5.0.3 release that will be out in 2 weeks.What does your project layout look like?
jaffar_ramayMembersrc -> for my classes
ui – > for my jsps
build.xml -> ANT deployment file
other folders are not relevant to me, however they are used by ANT during deployment
could you help me out with upgrading MyEcplise because its my office machine and i don’t want to spend time on such times at this time, we have to finish our project as soon as possible
jaffar_ramayMemberI have upgraded to MyEclipse 5.0 GA from your site
but please could u guide me how could I debug JSP in MyEclipseMy Web Project Structure is as below :-
src -> for classes
ui -> for jsps
stencils -> un-compiled report files (these will compiled but ANT at the time of deployment)
tld -> containing my TAB libs
libs -> containing lib
build.xml -> for deploymentI have configured TOMCAT, it is starting from MyEclipse
I have configured ANT build, it is also deploying my projectPlease guide me how could I debug JSPs
NOTE: I want to deploy my project through ANT build file only
Riyad KallaMemberJaffar,
After you deploy your project can you debug your Java files at all?Also I’m trying to see what the layout of your project looks like, can you take a screenshot of your project layout in the package explorer and PM it to me? MyEclipse needs to know what the “web root” of your project is, which means your project has to be a web project. If it doesn’t know that, it doesn’t know from where to resolve JSP paths.
If you open your project properties and select the MyEclipse item, you can see which capabilities are enabled on your project from the icons. We want to make sure the Web capabilities are enabled from here.
-
AuthorPosts