- This topic has 8 replies, 5 voices, and was last updated 20 years, 1 month ago by Scott Anderson.
-
AuthorPosts
-
ombomanMemberHi,
I’m currently evaluating MyEclipse, as part of a large scale office re-organisation, and I like it except for the fact that I cannot think of a way to commit and retrieve entire Enterprise Applications to and from one location in the source repository.
We are moving to using Subversion and need to keep an entire application – including its web application module and its EJB module – within its own directory, to be checked out at the same time.
For example :
/MyEnterpriseApplication
/MyEnterpriseApplication/META-INF/application.xml/MyEnterpriseApplication/webmodule
/MyEnterpriseApplication/webmodule/jsp
/MyEnterpriseApplication/webmodule/WEB-INF/MyEnterpriseApplication/earmodule
/MyEnterpriseApplication/earmodule/com/companyname/ejb
/MyEnterpriseApplication/earmodule/WEB-INF
/MyEnterpriseApplication/earmodule/META-INFSo checking out the project from within Eclipse (probably via subclipse repository browser) ‘MyEnterpriseApplication’ would obtain the whole thing as a complete project.
Is there a way of acheiving this that I just have not seen?
Thanks.
Riyad KallaMemberI’ve asked someone to look at this.
Riyad KallaMemberI got a response from one of the devs and the short answer is “no this won’t work”, but the longer answer is “with some enhancements in 3.8.3 you can get SOME editing help from MyEclipse, but deployment and such will be up to a custom ant script”.
Here is the quote from the dev:
A project of this structure we can’t enforce the
proper classloader hierarchies at build time. A full description of the
issue is in the recently-released Enterprise Application Project tutorial,
here: http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/He’s probably already got deployment figured out, so with 3.8.3 he *could*
check this in as a plain Java project and continue to do his own deployment.
But that will only get him *most* of the way there.
ombomanMemberThanks for the quick response.
So, assuming that I am willing to adapt the directory structure that I am working with; is it possible to have an enterprise application in which every file needed for the entire application can be checked out of source control in one go, and builds directly in eclipse? Or would it be a case of working out a hack to do it?
Riyad KallaMemberYou couldn’t check it out in one go, you would instead have a project for your EJBs, a project for your Web Module, and then a 3rd project for your EAR… the EAR in MyEclipse is composed of any number of EJB and Web Modules (we are looking at adding normal Java Projects in the future).
If you did want to stick with the format you had above, I don’t know that MyEclipse could help you much with deployment/editing/etc.
Did this clarify things? If not, please let me know.
Eric RizzoMemberI am too facing this issue right now. I see this a a serious issue for MyEclipse adoption – not everyone uses Eclipse and/or MyEclipse which means that there will often be the need to integrate with “unified” directory structures that pre-exist or are more friendly for non-Eclipse team members.
I really hope the MyEclipse team comes up with some combination of configuration options, ME enhancements, and/or SCM layout recommendations that address this – especially since I’ve already plunked down my $30 for the product – I hope that I am not limited to using it merely as a fancy JSP and Struts config editor…
Riyad KallaMembererizzo,
I assure you we are *very* aware of these limitations and are not fond of them ourselves. We will do something about this, but the change required is major and will not happen over night. We need to be in a position to really dig in and do some serious changes for about 2 months to get where we need/want to be. It will be sooner than later, but I have no exact ETA on it.
jarethkMemberI was able to work around this issue pretty easily with CVS. I really cannot comment on Subversion.
We created a CVS module like what omboman indicated in his original post. But in Eclipse we check-out the sub-folders as separate Eclipse projects.
We still get to use the features of MyEclipse, and still can support our nightly builds and release management procedures which happen outside Eclipse and require the full module be checked out.
Scott AndersonParticipantExcellent tip. Thanks for taking the time to post it to help out others.
-
AuthorPosts