zoukankan      html  css  js  c++  java
  • Eclipse 创建新的workspace

    工具:eclipse  版本:4.5.1

    1、配置jdk(java-Compiler)、maven(Mven-User Settings)

    2、从svn拉取项目,创建.project(修改其项目名称)和.classpath文件,然后配置工程的jdk,clean项目,这样就OK了

    3、附上.classpath文件和.project文件内容

    .classpath文件:

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <classpath>
     3     <classpathentry kind="src" output="target/classes" path="src/main/java">
     4         <attributes>
     5             <attribute name="optional" value="true"/>
     6             <attribute name="maven.pomderived" value="true"/>
     7         </attributes>
     8     </classpathentry>
     9     <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
    10         <attributes>
    11             <attribute name="maven.pomderived" value="true"/>
    12         </attributes>
    13     </classpathentry>
    14     <classpathentry kind="src" output="target/test-classes" path="src/test/java">
    15         <attributes>
    16             <attribute name="optional" value="true"/>
    17             <attribute name="maven.pomderived" value="true"/>
    18         </attributes>
    19     </classpathentry>
    20     <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
    21         <attributes>
    22             <attribute name="maven.pomderived" value="true"/>
    23         </attributes>
    24     </classpathentry>
    25     <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
    26         <attributes>
    27             <attribute name="maven.pomderived" value="true"/>
    28             <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
    29         </attributes>
    30     </classpathentry>
    31     <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
    32         <attributes>
    33             <attribute name="maven.pomderived" value="true"/>
    34         </attributes>
    35     </classpathentry>
    36     <classpathentry kind="output" path="target/classes"/>
    37 </classpath>

    .project文件:

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <projectDescription>
     3     <name>ccjoin-crontab</name>
     4     <comment></comment>
     5     <projects>
     6     </projects>
     7     <buildSpec>
     8         <buildCommand>
     9             <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
    10             <arguments>
    11             </arguments>
    12         </buildCommand>
    13         <buildCommand>
    14             <name>org.eclipse.jdt.core.javabuilder</name>
    15             <arguments>
    16             </arguments>
    17         </buildCommand>
    18         <buildCommand>
    19             <name>org.eclipse.wst.common.project.facet.core.builder</name>
    20             <arguments>
    21             </arguments>
    22         </buildCommand>
    23         <buildCommand>
    24             <name>org.eclipse.wst.validation.validationbuilder</name>
    25             <arguments>
    26             </arguments>
    27         </buildCommand>
    28         <buildCommand>
    29             <name>org.eclipse.m2e.core.maven2Builder</name>
    30             <arguments>
    31             </arguments>
    32         </buildCommand>
    33     </buildSpec>
    34     <natures>
    35         <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
    36         <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
    37         <nature>org.eclipse.jdt.core.javanature</nature>
    38         <nature>org.eclipse.m2e.core.maven2Nature</nature>
    39         <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    40         <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
    41     </natures>
    42 </projectDescription>
  • 相关阅读:
    HTTP协议详解
    loadrunner性能测试步骤
    LR工作原理
    性能测试相关术语
    敏捷测试的方法和实践
    究竟什么是敏捷测试
    避免沙堆建楼 做好软件安全测试
    软件安全测试新武器 ——浅谈基于Dynamic Taint Propagation的测试技术
    软件安全测试的几个原则
    安全性测试--CSRF攻击
  • 原文地址:https://www.cnblogs.com/wzk-0000/p/6427343.html
Copyright © 2011-2022 走看看