For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 23 replies, 9 voices, and was last updated 19 years, 1 month ago by
Riyad Kalla.
-
AuthorPosts
-
jnhMemberI’m using the MyEclipse 3.7.2 and Eclipse 3.0 M8, Weblogic 8.1. My existing source tree is structured something like this:
myrootdir/src/docroot/jsp/*.jsp
myrootdir/etc/web.xml
myrootdir/etc/ejb-jar.xml
myrootdir/etc/struts/struts-config.xml
myrootdir/etc/locale/ApplicationResources.properties
myrootdir/src/com/mycompany/server/**/Action.java
myrootdir/src/com/mycompany/server/**/EJBs.javaI’ve succeeded in hot deploying changes to struts Action classes, but my jsps changes are hot deployed. I’m not sure about EJB changes at this point.
Any pointers will be much appreciated.
Thanks,
JohnMay 19, 2004 at 11:25 am #207221
Riyad KallaMemberI’m a little confused, your post subject suggests that you are having general problems setting up your project, but it seems like you have it working just fine. So I’ll address the specific questions… (please let me know if you have others)
but my jsps changes are hot deployed.
I’m assuming you meant that your JSPs are *note* being hot deployed, is this correct? If so, please let us know which directory in your project you have setup as the webroot.
May 19, 2004 at 6:23 pm #207242
jnhMemberI apologize for the confusion in my previous post. I’ll start over with one question. But first a little background.
I have an existing Eclipse project that utilizes a complex ant build to create a .ear containing both an ejb.jar file and webapp.war file. I’m trying to install MyEclipse and configure it without reorganizing my existing source tree.
My existing source tree is under CVS control and is organized more or less as follows:
myrootdir/src/docroot/jsp/*.jsp
myrootdir/etc/web.xml
myrootdir/etc/ejb-jar.xml
myrootdir/etc/struts/struts-config.xml
myrootdir/etc/locale/ApplicationResources.properties
myrootdir/src/com/mycompany/server/**/Action.java
myrootdir/src/com/mycompany/server/**/EJBs.javaQuestion:
Can I set up my webroot given that my source files are not organized in exploded WAR file format?
Thanks again,
John
May 19, 2004 at 9:57 pm #207247
Riyad KallaMemberCan I set up my webroot given that my source files are not organized in exploded WAR file format?
No, you won’t be able to do this with the current implementation of MyEclipse. I am also not aware of any specific enhancements to flexible project structure that will/won’t allow this in the future 2.8 release either, so I can’t say “Oh just way until XYZ to do this…” and don’t want to mislead you.
If your ‘docroot’ could be modified to resemble that of an exploded WAR, then yes you should be able to work with this structure just fine, but as it stands now, you will run into problems with the web.xml and struts-config.xml being out of your WEB-INF dir under your webroot. Most likely MyEclipse will create new empty ones, which is far from what you want 🙁
May 25, 2004 at 6:51 am #207427
Marcus LarssonMemberHi,
I have about the same problem. I have my webroot source folders spread in different directories in the CVS, and I need some way to be able to map these so that the jsp’s will be compiled, the xml’s validated, and have them deployed according to the j2ee standard.I thought there was some kind of enhancement to this kind of structures in 2.8. According to the roadmap “Flexible web project structure for web content folders, including linked resources” should be included.
What exaclty does that mean?May 25, 2004 at 9:44 am #207434
Riyad KallaMemberI thought there was some kind of enhancement to this kind of structures in 2.8. According to the roadmap “Flexible web project structure for web content folders, including linked resources” should be included.
What exaclty does that mean?The flexible project support will come in stages and may not all be done by 2.8 GA, the first steps towards it in Beta 1 were to ignore JSPs out of webroot (And some other changes) in Beta 2 and Beta 3 I’m not entirely sure what will happen and then what we have targetted for GA will be up to management.
We are in a sticky situation because we are trying to appease our users and quite frankly its impossible to catch every case (although our eventual goal will probably take care of 99.5% of all cases). The problem is that none of the other big IDEs out there allow for flexible project support and some of the bigger IDEs (WSAD) are actually completely unforgiving when it comes to project support. After delving into this deeper, thinking that flexible project support wouldn’t be too much of a problem, we are finding why the other IDEs don’t do it: its *really* complex.
But as I mentioned in another thread, we will eventually get there, please have patience and keep good feedback comming our way so we can continue to improve ME.
May 26, 2004 at 10:49 am #207550
MikeMemberNote that I still get this error in 2.8 B1:
...details.jsp) not in base path (C:/tomcat/webapps/feedback2/WebRoot/)May 26, 2004 at 11:12 am #207553
Riyad KallaMemberNote that I still get this error in 2.8 B1:
Code:
…details.jsp) not in base path (C:/tomcat/webapps/feedback2/WebRoot/)
I am very sorry, I must have gotten my wires cross with the release notes for Beta 1 and conversations with the MyEclipse team. I will double check on the time frame for this feature. Thanks for keeping us honest 😉
May 26, 2004 at 11:32 am #207555
Scott AndersonParticipantIt’s scheduled for 2.8, but didn’t make it by the beta 1 timeframe.
June 2, 2004 at 8:53 am #207771
bkaplanMember@support-rkalla wrote:
The problem is that none of the other big IDEs out there allow for flexible project support
Idea 4.x supports flexible project support for webapps.
June 2, 2004 at 10:14 am #207791
Scott AndersonParticipantIdea 4.x supports flexible project support for webapps.
Since I don’t use Idea, I’m curious as to what type of flexibility they provide that you find useful. How do you mark the sections of your web project so that Idea knows how to properly package everything on deployment?
June 2, 2004 at 11:19 am #207801
Riyad KallaMemberDoes IDEA support deployment?
June 3, 2004 at 1:18 pm #207945
nemecMember@support-scott wrote:
Idea 4.x supports flexible project support for webapps.
Since I don’t use Idea, I’m curious as to what type of flexibility they provide that you find useful. How do you mark the sections of your web project so that Idea knows how to properly package everything on deployment?
In IDEA, you setup your sources for the web app module (like sources in Eclipse) and for each directory you can specify what is its logical (deployed) directory in the final deployment. Then all the sources are (without deployment) managed with that information. For example, if you have an import, or forward, you can jump to the file directly.
One major feature in IDEA, is its integration with Java – especially refactoring. If you rename a method or class, or so, it will include JSP usages in refactorings.
And, to answer Riyad’s question – it supports few deployements. For webapps – as exploded dirs and/or JARs.
June 3, 2004 at 2:42 pm #207952
nemecMemberShould have been: …and/or WARs.
July 8, 2004 at 4:25 pm #209572
rgrahamMemberAnother voice chiming in here…
I too am disappointed to find that my projects have to conform to MyEclipse’s directory structure. Where I work we have directory structure that we use for all of our projects, which unfortunately, does not conform to what MyEclipse wants. The situation is made worse because of the three developers, I’m the only one who uses Eclipse, the other two use IntelliJ so of course they’re real smug about being able “their” editor being able to handle any directory structure. I have no doubt that such flexibility is difficult to achieve but it’s a major stumbling block for me.
-
AuthorPosts
