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, 6 voices, and was last updated 21 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
August 24, 2004 at 11:08 am #213267
Riyad KallaMemberCreate one EJB project with a single class, no need to add fields or methods, just make sure it’s in some non-default package.
Ok
Create a second web project with no sources, but a single jsp page. Add first project as a dependency. At the top of the jsp page, import the package in which the first project’s class belongs. Any errors?
Yes, “Package does not exist….”
Now change the build path, add the classes directory from the first project. Does the web project rebuild?
No
If not, perform a manual rebuild.
Ok, errors are gone.
Now double check the deployment policy, make sure dependencies are set to deploy. Now deploy. Did the class from the first project get deployed?
No, however deployment policies only apply to Java Projects and external libraries… neither of which the EJB project is.
Armen,
I thank you for the walkthrough and will discuss the class resolution problem with the team ASAP.August 24, 2004 at 1:46 pm #213298
Scott AndersonParticipantArmen,
Yes I am running 3.8.1, and now with the quickfix. To summarize, here are my findings for web apps:
(1) Classes in dependent EJB projects are not visible to jsp pages.
(2) No rebuild occurs if java build path is modified.
(3) On manual clean/rebuild, package view only displays build errors in the first jsp page that (incorrectly) fails, all others appear as if they have no build problems.
(4) If you use the workaround mentioned in this threadThis is a bug that will be fixed shortly in the next QuickFix. It sounds like you already have a workaround until then. Thank you very much for providing the reproducible case for us to run this down.
August 24, 2004 at 1:58 pm #213305
Armen YampolskyMemberThanks you guys, I appreciate it. And now I remember going over the fact that dependent EJB projects don’t get deployed, it’s because there are no standards set on what and how it is done, right? I had completely forgotten about that. 😳
August 24, 2004 at 2:00 pm #213307
Riyad KallaMemberAnd now I remember going over the fact that dependent EJB projects don’t get deployed, it’s because there are no standards set on what and how it is done, right?
Yes, exactly. Although its not completely out of the picture, in the future we may address this with some ‘smart defaults’ or something, but for now its not.
August 26, 2004 at 7:48 am #213545
thompmarMemberI am using a mac and have run the update to 3.8.1 but have no idea how to specify the -clean option to eclipse. At the moment it looks as though MyEclipse is not installed !!!
August 26, 2004 at 9:15 am #213557
Riyad KallaMemberThe -clean option is added to the command line when running eclipse, something like:
/opt/eclipse/eclipse -clean -vmargs <optional memory args>I’m not farmiliar with mac, but if you have a shortcut of sorts for Eclipse, can you edit it and add that argument and then restart Eclipse using the shortcut?
August 26, 2004 at 10:20 am #213584
Scott AndersonParticipantOn the mac, there is an Eclipse.app directory that contains the launch script. You’ll need to edit it with the commandline tools because IIRC it’s an XML file that handles the commandline launch parameters.
September 2, 2004 at 11:03 am #214374
Scott FinnertyMemberUnable to complete the upgrade because it times out each time on downloading the hibernate jar.
September 2, 2004 at 11:40 am #214383
Riyad KallaMemberAre you trying to use the Eclipse updater? If it is not working we encourage you to uninstall MyEclipse, download the 3.8.1 Installer and rerun the install.
-
AuthorPosts
