Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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.




Back to the top