Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] EAR cannot be added to a Server


Hi Thomas,

As I understand it, the EAR server support was not ready in M4, so the "Run on.." menu was pulled.
Gorcam, is there a timeline on ear module support?

Thanks - Chuck

Rational J2EE Tooling Team Lead
IBM Software Lab - Research Triangle Park, NC
Email:  cbridgha@xxxxxxxxxx
Phone: 919-254-1848 (T/L: 444)



"Thomas Yip" <tyip@xxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

05/04/2005 08:56 PM

Please respond to
"General discussion of project-wide or architectural issues."

To
<wtp-dev@xxxxxxxxxxx>
cc
Subject
[wtp-dev] EAR cannot be added to a Server






Hi all,


I am trying to port a server adapter to M4.

EAR project can no longer being added to the server.

Taking a brief look at the code and cvs. The change was made in Apr 27.

Would anyone mind shinning some light on the problem?




Thanks in advance!




Thomas Yip



------------ affected file ------------


package org.eclipse.jst.j2ee.internal.deployables;

public class EnterpriseApplicationDeployableFactory {

                // ...

                public IModule[] getModules() {
                                 //turned off for M4
                                 /*cacheModules();
                                 ArrayList moduleList = new ArrayList();
                                 for (Iterator iter = projects.values().iterator();
iter.hasNext();) {
                                                  IModule[] element = (IModule[]) iter.next();
                                                  for (int j = 0; j < element.length; j++) {
                                                                   moduleList.add(element[j]);
                                                  }
                                 }
                                 IModule[] modules = new IModule[moduleList.size()];
                                 moduleList.toArray(modules);
                                 return modules;*/
      return null;

                }
}

--------------------
Thomas Yip
Senior Software Engineer
BEA Systems
Email: tyip@xxxxxxx    YIM: thomasleaf    Phone: (206) 926-2906


"The complexity you remove can never fail." Burt Rutan.


Notice: This email message, together with any attachments, contains
information of BEA Systems, Inc. (San Jose, California, USA) that may be
confidential, proprietary, copyrighted, and/or legally privileged, and
is intended solely for the use of the individual or entity named in this
message. If you are not the intended recipient, and have received this
message in error, lease immediately return this by email and then delete
it.


_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top