labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apali...@apache.org
Subject svn commit: r764723 - /labs/vysper/build.xml
Date Tue, 14 Apr 2009 09:45:03 GMT
Author: apaliwal
Date: Tue Apr 14 09:45:03 2009
New Revision: 764723

URL: http://svn.apache.org/viewvc?rev=764723&view=rev
Log:
Updated the generate-compliance-doc target to generate Compliance report as part of Javadoc
Submitted By: Ashish Paliwal (apaliwal.at.apache.org)

Modified:
    labs/vysper/build.xml

Modified: labs/vysper/build.xml
URL: http://svn.apache.org/viewvc/labs/vysper/build.xml?rev=764723&r1=764722&r2=764723&view=diff
==============================================================================
--- labs/vysper/build.xml (original)
+++ labs/vysper/build.xml Tue Apr 14 09:45:03 2009
@@ -18,14 +18,14 @@
      ! permissions and limitations under the License.                      !
      -->
 
-  
+
   <!-- Uncomment the following property if no tests compilation is needed -->
-  <!-- 
+  <!--
   <property name="skip.tests" value="true"/>
    -->
-  
+
   <!-- Compiler options -->
-  
+
   <property name="compiler.debug" value="on"/>
   <property name="compiler.generate.no.warnings" value="off"/>
   <property name="compiler.args" value=""/>
@@ -49,14 +49,14 @@
     <include name="**/?*.dtd"/>
     <include name="**/?*.tld"/>
   </patternset>
-  
-  
+
+
   <!-- Application Server Libraries -->
-  
+
   <dirname property="basedir" file="${ant.file}"/>
-  
+
   <property name="compiler.args.vysper" value="${compiler.args}"/>
-  
+
   <property name="vysper.output.dir" value="${basedir}/build/ant/classes"/>
   <property name="vysper.docs.dir" value="${basedir}/build/ant/apidocs"/>
   <property name="vysper.target.dir" value="${basedir}/target"/>
@@ -68,7 +68,7 @@
   <path id="bootclasspath">
     <!-- Paths to be included in compilation bootclasspath -->
   </path>
-  
+
   <path id="classpath">
     <pathelement location="${basedir}/lib/spring.jar"/>
     <pathelement location="${basedir}/lib/junit.jar"/>
@@ -89,42 +89,42 @@
     <pathelement location="${basedir}/lib/slf4j-log4j12-1.5.3.jar"/>
     <pathelement location="${basedir}/lib/jackrabbit-standalone-1.5.3.jar"/>
   </path>
-  
+
   <patternset id="excluded.from.vysper">
     <patternset refid="ignored.files"/>
   </patternset>
-  
+
   <patternset id="excluded.from.compilation.vysper">
     <patternset refid="excluded.from.vysper"/>
   </patternset>
-  
+
   <path id="sourcepath">
     <dirset dir="${basedir}">
       <include name="src/main/java"/>
     </dirset>
   </path>
-  
+
   <path id="apt-classpath">
       <path refid="classpath" />
-      <fileset file="${vysper.output.dir}" />
-      <fileset file="${java.home}/" />
+      <pathelement location="${vysper.output.dir}" />
+      <pathelement location="${java.home}/" />
   </path>
-  
+
   <path id="test.sourcepath">
     <dirset dir="${basedir}">
       <include name="src/test/java"/>
     </dirset>
   </path>
-  
-  
+
+
   <target name="init" description="Build initialization">
    <!-- Perform any build initialization in this target -->
   </target>
-  
+
   <target name="clean" depends="clean.vysper" description="cleanup all"/>
 
   <target name="all" depends="init, clean, compile.vysper, generate-javadoc, run-unit-tests,
package" description="build all"/>
-	
+
   <target name="generate-javadoc" description="generate javadocs">
     <mkdir dir="${basedir}/build/ant/apidocs" />
     <javadoc sourcepathref="sourcepath" destdir="${vysper.docs.dir}">
@@ -132,7 +132,7 @@
   </target>
 
   <target name="compile.vysper" depends="compile.production,compile.tests" description="compile
vysper source code"/>
-  
+
   <target name="compile.production" description="Compile vysper; production classes">
     <mkdir dir="${vysper.output.dir}"/>
     <javac destdir="${vysper.output.dir}" source="1.5" target="1.5"
@@ -142,7 +142,7 @@
       <classpath refid="classpath"/>
       <src refid="sourcepath"/>
     </javac>
-    
+
     <copy todir="${vysper.output.dir}">
       <fileset dir="${basedir}/src/main/java">
         <patternset refid="compiler.resources"/>
@@ -153,12 +153,9 @@
 
   <target name="generate-compliance-doc" description="generates the compliance document"
>
       <apt factory="org.apache.vysper.compliance.reporting.DocumentSpecCompliantAnnotationFactory"
-           debug="false" verbose="true"
-           preprocessdir="${basedir}/build/ant/apidocs"
-           compile="false"
-              >
-          <bootclasspath refid="apt-classpath"/>
-          <classpath  refid="classpath"/>
+           debug="false" verbose="true" preprocessdir="${basedir}/build/ant/apidocs"
+           compile="false">
+          <classpath  refid="apt-classpath"/>
           <src refid="sourcepath"/>
       </apt>
   </target>
@@ -171,7 +168,7 @@
       <classpath location="${vysper.output.dir}"/>
       <src refid="test.sourcepath"/>
     </javac>
-    
+
     <copy todir="${vysper.unittest.output.classes.dir}">
       <fileset dir="${basedir}/src/test/java">
         <patternset refid="compiler.resources"/>
@@ -179,21 +176,21 @@
       </fileset>
     </copy>
   </target>
-  
+
   <target name="clean.vysper" description="cleanup">
     <delete dir="${vysper.output.dir}"/>
     <delete dir="${vysper.unittest.base.dir}"/>
   </target>
 
   <target name="package">
-    
-  </target>      
-    
+
+  </target>
+
   <target name="package-jar" >
       <mkdir dir="${vysper.target.dir}" />
       <jar basedir="${vysper.output.dir}" destfile="${vysper.target.dir}/${vysper.jar.filename}"
/>
   </target>
-    
+
   <target name="run-server" depends="compile.vysper, package-jar" description="run the
stand-alone server">
     <java classname="org.apache.vysper.spring.ServerMain" fork="true" spawn="true">
       <classpath>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message