2009年12月23日

如何在eclipse里创建一个同时支持java和perl的工程1.eclipse自带java的支持,可以安装EPIC插件(http://www.epic-ide.org/)让eclipse支持perl.2.新建java工程,生成.project文件如下<?xmlversion=”1.0″encoding=”UTF-8″?><projectDescription>   <name>SAS</name>   <comment></comment>   <projects>   </projects>   <buildSpec>      <buildCommand>         <name>org.eclipse.jdt.core.javabuilder</name>         <arguments>         </arguments>      </buildCommand>   </buildSpec>   <natures>      <nature>org.eclipse.jdt.core.javanature</nature>   </natures></projectDescription>3.关闭project,修改.project,加入perlbuildCommand和nature<?xmlversion=”1.0″encoding=”UTF-8″?><projectDescription>   <name>SAS</name>   <comment></comment>   <projects>   </projects>   <buildSpec>      <buildCommand>         <name>org.eclipse.jdt.core.javabuilder</name>         <arguments>         </arguments>      </buildCommand>      <buildCommand>         <name>org.epic.perleditor.perlbuilder</name>         <arguments>         </arguments>      </buildCommand>   </buildSpec>   <natures>      <nature>org.epic.perleditor.perlnature</nature>      <nature>org.eclipse.jdt.core.javanature</nature>   </natures></projectDescription>4.重新打开工程参考:http://wiki.eclipse.org/IRC_FAQ–HowdoImanuallyassignaprojectNatureorBuildCommand?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注