Thread: [Mathlib-commitlog] SF.net SVN: mathlib:[503] JMathLib/trunk/build.xml
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2008-11-30 15:38:53
|
Revision: 503
http://mathlib.svn.sourceforge.net/mathlib/?rev=503&view=rev
Author: st_mueller
Date: 2008-11-30 15:38:51 +0000 (Sun, 30 Nov 2008)
Log Message:
-----------
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2008-11-30 15:37:41 UTC (rev 502)
+++ JMathLib/trunk/build.xml 2008-11-30 15:38:51 UTC (rev 503)
@@ -165,7 +165,7 @@
<!-- xml to html -->
<target name="xmltohtml" depends="">
- <java jar="./libs/saxon.jar" fork="true">
+ <java jar="libs/saxon.jar" fork="true">
<arg value='doc/src/doc.xml' />
<arg value='doc/DocBook/xsl/html/chunk2.xsl' />
<arg value="base.dir=${dist.dir}/handbook/" />
@@ -185,7 +185,7 @@
<!-- xml to fo -->
<target name="xmltofo" depends="">
- <java jar="./libs/saxon.jar" fork="true">
+ <java jar="libs/saxon.jar" fork="true">
<arg line="-o doc/src/doc.fo doc/src/doc.xml
doc/DocBook/xsl/fo/docbook2.xsl" />
<arg value='paper.type="A4"' />
@@ -197,19 +197,19 @@
<arg value='generate.index="1"' />
</java>
</target>
-
+
<!-- fo to pdf -->
<target name="fotopdf" depends="">
- <java classpath="avalon-framework.jar:batik" jar="libs/fop.jar" fork="true">
+ <java jar="libs/fop.jar" fork="true">
<arg value="doc/src/doc.fo" />
<arg value='-d' />
<arg value="upload/JMathLibManual_${version}.pdf" />
</java>
</target>
-
+
<!-- xml to help -->
<target name="xmltohelp" depends="">
- <java jar="./libs/saxon.jar" fork="true">
+ <java jar="libs/saxon.jar" fork="true">
<arg value='doc/src/doc.xml' />
<arg value='doc/DocBook/xsl/html/chunk.xsl' />
<arg value="base.dir=${upload.dir}/help/" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2008-12-29 19:48:21
|
Revision: 575
http://mathlib.svn.sourceforge.net/mathlib/?rev=575&view=rev
Author: st_mueller
Date: 2008-12-29 19:48:14 +0000 (Mon, 29 Dec 2008)
Log Message:
-----------
fine tuning of all files going into JMathLibSmallApplet.jar
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2008-12-28 16:58:21 UTC (rev 574)
+++ JMathLib/trunk/build.xml 2008-12-29 19:48:14 UTC (rev 575)
@@ -377,7 +377,7 @@
<!-- ================================================================= -->
<target name="webdist" description="prepare web distribution" depends="">
- <delete file="${dist.dir}/Classes/JMathLibSmallApplet.jar"/>
+ <delete file="${dist.dir}/bin/JMathLibSmallApplet.jar"/>
<delete file="${upload.dir}/JMathLib-web.tar.gz"/>
<delete file="${upload.dir}/JMathLib-web.zip"/>
@@ -385,15 +385,24 @@
<!-- User functions and m-files are only loaded on demand -->
<jar jarfile="${dist.dir}/bin/JMathLibSmallApplet.jar" compress="true">
<fileset dir="${dist.dir}/bin">
- <include name="jmathlib/webFunctionsList.dat"/>
- <include name="**/*.class" />
- <exclude name="jmathlib/toolbox/*/*.class"/>
- <include name="jmathlib/toolbox/general/startup.m"/>
- <include name="jmathlib/toolbox/*.class"/>
- <exclude name="jmathlib/toolbox/tools/**"/>
- <exclude name="jmathlib/toolbox/ui/awt/**"/>
- <exclude name="jmathlib/toolbox/ui/swing/**"/>
+ <include name="**" />
+ <exclude name="jmathlib/webFunctionsList.dat"/>
+ <exclude name="jmathlib/core/tokens/SparseNumberToken.class"/>
+ <exclude name="jmathlib/plugins/**"/>
+ <exclude name="jmathlib/toolbox/**"/>
+ <exclude name="jmathlib/tools/**"/>
+ <exclude name="jmathlib/ui/awt/**"/>
+ <exclude name="jmathlib/ui/swing/**"/>
+ <exclude name="jmathlibtests/**"/>
</fileset>
+ <fileset dir="${dist.dir}/bin">
+ <include name="jmathlib/plugins/PluginsManager.class"/>
+ <include name="jmathlib/toolbox/general/rand.class"/>
+ <include name="jmathlib/toolbox/general/startup.m"/>
+ <include name="jmathlib/toolbox/jmathlib/system/disp.class"/>
+ <include name="jmathlib/toolbox/jmathlib/system/setdebug.class"/>
+ <include name="jmathlib/toolbox/jmathlib/graphics/graph2d/plot.class"/>
+ </fileset>
</jar>
<!-- copy jar-file to classes directory -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2008-12-29 19:51:20
|
Revision: 576
http://mathlib.svn.sourceforge.net/mathlib/?rev=576&view=rev
Author: st_mueller
Date: 2008-12-29 19:51:14 +0000 (Mon, 29 Dec 2008)
Log Message:
-----------
removed generation of "website"
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2008-12-29 19:48:14 UTC (rev 575)
+++ JMathLib/trunk/build.xml 2008-12-29 19:51:14 UTC (rev 576)
@@ -323,56 +323,6 @@
</target>
<!-- ================================================================= -->
- <!-- W E B S I T E -->
- <!-- ================================================================= -->
- <target name="website"
- description="prepare website update"
- depends="alldocs, allinstallers">
-
- <delete includeEmptyDirs="true" dir="${website.dir}"/>
-
- <copy todir="${website.dir}">
- <fileset dir="${dist.dir}">
- <include name="bin/**"/>
- </fileset>
- </copy>
-
- <delete file="${website.dir}/Documentation.tar.gz"/>
- <delete file="${website.dir}/Documentation.zip"/>
-
-
- <delete file="${jar.dest}/${final.name}.jar"/>
- <jar jarfile="${jar.dest}/${final.name}.jar"
- compress="true">
- <fileset dir="${dist.dir}/Classes">
- <include name="**" />
- <exclude name="MathLib/Functions/*/*.class"/>
- <exclude name="MathLib/Functions/*/*.m"/>
- <include name="MathLib/Functions/*.class"/>
- <exclude name="MathLib/Tools/**"/>
- <exclude name="spoke/**"/>
- <include name="*.*"/>
- <exclude name="*.zip"/>
- <exclude name="*.jar"/>
- </fileset>
- </jar>
-
- <delete file="${zip.dir}/website.tar"/>
- <delete file="${zip.dir}/website.tar.gz"/>
-
- <tar tarfile="${zip.dir}/website.tar">
- <tarfileset dir="${dist.dir}/WebSite">
- <include name="**" />
- </tarfileset>
- </tar>
-
- <gzip zipfile="${zip.dir}/website.tar.gz"
- src="${zip.dir}/website.tar" />
-
- <delete file="${zip.dir}/website.tar"/>
- </target>
-
- <!-- ================================================================= -->
<!-- W E B D I S T -->
<!-- ================================================================= -->
<target name="webdist" description="prepare web distribution" depends="">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2008-12-31 15:37:00
|
Revision: 595
http://mathlib.svn.sourceforge.net/mathlib/?rev=595&view=rev
Author: st_mueller
Date: 2008-12-31 15:36:58 +0000 (Wed, 31 Dec 2008)
Log Message:
-----------
added createfunctionslist target
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2008-12-31 15:27:25 UTC (rev 594)
+++ JMathLib/trunk/build.xml 2008-12-31 15:36:58 UTC (rev 595)
@@ -251,6 +251,16 @@
<!-- create installer -->
<!-- ================================================================= -->
+ <!-- create functions list-->
+ <target name="createfunctionslist" description="create list of all functions,m-file,.... for the applet version">
+ <java classpath="${junitpath}:${build.dest}:.:${java.class.path}"
+ classname="jmathlib.ui.text.TextUI"
+ fork="true">
+ <arg value='createfunctionslist;quit(\"force\")' />
+ <classpath refid="classpath" />
+ </java>
+ </target>
+
<!-- copy classes and sources -->
<target name = "copy_to_upload" description="copy distribution files to upload directory">
<!-- classes directory -->
@@ -318,7 +328,7 @@
<!-- AllInstall: create full installer -->
- <target name="allinstallers" depends="copy_to_upload,
+ <target name="allinstallers" depends="createfunctionslist, copy_to_upload,
javalauncher, javalauncherswing, installer">
</target>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2008-12-31 17:53:22
|
Revision: 596
http://mathlib.svn.sourceforge.net/mathlib/?rev=596&view=rev
Author: st_mueller
Date: 2008-12-31 17:53:17 +0000 (Wed, 31 Dec 2008)
Log Message:
-----------
rearranged build script
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2008-12-31 15:36:58 UTC (rev 595)
+++ JMathLib/trunk/build.xml 2008-12-31 17:53:17 UTC (rev 596)
@@ -22,6 +22,14 @@
</target>
<!-- ================================================================= -->
+ <!-- C L E A N -->
+ <!-- ================================================================= -->
+ <target name="clean" >
+ <delete dir="${build.dest}/jmathlib" />
+ <delete dir="${build.dest}/jmathlibtests" />
+ </target>
+
+ <!-- ================================================================= -->
<!-- C O M P I L E -->
<!-- ================================================================= -->
<target name="compile" depends="env">
@@ -85,7 +93,7 @@
<!-- ================================================================= -->
<target name = "run" depends="compile,mfiles,resources,images">
<java classpath="${junitpath}:${build.dest}:.:${java.class.path}"
- classname="MathLib.UI.AWT.GUI"
+ classname="jmathlib.ui.awt.GUI"
fork="true">
<arg value='-d' />
<classpath refid="classpath" />
@@ -103,12 +111,20 @@
</jar>
</target>
+ <!-- ================================================================= -->
+ <!-- C L E A N - U P L O A D -->
+ <!-- ================================================================= -->
+ <target name="cleanupload" >
+ <delete dir="${upload.dir}" includes="**" excludes=".svn"
+ includeEmptyDirs="true" />
+ </target>
+
<!-- ================================================================= -->
<!-- Documentation processes -->
<!-- ================================================================= -->
- <!-- JavaDoc -->
+ <!-- JavaDoc -->
<!-- creates Reference.xml -->
<target name="javadoc" depends="">
<javadoc destdir="${doc.src}"
@@ -133,18 +149,20 @@
<fileset dir="${doc.src}">
<include name="**/*.gif" />
<include name="**/*.jpg" />
+ <include name="**/*.svg" />
</fileset>
</copy>
<copy todir="${upload.dir}/handbook_php/">
<fileset dir="${doc.src}">
<include name="**/*.gif" />
<include name="**/*.jpg" />
+ <include name="**/*.svg" />
</fileset>
</copy>
</target>
<!-- xml to php -->
- <target name="xmltophp" depends="">
+ <target name="xmltophp" description="convert xml to php" depends="">
<java jar="./libs/saxon.jar" fork="true">
<arg value='doc/src/doc.xml' />
<arg value='doc/DocBook/xsl/html/chunk.xsl' />
@@ -164,7 +182,7 @@
</target>
<!-- xml to html -->
- <target name="xmltohtml" depends="">
+ <target name="xmltohtml" description="convert xml to html" depends="">
<java jar="libs/saxon.jar" fork="true">
<arg value='doc/src/doc.xml' />
<arg value='doc/DocBook/xsl/html/chunk2.xsl' />
@@ -184,7 +202,7 @@
</target>
<!-- xml to fo -->
- <target name="xmltofo" depends="">
+ <target name="xmltofo" description="convert xml to fo" depends="">
<java jar="libs/saxon.jar" fork="true">
<arg line="-o doc/src/doc.fo doc/src/doc.xml
doc/DocBook/xsl/fo/docbook2.xsl" />
@@ -199,36 +217,16 @@
</target>
<!-- fo to pdf -->
- <target name="fotopdf" depends="">
+ <target name="fotopdf" description="convert fo to pdf" depends="">
<java jar="libs/fop.jar" fork="true">
<arg value="doc/src/doc.fo" />
<arg value='-d' />
- <arg value="upload/JMathLibManual_${version}.pdf" />
+ <arg value="${upload.dir}/JMathLibManual_${version}.pdf" />
</java>
</target>
- <!-- xml to help -->
- <target name="xmltohelp" depends="">
- <java jar="libs/saxon.jar" fork="true">
- <arg value='doc/src/doc.xml' />
- <arg value='doc/DocBook/xsl/html/chunk.xsl' />
- <arg value="base.dir=${upload.dir}/help/" />
- <arg value='chunk.section.depth="1"' />
- <arg value='chunk.first.sections="0"' />
- <arg value='generate.section.toc.level="0"' />
- <arg value='toc.section.depth="1"' />
- <arg value='toc.max.depth="3"' />
- <arg value='generate.index="1"' />
- <arg value='html.ext=".html"' />
- <arg value='use.id.as.filename="1"' />
- <arg value='html.extra.head.links="0"' />
- <arg value='html.stylesheet="../../formats.css"' />
- <arg value='ignore.image.scaling="1"' />
- </java>
- </target>
-
<!-- zip doc files -->
- <target name = "zip_docs" description="build documentation distro">
+ <target name = "zip_docs" description="zip doc files" depends="">
<zip zipfile="${upload.dir}/${final.name}_docs_php.zip" >
<zipfileset dir="${upload.dir}/handbook_php" >
<include name="**"/>
@@ -242,28 +240,18 @@
</target>
<!-- AllDocs: create all documenation files -->
- <target name="alldocs" depends="functiondocs, imageFiles, xmltophp,
+ <target name="alldocs" description="all doc targets"
+ depends="functiondocs, imageFiles, xmltophp,
xmltohtml, xmltofo, fotopdf, zip_docs">
</target>
<!-- ================================================================= -->
- <!-- create installer -->
+ <!-- COPY to DIST -->
<!-- ================================================================= -->
-
- <!-- create functions list-->
- <target name="createfunctionslist" description="create list of all functions,m-file,.... for the applet version">
- <java classpath="${junitpath}:${build.dest}:.:${java.class.path}"
- classname="jmathlib.ui.text.TextUI"
- fork="true">
- <arg value='createfunctionslist;quit(\"force\")' />
- <classpath refid="classpath" />
- </java>
- </target>
-
- <!-- copy classes and sources -->
- <target name = "copy_to_upload" description="copy distribution files to upload directory">
- <!-- classes directory -->
+ <target name = "copy_to_dist" description="copy distribution files to upload directory">
+
+ <!-- classes directory -->
<copy todir="${dist.dir}/bin">
<fileset dir="${build.dest}">
<include name="**"/>
@@ -279,7 +267,6 @@
<!-- others -->
<copy todir="${dist.dir}">
-
<!-- misc files -->
<fileset dir="${build.dir}">
<include name="JMathLib.html"/>
@@ -289,58 +276,35 @@
<include name="ChangeLog.txt"/>
<include name="JMathLib.html"/>
</fileset>
-
- <!-- full doc-->
- <fileset dir="${upload.dir}">
- <include name="JMathLibManual_${version}.pdf"/>
- </fileset>
-
- <!-- libraries and external htm pages-->
- <fileset dir="${build.src}">
- <include name="*.jar"/>
- <include name="*.html"/>
- </fileset>
</copy>
</target>
- <!-- create java launcher for awt gui-->
- <target name="javalauncher" depends="">
- <exec executable="c:\programme\nsis\makensis">
- <arg value="installer\JMathLib.nsi"/>
- </exec>
- </target>
-
- <!-- create java launcher for swing gui-->
- <target name="javalauncherswing" depends="">
- <exec executable="c:\programme\nsis\makensis">
- <arg value="installer\JMathLibSwing.nsi"/>
- </exec>
- </target>
-
- <!-- create installer -->
- <target name="installer" depends="">
- <exec executable="${nsis.path}makensis">
- <arg value="installer\JMathLibInstall.nsi"/>
- <env key="JMathLibVersion" value="${version}"/>
- </exec>
- </target>
-
-
- <!-- AllInstall: create full installer -->
- <target name="allinstallers" depends="createfunctionslist, copy_to_upload,
- javalauncher, javalauncherswing, installer">
- </target>
-
<!-- ================================================================= -->
- <!-- W E B D I S T -->
+ <!-- APPLET DIST -->
<!-- ================================================================= -->
- <target name="webdist" description="prepare web distribution" depends="">
+ <target name="applet_dist" description="prepare applet distribution"
+ depends="">
<delete file="${dist.dir}/bin/JMathLibSmallApplet.jar"/>
<delete file="${upload.dir}/JMathLib-web.tar.gz"/>
<delete file="${upload.dir}/JMathLib-web.zip"/>
+ <!-- create functions list -->
+ <java classpath="${junitpath}:${build.dest}:.:${java.class.path}"
+ classname="jmathlib.ui.text.TextUI"
+ fork="true">
+ <arg value='createfunctionslist;quit(\"force\")' />
+ <classpath refid="classpath" />
+ </java>
+
+ <!-- copy functions list to dist -->
+ <copy todir="${dist.dir}/bin/jmathlib">
+ <fileset dir="${build.dest}/jmathlib">
+ <include name="webFunctionsList.dat"/>
+ </fileset>
+ </copy>
+
<!-- Create jar files with minimun size. Necessary files only!! -->
<!-- User functions and m-files are only loaded on demand -->
<jar jarfile="${dist.dir}/bin/JMathLibSmallApplet.jar" compress="true">
@@ -365,31 +329,34 @@
</fileset>
</jar>
- <!-- copy jar-file to classes directory -->
- <!--copy todir="${dist.dir}/Classes">
- <fileset dir="${dist.dir}">
- <include name="JMathLibSmallApplet.jar"/>
- </fileset>
- </copy-->
-
- <tar tarfile="${upload.dir}/${final.name}-web.tar">
+ <!-- create distribution as tar-file -->
+ <tar tarfile="${upload.dir}/${final.name}-applet.tar">
<tarfileset dir="${dist.dir}">
<include name="bin/**" />
<exclude name="bin/jmathlib/tools/**"/>
+ <exclude name="bin/jmathlibtests/**"/>
+ <include name="ChangeLog.txt"/>
+ <include name="license.txt"/>
<include name="JMathLib.html"/>
<include name="readme-web.txt"/>
</tarfileset>
</tar>
- <gzip zipfile="${upload.dir}/${final.name}-web.tar.gz"
- src="${upload.dir}/${final.name}-web.tar" />
+ <!-- create distribution as tar-gz-file -->
+ <gzip zipfile="${upload.dir}/${final.name}-applet.tar.gz"
+ src="${upload.dir}/${final.name}-applet.tar" />
- <delete file="${upload.dir}/JMathLib-web.tar"/>
+ <!-- delete previously created tar-file -->
+ <delete file="${upload.dir}/${final.name}-applet.tar"/>
- <zip zipfile="${upload.dir}/${final.name}-web.zip">
+ <!-- create distribution as zip-file -->
+ <zip zipfile="${upload.dir}/${final.name}-applet.zip">
<zipfileset dir="${dist.dir}">
<include name="bin/**" />
<exclude name="bin/jmathlib/tools/**"/>
+ <exclude name="bin/jmathlibtests/**"/>
+ <include name="ChangeLog.txt"/>
+ <include name="license.txt"/>
<include name="JMathLib.html"/>
<include name="readme-web.txt"/>
</zipfileset>
@@ -398,40 +365,78 @@
</target>
<!-- ================================================================= -->
- <!-- DISTRO ZIPS -->
+ <!-- create installer -->
<!-- ================================================================= -->
+
+ <!-- copy classes and sources -->
+ <target name = "copy_to_upload" description="copy distribution files to upload directory">
+ <!-- full doc-->
+ <fileset dir="${upload.dir}">
+ <include name="JMathLibManual_${version}.pdf"/>
+ </fileset>
+
+ </target>
+ <!-- create java launcher for awt gui-->
+ <target name="javalauncher" depends="">
+ <exec executable="c:\programme\nsis\makensis">
+ <arg value="installer\JMathLib.nsi"/>
+ </exec>
+ </target>
+
+ <!-- create java launcher for swing gui-->
+ <target name="javalauncherswing" depends="">
+ <exec executable="c:\programme\nsis\makensis">
+ <arg value="installer\JMathLibSwing.nsi"/>
+ </exec>
+ </target>
+
+ <!-- create installer -->
+ <target name="installer" depends="">
+ <exec executable="${nsis.path}makensis">
+ <arg value="installer\JMathLibInstall.nsi"/>
+ <env key="JMathLibVersion" value="${version}"/>
+ </exec>
+ </target>
+
+ <!-- AllInstall: create full installers -->
+ <target name="allinstallers" depends="copy_to_upload,
+ javalauncher, javalauncherswing, installer">
+ </target>
+
+
+
<!-- create zip files for distribution -->
<target name = "distro_zips" description="build desktop distro">
- <delete file="${upload.dir}/${final.name}.tar.gz" />
- <delete file="${upload.dir}/${final.name}.zip" />
+ <delete file="${upload.dir}/${final.name}-all.tar.gz" />
+ <delete file="${upload.dir}/${final.name}-all.zip" />
<!-- create tar.gz file -->
- <tar tarfile="${upload.dir}/${final.name}.tar">
+ <tar tarfile="${upload.dir}/${final.name}-all.tar">
<tarfileset dir="${dist.dir}">
<include name="bin/**" />
<include name="src/**"/>
<include name="handbook/**"/>
- <exclude name="JMathLib.exe"/>
- <exclude name="JMathLibSwing.exe"/>
+ <include name="JMathLib.exe"/>
+ <include name="JMathLibSwing.exe"/>
<include name="*.*"/>
</tarfileset>
</tar>
- <gzip zipfile="${upload.dir}/${final.name}.tar.gz"
- src="${upload.dir}/${final.name}.tar" />
+ <gzip zipfile="${upload.dir}/${final.name}-all.tar.gz"
+ src="${upload.dir}/${final.name}-all.tar" />
- <delete file="${upload.dir}/${final.name}.tar" />
+ <delete file="${upload.dir}/${final.name}-all.tar" />
<!-- create a zip file -->
- <zip zipfile="${upload.dir}/${final.name}.zip" >
+ <zip zipfile="${upload.dir}/${final.name}-all.zip" >
<zipfileset dir="${dist.dir}" >
<include name="bin/**" />
<include name="src/**"/>
<include name="handbook/**"/>
- <exclude name="JMathLib.exe"/>
- <exclude name="JMathLibSwing.exe"/>
+ <include name="JMathLib.exe"/>
+ <include name="JMathLibSwing.exe"/>
<include name="*.*"/>
</zipfileset>
</zip>
@@ -439,26 +444,11 @@
<!-- ================================================================= -->
- <!-- C L E A N -->
- <!-- ================================================================= -->
- <target name="clean" >
- <delete dir="${build.dest}/MathLib" />
- </target>
-
- <!-- ================================================================= -->
- <!-- C L E A N - U P L O A D -->
- <!-- ================================================================= -->
- <target name="cleanupload" >
- <delete dir="${upload.dir}" includes="**" excludes=".svn"
- includeEmptyDirs="true" />
- </target>
-
- <!-- ================================================================= -->
<!-- Full distribution: -->
<!-- ================================================================= -->
<target name="all" description="create ALL files, docs, installers, ..."
- depends="cleanupload, alldocs, allinstallers,
- distro_zips">
+ depends="cleanupload, alldocs, copy_to_dist, applet_dist,
+ allinstallers, distro_zips">
</target>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2009-01-11 14:54:47
|
Revision: 682
http://mathlib.svn.sourceforge.net/mathlib/?rev=682&view=rev
Author: st_mueller
Date: 2009-01-11 14:54:38 +0000 (Sun, 11 Jan 2009)
Log Message:
-----------
added new ant targets for documentation
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2009-01-11 14:50:36 UTC (rev 681)
+++ JMathLib/trunk/build.xml 2009-01-11 14:54:38 UTC (rev 682)
@@ -145,20 +145,34 @@
<!-- Copy image-files to handbook directory -->
<target name = "imageFiles">
- <copy todir="${dist.dir}/handbook">
- <fileset dir="${doc.src}">
- <include name="**/*.gif" />
- <include name="**/*.jpg" />
- <include name="**/*.svg" />
- </fileset>
- </copy>
- <copy todir="${upload.dir}/handbook_php/">
- <fileset dir="${doc.src}">
- <include name="**/*.gif" />
- <include name="**/*.jpg" />
- <include name="**/*.svg" />
- </fileset>
- </copy>
+ <copy todir="${dist.dir}/handbook">
+ <fileset dir="${doc.src}">
+ <include name="**/*.gif" />
+ <include name="**/*.jpg" />
+ <include name="**/*.svg" />
+ </fileset>
+ </copy>
+ <copy todir="${upload.dir}/handbook_php/">
+ <fileset dir="${doc.src}">
+ <include name="**/*.gif" />
+ <include name="**/*.jpg" />
+ <include name="**/*.svg" />
+ </fileset>
+ </copy>
+ <copy todir="${upload.dir}/handbook_epub/">
+ <fileset dir="${doc.src}">
+ <include name="**/*.gif" />
+ <include name="**/*.jpg" />
+ <include name="**/*.svg" />
+ </fileset>
+ </copy>
+ <copy todir="${upload.dir}/handbook_eclipse/">
+ <fileset dir="${doc.src}">
+ <include name="**/*.gif" />
+ <include name="**/*.jpg" />
+ <include name="**/*.svg" />
+ </fileset>
+ </copy>
</target>
<!-- xml to php -->
@@ -205,7 +219,7 @@
<target name="xmltofo" description="convert xml to fo" depends="">
<java jar="libs/saxon.jar" fork="true">
<arg line="-o doc/src/doc.fo doc/src/doc.xml
- doc/DocBook/xsl/fo/docbook2.xsl" />
+ doc/DocBook/xsl/fo/docbook.xsl" />
<arg value='paper.type="A4"' />
<arg value='chunk.section.depth="0"' />
<arg value='chunk.first.sections="0"' />
@@ -225,24 +239,75 @@
</java>
</target>
- <!-- zip doc files -->
+ <!-- xml to epub -->
+ <target name="xmltoepub" description="convert xml to epub" depends="">
+ <java jar="libs/saxon.jar" fork="true">
+ <arg value='doc/src/doc.xml' />
+ <arg value='doc/DocBook/xsl/epub/docbook.xsl' />
+ <arg value="base.dir=${upload.dir}/handbook_epub/" />
+ <arg value='chunk.section.depth="1"' />
+ <arg value='chunk.first.sections="0"' />
+ <arg value='generate.section.toc.level="0"' />
+ <arg value='toc.section.depth="1"' />
+ <arg value='toc.max.depth="3"' />
+ <arg value='generate.index="1"' />
+ <arg value='use.id.as.filename="1"' />
+ <arg value='html.extra.head.links="0"' />
+ <arg value='html.stylesheet="../../formats.css"' />
+ <arg value='ignore.image.scaling="1"' />
+ </java>
+ </target>
+
+ <!-- xml to eclipse -->
+ <target name="xmltoeclipse" description="convert xml to eclipse" depends="">
+ <java jar="libs/saxon.jar" fork="true">
+ <arg value='doc/src/doc.xml' />
+ <arg value='doc/DocBook/xsl/eclipse/eclipse.xsl' />
+ <arg value="base.dir=${upload.dir}/handbook_eclipse/" />
+ <arg value='chunk.section.depth="1"' />
+ <arg value='chunk.first.sections="0"' />
+ <arg value='generate.section.toc.level="0"' />
+ <arg value='toc.section.depth="1"' />
+ <arg value='toc.max.depth="3"' />
+ <arg value='generate.index="1"' />
+ <arg value='use.id.as.filename="1"' />
+ <arg value='html.extra.head.links="0"' />
+ <arg value='html.stylesheet="../../formats.css"' />
+ <arg value='ignore.image.scaling="1"' />
+ </java>
+ </target>
+
+ <!-- zip doc files -->
<target name = "zip_docs" description="zip doc files" depends="">
- <zip zipfile="${upload.dir}/${final.name}_docs_php.zip" >
- <zipfileset dir="${upload.dir}/handbook_php" >
- <include name="**"/>
- </zipfileset>
- </zip>
- <zip zipfile="${upload.dir}/${final.name}_docs_html.zip" >
- <zipfileset dir="${dist.dir}/handbook/" >
- <include name="**"/>
- </zipfileset>
- </zip>
+ <zip zipfile="${upload.dir}/${final.name}_docs_php.zip" >
+ <zipfileset dir="${upload.dir}/handbook_php" >
+ <include name="**"/>
+ </zipfileset>
+ </zip>
+
+ <zip zipfile="${upload.dir}/${final.name}_docs_html.zip" >
+ <zipfileset dir="${dist.dir}/handbook/" >
+ <include name="**"/>
+ </zipfileset>
+ </zip>
+
+ <zip zipfile="${upload.dir}/${final.name}_docs_epub.zip" >
+ <zipfileset dir="${upload.dir}/handbook_epub" >
+ <include name="**"/>
+ </zipfileset>
+ </zip>
+
+ <zip zipfile="${upload.dir}/${final.name}_docs_eclipse.zip" >
+ <zipfileset dir="${upload.dir}/handbook_eclipse" >
+ <include name="**"/>
+ </zipfileset>
+ </zip>
</target>
<!-- AllDocs: create all documenation files -->
<target name="alldocs" description="all doc targets"
depends="functiondocs, imageFiles, xmltophp,
- xmltohtml, xmltofo, fotopdf, zip_docs">
+ xmltohtml, xmltofo, fotopdf, xmltoepub, xmltoeclipse, zip_docs">
</target>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2009-01-31 14:40:47
|
Revision: 806
http://mathlib.svn.sourceforge.net/mathlib/?rev=806&view=rev
Author: st_mueller
Date: 2009-01-31 14:40:41 +0000 (Sat, 31 Jan 2009)
Log Message:
-----------
made the preloaded jar file much smaller
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2009-01-31 10:39:41 UTC (rev 805)
+++ JMathLib/trunk/build.xml 2009-01-31 14:40:41 UTC (rev 806)
@@ -335,8 +335,6 @@
<!-- misc files -->
<fileset dir="${build.dir}">
<include name="JMathLib.html"/>
- <include name="JMathLib.properties"/>
- <include name="JMathLib.local.properties"/>
<include name="license.txt"/>
<include name="ChangeLog.txt"/>
<include name="JMathLib.html"/>
@@ -375,22 +373,32 @@
<jar jarfile="${dist.dir}/bin/JMathLibSmallApplet.jar" compress="true">
<fileset dir="${dist.dir}/bin">
<include name="**" />
+ <exclude name="JMathLib.properties"/>
<exclude name="jmathlib/webFunctionsList.dat"/>
+ <exclude name="jmathlib/core/functions/FileFunctionLoader.class"/>
+ <exclude name="jmathlib/core/functions/MFileLoader.class"/>
+ <exclude name="jmathlib/core/functions/SFunction.class"/>
+ <exclude name="jmathlib/core/tokens/numbertokens/Int*.class"/>
+ <exclude name="jmathlib/core/tokens/numbertokens/UInt*.class"/>
<exclude name="jmathlib/core/tokens/SparseNumberToken.class"/>
+ <exclude name="jmathlib/core/graphics/axes/Axes3DObject.class"/>
+ <exclude name="jmathlib/core/graphics/axes/coreObjects/*.class"/>
+ <exclude name="jmathlib/core/graphics/axes/plotObjects/**"/>
<exclude name="jmathlib/plugins/**"/>
<exclude name="jmathlib/toolbox/**"/>
<exclude name="jmathlib/tools/**"/>
<exclude name="jmathlib/ui/awt/**"/>
<exclude name="jmathlib/ui/swing/**"/>
+ <exclude name="jmathlib/ui/text/**"/>
<exclude name="jmathlibtests/**"/>
</fileset>
<fileset dir="${dist.dir}/bin">
- <include name="jmathlib/plugins/PluginsManager.class"/>
- <include name="jmathlib/toolbox/general/rand.class"/>
- <include name="jmathlib/toolbox/general/startup.m"/>
- <include name="jmathlib/toolbox/jmathlib/system/disp.class"/>
- <include name="jmathlib/toolbox/jmathlib/system/setdebug.class"/>
- <include name="jmathlib/toolbox/jmathlib/graphics/graph2d/plot.class"/>
+ <include name="jmathlib/core/graphics/axes/coreObjects/LineObject.class"/>
+ <include name="jmathlib/plugins/PluginsManager.class"/>
+ <include name="jmathlib/toolbox/general/rand.class"/>
+ <include name="jmathlib/toolbox/jmathlib/system/disp.class"/>
+ <include name="jmathlib/toolbox/jmathlib/system/setdebug.class"/>
+ <include name="jmathlib/toolbox/jmathlib/graphics/graph2d/plot.class"/>
</fileset>
</jar>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2009-02-01 17:38:23
|
Revision: 822
http://mathlib.svn.sourceforge.net/mathlib/?rev=822&view=rev
Author: st_mueller
Date: 2009-02-01 17:38:22 +0000 (Sun, 01 Feb 2009)
Log Message:
-----------
moved the temporary doc files to /tmp
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2009-02-01 17:37:46 UTC (rev 821)
+++ JMathLib/trunk/build.xml 2009-02-01 17:38:22 UTC (rev 822)
@@ -218,7 +218,7 @@
<!-- xml to fo -->
<target name="xmltofo" description="convert xml to fo" depends="">
<java jar="libs/saxon.jar" fork="true">
- <arg line="-o doc/src/doc.fo doc/src/doc.xml
+ <arg line="-o tmp/doc.fo doc/src/doc.xml
doc/DocBook/xsl/fo/docbook.xsl" />
<arg value='paper.type="A4"' />
<arg value='chunk.section.depth="0"' />
@@ -233,7 +233,7 @@
<!-- fo to pdf -->
<target name="fotopdf" description="convert fo to pdf" depends="">
<java jar="libs/fop.jar" fork="true">
- <arg value="doc/src/doc.fo" />
+ <arg value="tmp/doc.fo" />
<arg value='-d' />
<arg value="${upload.dir}/JMathLibManual_${version}.pdf" />
</java>
@@ -374,7 +374,7 @@
<fileset dir="${dist.dir}/bin">
<include name="**" />
<exclude name="JMathLib.properties"/>
- <exclude name="jmathlib/webFunctionsList.dat"/>
+ <exclude name="webFunctionsList.dat"/>
<exclude name="jmathlib/core/functions/FileFunctionLoader.class"/>
<exclude name="jmathlib/core/functions/MFileLoader.class"/>
<exclude name="jmathlib/core/functions/SFunction.class"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <st_...@us...> - 2009-02-23 22:43:05
|
Revision: 870
http://mathlib.svn.sourceforge.net/mathlib/?rev=870&view=rev
Author: st_mueller
Date: 2009-02-23 21:36:27 +0000 (Mon, 23 Feb 2009)
Log Message:
-----------
some small fix for PDF-generation
Modified Paths:
--------------
JMathLib/trunk/build.xml
Modified: JMathLib/trunk/build.xml
===================================================================
--- JMathLib/trunk/build.xml 2009-02-21 20:02:16 UTC (rev 869)
+++ JMathLib/trunk/build.xml 2009-02-23 21:36:27 UTC (rev 870)
@@ -159,6 +159,13 @@
<include name="**/*.svg" />
</fileset>
</copy>
+ <copy todir="tmp">
+ <fileset dir="${doc.src}">
+ <include name="**/*.gif" />
+ <include name="**/*.jpg" />
+ <include name="**/*.svg" />
+ </fileset>
+ </copy>
<copy todir="${upload.dir}/handbook_epub/">
<fileset dir="${doc.src}">
<include name="**/*.gif" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|