incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r793308 - /incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api/src/ant/spec.xml
Date Sun, 12 Jul 2009 10:00:19 GMT
Author: spoole
Date: Sun Jul 12 10:00:19 2009
New Revision: 793308

URL: http://svn.apache.org/viewvc?rev=793308&view=rev
Log:
added debug to spec generation ant file

Modified:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api/src/ant/spec.xml

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api/src/ant/spec.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api/src/ant/spec.xml?rev=793308&r1=793307&r2=793308&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api/src/ant/spec.xml
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api/src/ant/spec.xml
Sun Jul 12 10:00:19 2009
@@ -9,7 +9,7 @@
 	
 	<target name="pdf">
 	
-		<available property="auriga.doclet.available"  file="${kato.aurigadoclet.jar}"/>
+		<available property="auriga.doclet.available" type="file" file="${kato.aurigadoclet.jar}"/>
 		<antcall target="create-spec"/>
 		<antcall target="no-spec"/>
 	</target>
@@ -30,11 +30,17 @@
 
 	</target>
 	<target name="no-spec" unless="auriga.doclet.available">
+		
+		<dirname property="doc.dir" file="${kato.aurigadoclet.jar}"/>
+		<available property="auriga.doclet.exists" value="exists"   file="${doc.dir}"/>
+		<property name="auriga.doclet.exists" value="does not exist"/>
+		
 		<echo>
 		Unable to create pdf specification document
 		Set maven property kato.aurigadoclet.jar in local settings to point to jar containing
 		required doclet.  (Visit http://aurigadoclet.sourceforge.net/) for more information
 		Current value of property is [${kato.aurigadoclet.jar}]
+		The containing directory ${doc.dir} ${auriga.doclet.exists}
 		</echo>	
 	</target>
 </project>
\ No newline at end of file



Mime
View raw message