随笔-77  评论-5  文章-2  trackbacks-0

最近下了oracle adf的 source code,想编译一下javadoc,用eclipse生成,搞出来out of memory,

于是翻了一下ant 的帮助,做了一个build.xml,设置了Xmx

本来工作正常得,删除了一点东西,没有测试,先贴着吧。

【adf 得代码还是挺难找的,终于在老外的一个blog上找到,是oracle给apache的,和 jdeveloper 10.1.3上的还是有点差别】

 

<project name="name of project" default="javadoc" basedir=".">


 <property name="adf-api.home"      value="E:/doc/oracle/apache-drop/adf-faces/adf-faces-api"/>
 <property name="adf-impl.home"      value="E:/doc/oracle/apache-drop/adf-faces/adf-faces-impl"/>
 <property name="dest.home"      value="E:/doc/oracle/apache-drop"/>

 

 

 

  <path id="doc.src.path">


   <pathelement path="${adf-api.home}/src/main/java"/>
     
   <pathelement path="${adf-api.home}/target/maven-i18n-plugin/main/java"/>
     
   <pathelement path="${adf-api.home}/target/maven-xrts-plugin/main/java"/>
     
   <pathelement path="${adf-api.home}/target/maven-faces-plugin/main/java"/>
     
    <pathelement path="${adf-impl.home}/src/main/java"/>
     
   <pathelement path="${adf-impl.home}/target/maven-javascript-plugin/main/resources"/>
     
   <pathelement path="${adf-impl.home}/target/maven-xrts-plugin/main/java"/>
     
   <pathelement path="${adf-impl.home}/target/maven-i18n-plugin/main/java"/>
     
   <pathelement path="${adf-impl.home}/target/maven-i18n-plugin/main/javascript"/>
     
   <pathelement path="${adf-impl.home}/target/maven-faces-plugin/main/java"/>
         
 </path>

  <path id="classes.path" >


  </path>


  <target name="javadoc"
   description="Create Javadoc API documentation">

    <mkdir          dir="${dest.home}/docs/api"/>
    <javadoc sourcepathref="doc.src.path" packagenames="oracle.*"
                destdir="${dist.home}/docs/api"
          maxmemory="200M">

   


    </javadoc>

  </target>


</project>


文章来源:http://stocknewbie.bokee.com/viewdiary.11971386.html
posted on 2009-05-01 10:52 huohuo 阅读(836) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: