Eclipse and MyEclipse project descriptor Xiangjie

2010-05-11  来源:本站原创  分类:Java  人气:213 

Sometimes in a Java project where we need to add third-party jar package, when you join the best relative path, not the absolute path. Otherwise, get your project elsewhere on the No running. Means is that your best work to the relevant jar into the directory. For the Web works is relatively simple, web project is a lib directory. Directly copied to here on the line. Rather than the web works is not. Eclispe can not automatically import the copy of the. This requires us to manually configure, the job description file, Eclipse and MyEclpse all be described with xml.

Now we take a look at Eclipse's. Classpath file:

<?xml version="1.0" encoding="UTF-8"?>
    <!--  Source directory   -->
    <classpathentry kind="src" path="src"/>
    <!-- JDK Runtime container   -->
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <!--  Following is a class library path to your custom directory   -->
    <classpathentry kind="lib" path="lib/swing-layout-1.0.3.jar"/>
    <classpathentry kind="lib" path="lib/AbsoluteLayout.jar"/>
    <classpathentry kind="lib" path="lib/jtds-1.2.2.jar"/>
    <classpathentry kind="lib" path="lib/jxl.jar"/>
    <!--  The compiled output class directory    -->
    <classpathentry kind="output" path="bin"/>

In the xml I've added in comment. Think you get the idea.

. Project file:

<?xml version="1.0" encoding="UTF-8"?>
    <!--  Name of project   -->
    <!--  The compiler specify   -->
    <!--  A core feature   -->

Myeclipse project for one more. Mymetadata file:

<?xml version="1.0" encoding="UTF-8"?>
    type :  The project type
    name :  Name of project
    id   :  Project in the workspace in the unique identity of the
    context-root :  The Web site root path
    j2ee-spec: J2EE Standard
    archive :  After the war file to package


  <!-- value : Web Root name   -->
    <attribute name="webrootdir" value="WebRoot" />

In the project have also encountered such a situation:

Eclipse and MyEclipse project descriptor Xiangjie

