For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 3 voices, and was last updated 21 years, 11 months ago by
support-michael.
-
AuthorPosts
-
puravidaaustinMemberHello there;
I am trying to create a myEclipse project for a base of existing jsp code. I have read through the tutorial which goes into the HelloWorld.jsp example. The material there seems to go fine, and behaves as expected as described in the sample. I have Eclipse ver 2.1.0 with the 30 trial of myEclipse running on Win 2000. Below is the layout of the existing Jsp area I am trying to settup a project for.projctYadaYadaDir ---deployDir ------myEarDir ---------myEjbJarDir -------------META-INF ----------------EJB-JAR.xml ---------META-INF -------------APPLICATION.xml ---------myWarDir -------------META_INF -----------------web.xml -------------SomePackage1Dir ------------------aJspPage.jsp -------------SomePackage2Dir ------------------anotherJspPage.jsp ---sourceDir ------JavaDir ---------com ------------someNameSpaceItem ----------------SomeJavaCodeI have tried to put in many many combinations for “Source Folder”, “web root folder”, “Context root URL” for setting up the project (web project). For any combination I put there I get the error pop-up dialog below:
______________________________________
‘NewProjectCreationWizard.op_err.message!’
See error log for more details.
______________________________________The log shows an error from some null pointer issue in eclipse code. I don’t think this error is really a problem with the eclipse code, but somehow related to the values I am entering for the web project settup. Can you please tell me what values should be put in for the above directory structure?
November 21, 2003 at 9:23 am #200219
support-michaelKeymasterI don’t see a way to directly map MyEclipse J2EE projects directly on this physical dir structure. There are several interacting issues prevent this: 1) Eclipse does not allow overlapping projects and 2) MyEclipse does not yet support linked resources. The error you’re encountering is probably due to #1 and not being correctly surfaced by the underlying wizard logic.
I ran this question by a consultant and he says that if this is a CVS dir structure that modules can be used to checkout the files into a MyEclipse compatible local dir structure. (See the following link for CVS module info: http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_18.html#SEC157).
I’m new to CVS modules. To other readers, do you have any experience with using CVS modules from Eclipse?
The project file organization needed by MyEclipse:
EAR Project
META-INFWeb Project
<src> <– use links and exclude filters in build path if needed
<webroot>
<jsp/html content>
WEB-INFEJB Project
<src> <– use links and exclude filters in build path if needed
META-INF
<your root packages>Note that we will soon be extending MyEclipse to support much more flexible project structuring capabilities. Until then I hope this helps.
Michael
MyEclipse SupportMarch 17, 2004 at 12:07 pm #204918
kitmMemberMichael,
In your response you refer to using “exclude filters in build path” which I think is something I desperately need, but I can’t find anything like that in the project/workspace/build-path properties nor in the documentation (in fact doc searches for “exclude” or “filter” come up empty). I have 2.7rc2 – is this something in 2.7GA or 3.7M?
Thanks,
-Kit@support-michael wrote:
The project file organization needed by MyEclipse:
EAR Project
META-INFWeb Project
<src> <– use links and exclude filters in build path if needed
<webroot>
<jsp/html content>
WEB-INFEJB Project
<src> <– use links and exclude filters in build path if needed
META-INF
<your root packages>March 17, 2004 at 12:41 pm #204921
support-michaelKeymasterYou access exclusion filters from Java Build Path properties of your project. Select the Source tab and expand any src package folder. You should see a subnode titled “Exclusion Filters” that you can edit as needed. Also you can access Eclipse help from this page by selecting CTL-F1 to view help topics.
-
AuthorPosts
