MyEclipse 6.5 increased support for Java EE 6

Source: Internet
Author: User

On the internet for a while didn't find a good way to just do their own hands-on, search Myeclipse_javaee_5_container found

myeclipse6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_6.5.0.zmyeclipse650200806 this position, That must have been configured here.

Then try it, find the corresponding configuration file in Myeclipse10,

Found in the plugin.xml file
<classpathcontainerinitializer
Class= "Com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer"
Id= "Melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER" >
</classpathContainerInitializer>

Add the following
<classpathcontainerinitializer
Class= "Com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer"
Id= "Melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_6_CONTAINER" >
</classpathContainerInitializer>

Preferences.ini The bottom add


Module. Javaee_6_container.id=javaee_6_container
Module. Javaee_6_container.name=javaee 6 Libraries
Module. Javaee_6_container.category=javaee_6
Module. javaee_6_container.containertype=2
Module.javaee_6_container.libid=melibrary.com.genuitec.eclipse.j2eedt.core.myeclipse_javaee_6_container
Module. Javaee_6_container.maven=javax.servlet/jstl/1.2/provided;javax.servlet.jsp/jsp-api/2.1/provided;\
Org.glassfish/javax.annotation/3.0.1;\org.glassfish/javax.ejb/3.0.1;org.jboss.weld/weld-osgi-bundle/1.0.1-sp3 ; org.glassfish/javax.servlet/3.0.1;

melibrary.com.genuitec.eclipse.j2eedt.core.myeclipse_javaee_6_container.containertype=2
Melibrary.com.genuitec.eclipse.j2eedt.core.myeclipse_javaee_6_container.classpath=\
Myeclipse_lib_home/ee_6/bean-validator.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.annotation.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.ejb.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.enterprise.deploy.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.jms.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.management.j2ee.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.persistence.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.resource.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.security.auth.message.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.security.jacc.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.servlet.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/javax.transaction.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/jaxb-api-osgi.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/jsf-api.jar (javadoc\=http\://javaserverfaces.java.net/nonav/docs/2.0/javadocs/); \
Myeclipse_lib_home/ee_6/jsf-impl.jar (javadoc\=http\://javaserverfaces.java.net/nonav/docs/2.0/javadocs/); \
Myeclipse_lib_home/ee_6/jsr311-api.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/jstl-impl.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/mail.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/webservices-api-osgi.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/); \
Myeclipse_lib_home/ee_6/weld-osgi-bundle.jar (javadoc\=http\://java.sun.com/javaee/6/docs/api/)
Melibrary.com.genuitec.eclipse.j2eedt.core.myeclipse_javaee_6_container.description=java EE 6 Libraries

Module. Javaee_6_container.serverrequiredlibs.servers=tomcat7server;tomcat6server;jetty6server;myeclipsetomcatserver; Tcserver6server;jetty7server
Module. Javaee_6_container.serverrequiredlibs.tomcat7server=\
Myeclipse_lib_home/ee_6/jstl-impl.jar;\
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar;\
Myeclipse_lib_home/ee_6/jsf-impl.jar;\
Myeclipse_lib_home/ee_6/jsf-api.jar

Module. Javaee_6_container.serverrequiredlibs.tomcat6server=\
Myeclipse_lib_home/ee_6/jstl-impl.jar;\
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar;\
Myeclipse_lib_home/ee_6/jsf-impl.jar;\
Myeclipse_lib_home/ee_6/jsf-api.jar

Module. Javaee_6_container.serverrequiredlibs.jetty6server=\
Myeclipse_lib_home/ee_6/jstl-impl.jar;\
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar;\
Myeclipse_lib_home/ee_6/jsf-impl.jar;\
Myeclipse_lib_home/ee_6/jsf-api.jar

Module. Javaee_6_container.serverrequiredlibs.myeclipsetomcatserver=\
Myeclipse_lib_home/ee_6/jstl-impl.jar;\
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar;\
Myeclipse_lib_home/ee_6/jsf-impl.jar;\
Myeclipse_lib_home/ee_6/jsf-api.jar

Module. Javaee_6_container.serverrequiredlibs.tcserver6server=\
Myeclipse_lib_home/ee_6/jstl-impl.jar;\
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar;\
Myeclipse_lib_home/ee_6/jsf-impl.jar;\
Myeclipse_lib_home/ee_6/jsf-api.jar

Module. Javaee_6_container.serverrequiredlibs.jetty7server=\
Myeclipse_lib_home/ee_6/jstl-impl.jar;\
Myeclipse_lib_home/ee_6/javax.servlet.jsp.jstl.jar;\
Myeclipse_lib_home/ee_6/jsf-impl.jar;\
Myeclipse_lib_home/ee_6/jsf-api.jar

Here to open JavaEE6 Project no error, a new project to try,

It's still not.

Target third file, J2eedtcore.jar compared to the new old jar package Com.genuitec.eclipse.j2eedt.core.LibraryManager simply pound directly in the reboot

Appeared, a new try looks like a success.

Change finished think, is not directly myeclipse10 in \com.genuitec.eclipse.j2eedt.core_10.5.0. The contents of the me201207171805 folder can be covered in the myeclipse6.5 corresponding directory?

In the spirit of life not only toss the attitude, try again. Failure, error, also messed up my workspace settings, haha, want to cry no tears AH. There's another busy ....

MyEclipse 6.5 adds support for Java EE 6

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.