2013年12月16日星期一

How to create a project template ? Eclipse / Android

you can add your own . so files and related jar package , such as the title , the younger brother wanted to create a custom Android project templates in Eclipse , was created . I hope you let me know ~ ~ ~ Thank you !
------ Solution ---------------------------------------- ----
this is based on the template , and you find him build the project configuration file , modify the configuration inside the line .

android 's how to change I do not know, I did the java ,
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>${pro_name}</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>


similar to the above .
------ For reference only -------------------------------------- -
thank you for helping upstairs , although I finally used other methods, but also thanks!

没有评论:

发表评论