[jbosstools-commits] JBoss Tools SVN: r6706 - in trunk/jsf/docs: userguide and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Mar 6 11:43:54 EST 2008


Author: smukhina
Date: 2008-03-06 11:43:54 -0500 (Thu, 06 Mar 2008)
New Revision: 6706

Removed:
   trunk/jsf/docs/resources/support.xml
   trunk/jsf/docs/resources/support/
   trunk/jsf/docs/userguide/build.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1703
ant resources are deleted, builds are moved to maven

Deleted: trunk/jsf/docs/resources/support.xml
===================================================================
--- trunk/jsf/docs/resources/support.xml	2008-03-06 16:39:44 UTC (rev 6705)
+++ trunk/jsf/docs/resources/support.xml	2008-03-06 16:43:54 UTC (rev 6706)
@@ -1,288 +0,0 @@
-<project name="DocSupport" default="all.doc" basedir=".">
-
-	<dirname property="support.startdir" file="${ant.file.DocSupport}"/>
-    <property environment="env"></property>
-    <property name="support.basedir" value="${support.startdir}"/>
-	
-	<property file="${support.basedir}/support.properties" />
-
-    <!-- Set build directories for all formats. -->
-    <property name="build.dir"             value="${basedir}/build"/>
-
-    <!-- Support files for build process. -->
-    <property name="support.dir"           value="${support.basedir}/support"/>
-    <property name="styles.dir"            value="${support.basedir}/styles"/>
-
-    <!-- Set DocBook stylesheets. -->
-    <property name="db.style.fopdf"        value="fopdf.xsl"/>
-    <property name="db.style.html"         value="html_chunk.xsl"/>
-    <property name="db.style.htmlsingle"   value="html.xsl"/>
-
-    <property name="maxmem"                value="1024m" />
-
-    <xmlcatalog id="docbook.catalog">
-        <catalogpath path="${support.basedir}/docbook-dtd/catalog.xml" />
-    </xmlcatalog>
-
-
-    <!-- Classpath for the build tools. -->
-    <path id="lib.classpath">
-        <fileset dir="${support.dir}/lib">
-            <include name="**/*.jar"/>
-        </fileset>
-		<dirset dir="." />
-		<fileset dir="${support.dir}/lib">
-            <include name="**/*.jar"/>
-			<exclude name="**/saxon1.jar"/>
-        </fileset>
-    </path>
-
-    <property name="fop.home" value="${support.dir}/lib"/>
-    
-    <taskdef name="fop" 
-        classname="org.apache.fop.tools.anttasks.Fop">
-        <classpath refid="lib.classpath">
-            
-        </classpath>
-    </taskdef>
-    
-    <!-- ################################################################## -->
-
-    <target name="all.doc" depends="clean">
-        <antcall target="lang.all"><param name="lang" value="en"/></antcall>
-    </target>
-
-    <!-- ################################################################## -->
-
-    <target name="lang.all.bypass.check" unless="lang.all.bypass.disabled">
-       <uptodate property="lang.all.bypass.on" targetfile="${build.dir}/${lang}/pdf/${pdf.name}">
-          <srcfiles dir="${support.basedir}" includes="**"/>
-          <srcfiles dir="${basedir}/${lang}" includes="**"/>
-          <srcfiles dir="${basedir}" includes="build.xml"/>
-       </uptodate>
-    </target>
-
-    <target name="lang.all.run" depends="lang.all.bypass.check, lang.all.bypass.message" unless="lang.all.bypass.on">
-       <antcall target="clean"/>
-       <antcall target="lang.all"/>
-    </target>
-    
-    <target name="lang.all.bypass.message" if="lang.all.bypass.on">
-       <echo>Already uptodate: ${build.dir}/${lang}/pdf/${pdf.name}</echo>
-       <echo>add -Dlang.all.bypass.disabled=true to force a rebuild</echo>
-    </target>
-
-    <!-- ################################################################## -->
-
-    <target name="lang.dochtml.bypass.check" unless="lang.dochtml.bypass.disabled">
-       <uptodate property="lang.dochtml.bypass.on" targetfile="${build.dir}/${lang}/html/index.html">
-          <srcfiles dir="${support.basedir}" includes="**"/>
-          <srcfiles dir="${basedir}/${lang}" includes="**"/>
-          <srcfiles dir="${basedir}" includes="build.xml"/>
-       </uptodate>
-    </target>
-
-    <target name="lang.dochtml.run" depends="lang.dochtml.bypass.check, lang.dochtml.bypass.message" unless="lang.dochtml.bypass.on">
-       <antcall target="clean.dochtml"/>
-       <antcall target="lang.dochtml"/>
-       <antcall target="lang.dochtmlsingle"/>
-    </target>
-    
-    <target name="lang.dochtml.bypass.message" if="lang.dochtml.bypass.on">
-       <echo>Already uptodate: ${build.dir}/${lang}/html/index.html</echo>
-       <echo>add -Dlang.dochtml.bypass.disabled=true to force a rebuild</echo>
-    </target>
-
-    <!-- ################################################################## -->
-
-    <target name="clean">
-        <!-- Delete build directory. -->
-        <delete dir="${build.dir}"/>
-    </target>
-
-    <target name="clean.dochtml">
-        <!-- Delete build directory for single html -->
-        <delete dir="${build.dir}/${lang}/html"/>
-        <delete dir="${build.dir}/${lang}/html_single"/>
-    </target>
-
-    <!-- ################################################################## -->
-
-    <target name="lang.all">
-        <antcall target="lang.docpdf"/>
-        <antcall target="lang.dochtml"/>
-        <antcall target="lang.dochtmlsingle"/>
-        <!-- 
-        <antcall target="lang.htmlmisc"/>
-        -->
-    </target>
-
-    <target name="lang.docpdf">
-        <!-- Copy all the images to the output location, 
-             will be removed later. -->
-        <copy todir="${build.dir}/${lang}/pdf/images">
-            <fileset dir="${basedir}/${lang}/images">
-                <include name="**/*.png"/>
-                <include name="**/*.svg"/>
-                <include name="**/*.gif"/>
-                <include name="**/*.jpg"/>
-            </fileset>
-        </copy>
-
-        <!-- Create the XSL/FO temporary file. -->
-
-        <java classname="com.icl.saxon.StyleSheet"
-              maxmemory="${maxmem}"
-              fork="true" dir="${basedir}">
-            <classpath refid="lib.classpath"/>
-            <arg value="-o" />
-            <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${styles.dir}/${lang}/${db.style.fopdf}"/>
-        </java>
-
-
-<!--
-        <xslt out="${build.dir}/${lang}/pdf/docbook_fop.tmp"
-                   in="${basedir}/${lang}/master.xml"
-              style="${styles.dir}/${lang}/${db.style.fopdf}">
-            <xmlcatalog refid="docbook.catalog"/>
-        </xslt>
--->
-        <!--echo>${basedir}</echo-->
-        <!-- Create a PDF from the XSL/FO. -->
-        <java classname="org.apache.tools.ant.Main" 
-            maxmemory="${maxmem}"
-            fork="true" dir="${basedir}" failonerror="true">
-            <classpath>
-               <pathelement location="${ant.core.lib}"/>
-                <fileset dir="${ant.home}/lib">
-                    <include name="*.jar"/>
-                </fileset>
-            </classpath>
-            <arg value="fork-fop-instance"/>
-            <sysproperty key="lang" value="${lang}"/>
-            <sysproperty key="file-path" path="${build.dir}/${lang}/pdf"/>
-        </java>
-        
-<!--        <java classname="org.apache.fop.cli.Main" 
-	      maxmemory="${maxmem}"
-              fork="true" dir="${basedir}" failonerror="true">
-            <classpath refid="lib.classpath"/>
-            <sysproperty key="fop.home" path="${support.dir}/lib"/>
-            <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
-            <arg value="${build.dir}/${lang}/pdf/${pdf.name}"/>
-        </java>
--->
-        <!-- Delete temporary files. -->
-        <delete file="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
-        <delete dir="${build.dir}/${lang}/pdf/images"/>
-    </target>
-
-    <target name="fork-fop-instance">
-        
-        <echo>${file-path}/docbook_fop.tmp</echo>
-        
-        <fop format="application/pdf"
-            basedir="${file-path}"
-            outfile="${file-path}/${pdf.name}"
-            fofile="${file-path}/docbook_fop.tmp"
-            messagelevel="debug">
-            
-        </fop>
-    </target>
-
-    <target name="lang.dochtml">
-        <mkdir dir="${build.dir}/${lang}/html/"/>
-
-        <!-- Copy all the images to the output location -->
-        <copy todir="${build.dir}/${lang}/html/images">
-            <fileset dir="${basedir}/${lang}/images">
-                <include name="**/*.png"/>
-                <include name="**/*.gif"/>
-                <include name="**/*.jpg"/>
-            </fileset>
-        </copy>
-        <copy todir="${build.dir}/${lang}/html/css">
-            <fileset dir="${styles.dir}/${lang}">
-                <include name="**/*.css"/>
-            </fileset>
-        </copy>
-        <copy todir="${build.dir}/${lang}/html">
-            <fileset dir="${styles.dir}/${lang}">
-                <include name="**/*.js"/>
-            </fileset>
-        </copy>
-
-	<copy todir="${build.dir}/${lang}/html/css/images">
-            <fileset dir="${styles.dir}/${lang}/Images">
-                <include name="**/*.gif"/>
-            </fileset>
-        </copy>
-
-
-        <java classname="com.icl.saxon.StyleSheet"
-              fork="true" dir="${build.dir}/${lang}/html">
-            <classpath refid="lib.classpath"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${styles.dir}/${lang}/${db.style.html}"/>
-        </java>
-    </target>
-
-    <target name="lang.dochtmlsingle">
-        <mkdir dir="${build.dir}/${lang}/html_single/"/>
-
-        <!-- Copy all the images to the output location -->
-        <copy todir="${build.dir}/${lang}/html_single/images">
-            <fileset dir="${basedir}/${lang}/images">
-                <include name="**/*.png"/>
-                <include name="**/*.gif"/>
-                <include name="**/*.jpg"/>
-            </fileset>
-        </copy>
-        <copy todir="${build.dir}/${lang}/html_single/css">
-            <fileset dir="${styles.dir}/${lang}">
-                <include name="**/*.css"/>
-            </fileset>
-        </copy>
-
-
-	<copy todir="${build.dir}/${lang}/html_single/css/images">
-            <fileset dir="${styles.dir}/${lang}/Images">
-                <include name="**/*.gif"/>
-            </fileset>
-        </copy>
-
-        <copy todir="${build.dir}/${lang}/html_single">
-            <fileset dir="${styles.dir}/${lang}">
-                <include name="**/*.js"/>
-            </fileset>
-        </copy>
-        <java classname="com.icl.saxon.StyleSheet" 
-	      fork="true" dir="${basedir}">
-            <classpath refid="lib.classpath"/>
-            <arg value="-o"/>
-            <arg value="${build.dir}/${lang}/html_single/index.html"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${styles.dir}/${lang}/${db.style.htmlsingle}"/>
-        </java>
-    </target>
-
-    <!-- I do not really like to have external dependency for HTML pages 
-         So, I am not using this task ... -->
-    <target name="lang.htmlmisc">
-        <!-- Copy images and CSS for HTML documentation, language specific. -->
-        <copy todir="${build.dir}/${lang}/shared/images">
-            <fileset dir="${basedir}/${lang}/images">
-                <include name="**/*.png"/>
-                <include name="**/*.gif"/>
-            </fileset>
-        </copy>
-
-        <copy todir="${build.dir}/${lang}/shared/css">
-            <fileset dir="${styles.dir}/${lang}">
-                <include name="**/*.css"/>
-            </fileset>
-        </copy>
-    </target>
-</project>

Deleted: trunk/jsf/docs/userguide/build.xml
===================================================================
--- trunk/jsf/docs/userguide/build.xml	2008-03-06 16:39:44 UTC (rev 6705)
+++ trunk/jsf/docs/userguide/build.xml	2008-03-06 16:43:54 UTC (rev 6706)
@@ -1,22 +0,0 @@
-<project name="Documentation" default="all.doc" basedir=".">
-
-	<property name="modulename" value="jsf"></property>
-	<condition property="build.dir" value="${doc-root}/${modulename}" else="${basedir}/../build/userguide">
-		<isset property="doc-root"/>
-	</condition>
-
-    <property name="pdf.name"              value="Visual_Web_Tools_Reference_Guide.pdf" />
-    <import file="../resources/support.xml" />
-
-    <target name="all.doc" depends="clean">
-        <antcall target="lang.all"><param name="lang" value="en"/></antcall>
-    </target>
-        
-    <!-- Use this alternate target to enable uptodate checking, i.e.
-         don't generate docs if nothing has changed
-    <target name="all.doc">
-        <antcall target="lang.all.run"><param name="lang" value="en"/></antcall>
-    </target>
-    -->
-
-</project>




More information about the jbosstools-commits mailing list