facebook

Update Site for MyEclipse 3.8.1

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #213267

    Riyad Kalla
    Member

    Create 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.

    #213298

    Scott Anderson
    Participant

    Armen,

    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 thread

    This 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.

    #213305

    Thanks 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. 😳

    #213307

    Riyad Kalla
    Member

    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?

    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.

    #213545

    thompmar
    Member

    I 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 !!!

    #213557

    Riyad Kalla
    Member

    The -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?

    #213584

    Scott Anderson
    Participant

    On 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.

    #214374

    Unable to complete the upgrade because it times out each time on downloading the hibernate jar.

    #214383

    Riyad Kalla
    Member

    Are 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.

Viewing 9 posts - 16 through 24 (of 24 total)
Reply To: Update Site for MyEclipse 3.8.1

You must be logged in to post in the forum log in