MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
coemergence
5 Post subject: Wanting to Execute a CVS Branch in Tomcat 5  PostPosted: Nov 02, 2004 - 02:23 PM
Registered Member
Registered Member


Joined: Oct 18, 2004
Posts: 16

Hi All,

I discovered that I have a need to build and execute an older CVS version of our current Eclipse/MyEclipse project that we created a branch for. In Eclipse, this branch has been created as a different project. In the previous Tomcat Eclipse plugin we had, we could simply specify the source code that would be executed and allowed to be debugged via a preferences setting. I have looked around in the MyEclipse preferences and see nothing similar. How would I go about doing such a thing?

John
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 02, 2004 - 05:04 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

John,
As I understand your question you need to check the old branch back out from CVS as a new project (e.g. MyProject-OLD) and you want to deploy/run this on Tomcat right? You can accomplish this by simply setting a deployment for this new project, it will be treated like a different project and deployed to Tomcat (even if its ontop of the 'newer' one).

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
coemergence
Post subject:   PostPosted: Nov 03, 2004 - 04:18 PM
Registered Member
Registered Member


Joined: Oct 18, 2004
Posts: 16

Will I be able to debug the "old" branch code as I do for the current project?
I was temporarily able to get around this by closing my existing project, opening the "branch" project and then execute Tomcat. I already had a Tomcat context defined for it, but I wanted to ensure I was executing the correct application code. Perhaps what I am missing here is the whole "deployment" aspect of our project in MyEclipse. I don't think we have done that, or at least in the way suggested. I will look into that further.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 03, 2004 - 04:27 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Yes you will be able to debug both apps, but it is a good idea to close the one you are not using as the source locater looks into ALL open projects when stopping at breakpoints and such, so having two almost identical projects open at the same time might confuse it.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
coemergence
Post subject:   PostPosted: Nov 03, 2004 - 04:36 PM
Registered Member
Registered Member


Joined: Oct 18, 2004
Posts: 16

So, what I did was really the best way to do it anyways. Ok, I can pass that along to the other developers, thanks.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 03, 2004 - 04:37 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Yes keeping the two branches as separate projects will be the easiest solution in MyEclipse... you can deploy them independently, debug them and overall just treate them like two separate projects which is probably what you want (maintain old branch, development on new branch).

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits