Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37817254
en ru br
ALT Linux repos
S:8.0.30-alt1_2jpp11
5.0: 5.0.8-alt1_1jpp1.7
4.1: 5.0.8-alt1_1jpp1.7
4.0: 5.0.8-alt1_1jpp1.7

Group :: Development/Java
RPM: mysql-connector-java

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mysql-connector-java-build_xml.patch
Download


--- build.xml.sav	2006-10-20 00:17:29.000000000 +0200
+++ build.xml	2007-02-27 14:40:56.000000000 +0100
@@ -60,10 +60,6 @@
 	</path>
 
 	<path id="project.build.classpath">
-		<fileset dir="${buildDir}/${fullProdName}/lib-nodist">
-			<include name="**/*.jar"/>
-		</fileset>
-
 		<fileset dir="${buildDir}/${fullProdName}/lib">
 			<include name="**/*.jar"/>
 		</fileset>
@@ -280,7 +276,7 @@
 		</if>	
 	</target>
 
-	<target name="dist" depends="init, compile">
+	<target name="dist" depends="init, compile, javadoc">
 
 		<delete file="${buildDir}/${fullProdName}-bin.jar" />
 		<delete file="${distDir}/${fullProdName}.jar" />
@@ -1041,4 +1037,22 @@
 			</sequential>
 		</for>
 	</target>
+  <target name="javadoc" 
+          description="Creates the API documentation">
+    <mkdir dir="${buildDir}/javadoc"/>
+    <javadoc packagenames="com.mysql.jdbc.*,org.gjt.mm.mysql.*"
+             sourcepath="${sourceDir}"
+             destdir="${buildDir}/javadoc"
+             author="true"
+             version="true"
+             use="true"
+             splitindex="true"
+             noindex="false"
+             windowtitle="MySQL Connector/J v${version}"
+             doctitle="MySQL Connector/J v${version}&lt;br&gt;API Specification"
+             header="&lt;b&gt;MySQL Connector/J size='-1'&gt;${version}&lt;/font&gt;&lt;/b&gt;">
+      <classpath refid="project.build.classpath" />
+    </javadoc>
+  </target>
+
 </project>
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin