facebook

Files missing in EAR after exporting

💡
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. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #259814 Reply

    Hello,

    we are using MyEclipse4.1.1GA.
    When exporting EAR files it happens sometimes that files are missing in the EAR. When restarting the export, the files get into the EAR in most cases. The problem is not reproducable.
    The files missing are different: descriptors, configuration files, JSPs – it’s not a special file or file type.
    The effect does not happen in a certain J2EE project – we have the problem with every J2EE-application.

    Have you ever noticed effects like that? I have not seen any posting on this..
    What could be the reason of the problem?

    Thanks in advance,
    Andreas

    #259887

    Riyad Kalla
    Member

    Andreas,
    Each time this happens it’s most likely that some file is out of sync with the MyEclipse view or is corrupt and in our case the deployment util is currently written to short circuit when it runs into files like this (we will fix this moving forward)

    If you use external Ant scripts or other scripts to modify project contents at any time, you need to make sure you Refresh your projects before deploying, this can cause a failure. Also you need to make sure you don’t have build problems in your projects, that can also cause it to fail.

    #259909

    Riyad,
    thanks for the answer!
    I understand out of your msg. that the problem also affects MyEclipse version 5 (my hope was to get rid of it by upgrading..).
    Is there a way I can be notified when the problem is solved?

    Thanks and best regards,
    Andreas

    #259929

    Riyad Kalla
    Member

    Andreas,
    Well it’s actually not a bug so much as a combination of (1) a problem and (2) bad default behavior.

    (1) Is that your files are getting out of synch, you can turn on automatic workspace refreshing under Window > Prefs > General > Workspace, which will help problem #1.

    (2) Is that our deployer will stop when it encounters a problem instead of continuing. We are working to improve that in a future release to make it more resiliant.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Files missing in EAR after exporting

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