MyEclipse web project that can not be released, the reason lies in here. Mymetadata this file, which may be damaged or lost. Based on the above to explain themselves to create a project directory can be released into the web project.

  • Eclipse and MyEclipse project descriptor Xiangjie 2010-05-11

    Sometimes in a Java project where we need to add third-party jar package, when you join the best relative path, not the absolute path. Otherwise, get your project elsewhere on the No running. Means is that your best work to the relevant jar into the

  • ECLIPSE import MYECLIPSE project 2010-10-18

    For various reasons, many people want to project into the remaining MYECLIPSE ECLIPSE, the use of WTP plug-ins continue to develop. On the benefits of WTP and why do not you want to abandon MYECLIPSE discussion here, interested students can under GOO

  • eclipse turn myeclipse Xiangjie 2010-01-30

    Today, the Forum looked at the agreeable good article, it is a common problem, Problem has been solved but there is no drying out, so we switch to the next, and to share with everyone! 1. Netschool original eclipse project called 2. In the myeclipse

  • Lucene3.0 Source Analysis (1) in the Eclipse / MyEclipse project to build Lucene3.0 2010-06-19

    Source analysis of the first step is to establish related projects in the IDE, and then go step by step learning. Lucene3.0.2 project I set up some unnecessary long way around, so feel the need to write this blog: 1. Download Source: Download Lucene3

  • MyEclipse Web Project转Eclipse Dynamic Web Project 2013-10-15

    由于工作原因,需要将svn上的MyEclipse Web Project导入到Eclipse(Eclipse Java EE 4.2)中开发.但是在部署到tomcat时,发现无法发布这个项目. MyEclipse Web Project被识别为Java Project.所以决定从Java Project和Dynamic Web Project的区别开始分析. 一.分析 Java Project 1 .classpath 2 .project 3 .settings 4 org.eclipse.j

  • myeclipse project into eclipse project (testing possible) 2010-05-24

    1. Modify the project. Project documents In <natures> ... </ Natures> Add between <nature> org.eclipse.wst.common.project.facet.core.nature </ nature> <nature> org.eclipse.wst.common.modulecore.ModuleCoreNature </ nature&g

  • Myeclipse project into Eclipse 2010-06-25

    One. Please first make sure you are javaee versions of eclipse, or see wtp plugin installed 2. And then modify the project under eclipse. Project file: 3. <natures> </ Natures> to add <nature>org.eclipse.wst.common.project.facet.core.nat

  • add eclipse plugin myeclipse 2009-09-25

    As we all know eclipse is a very powerful java IDE, and it is free (this is important), for the staff to do in terms of web development is necessary to add the j2ee plugin for eclipse, we often use is myeclipse, plug-in is now charging myeclipse . I

  • (Transferred) to MyEclipse project into WTP project 2010-03-29

    1. Inside Eclipse to import the project into MyEclipse workspace. 2. Edit. Project documents, In <natures> </ natures> add <nature>org.eclipse.wst.common.project.facet.core.nature</nature>* <nature>org.eclipse.wst.common.modu

  • MyEclipse project to WTP project 2010-05-30

    Company of other colleagues to use MyEclipse, but I bought a new system and then set up MACOS MyEclipse environment is very troublesome (myeclipseide site has long kicked off the Chinese IP), may turn * may break, too complicated to do a even better

  • In the Eclipse of the document is Xiangjie decompile Class (transfer) 2010-08-29

    In the Eclipse of the document is Xiangjie decompile Class Java is open source, is free, we strongly despise all the stuff is not open source. For example, to encrypt files on the class mix of class files, under normal circumstances, we can not see i

  • Maven new packaging standards such as Eclipse Dynamic Web Project Management 2010-09-13

    Maven can not do without POM file (project object model, XML documents). Generate Eclipse JAVA project with Maven is very convenient, almost completed the formation does not require any custom work done (in addition to increased reliance). To generat

  • eclipse导入struts2源代码问题-eclipse导入myeclipse项目 2015-05-08

    Eclipse导入Myeclipse项目的问题 1.点击"import" 2.选择-下一步 3.选择项目-点击项目文件夹-点击"确定" 4.在Copy prejects into workspace对上勾,点击"Finish" 5.导入成功,但是问题,这项目不是web项目,没有web图标 6.选中项目,右键选择"Properties" 7.选择"Project Facets"-"Convert t

  • Using Eclipse Visual Editor Project to build GUI 2010-03-29

    A graphical interface for building a graphical tool Level: Junior David Gallardo ( [email protected] ), Software Consultant May 1, 2004 Similar to many projects, Visual Editor project's goal is to build a tool used to build (in this case

  • flexstore of myeclipse project 2010-04-27

    You may have never studied anatomy in depth introduction to sample java petstore project, but I believe you can not not aware of such a project. For people just learning java, and even those who have been grinding on for years, petstore is a good ref

  • swfupload myeclipse project 2010-06-01

    swfupload myeclipse project

  • spring2.5 + ibatis3 + web service cxf example MyEclipse project 2010-10-20

    spring2.5 + ibatis3 + web service cxf example MyEclipse project This project is for learning purposes. Engineering Directory Help SmartAnswerPort src Project Code com.mylink JAVA code javacommon ibatis3 Tools base util smartanswer Business to achieve

  • Reprinted MyEclipse project name in solution on the red cross 2010-12-31

    MyEclipse project name on the red cross ... but to start the project without any errors after the ... ... This led to the source code can not compile .... The following second and third cases I encounter more. Can be solved. I have not used the first

  • After the original Eclipse installed myeclipse code prompt Alt + / failure 2011-01-11

    After the original Eclipse installed myeclipse code prompt Alt + / failure August 15, 2008 Friday 10:46 Installed a MyEclipse6.5, that can not use keyboard shortcuts Alt + / to prompt the code, google it, found a solution as follows: 1, Eclipse into

  • [Top] Maven to deploy multi-module Maven project eclipse hot-hot-deploy tomcat project implementation. 2011-09-03

    Maven multi-module project in eclipse, the following hot deployment, which you can experience the entire project under the inside whether you modify the code of any module, no need to use maven package you can see the effect, 1, the first ready to cr