Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
storybook
storybook-build.xml.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File storybook-build.xml.diff of Package storybook
--- build.xml.orig 2009-05-30 19:19:52.364001613 +0200 +++ build.xml 2009-05-30 19:23:30.728001471 +0200 @@ -1,47 +1,47 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- ====================================================================== +<!-- ====================================================================== Storybook build the Storybook application - - martin - ====================================================================== --> + + martin + ====================================================================== --> <project name="Storybook" default="default"> - <description>Build the StorYBook Application</description> - - <property name="sb.version" value="2.1.12" /> + <description>Build the StorYBook Application</description> + + <property name="sb.version" value="2.1.12" /> <property name="sb.release.dir" value="${basedir}/release" /> - <property name="sb.build.dir" value="${sb.release.dir}/build" /> - <property name="sb.src.dir" value="${basedir}/src" /> - <property name="sb.lib.dir" value="${basedir}/lib" /> - <property name="sb.resource.dir" value="ch/intertec/storybook/resources" /> - <property name="sb.file.name" value="storybook" /> - <property name="sb.jar.name" value="${sb.file.name}.jar" /> - - <property name="sb.tar.name" value="${sb.file.name}_${sb.version}_linux.tar.gz" /> - <property name="sb.src.zip.name" value="${sb.file.name}_${sb.version}_src.zip" /> - <property name="sb.bin.zip.name" value="${sb.file.name}_${sb.version}_bin.zip" /> + <property name="sb.build.dir" value="${sb.release.dir}/build" /> + <property name="sb.src.dir" value="${basedir}/src" /> + <property name="sb.lib.dir" value="${basedir}/lib" /> + <property name="sb.resource.dir" value="ch/intertec/storybook/resources" /> + <property name="sb.file.name" value="storybook" /> + <property name="sb.jar.name" value="${sb.file.name}.jar" /> + + <property name="sb.tar.name" value="${sb.file.name}_${sb.version}_linux.tar.gz" /> + <property name="sb.src.zip.name" value="${sb.file.name}_${sb.version}_src.zip" /> + <property name="sb.bin.zip.name" value="${sb.file.name}_${sb.version}_bin.zip" /> <property name="sb.batch.file.name" value="${sb.file.name}.bat" /> - - <property name="sb.project.dir" value="${basedir}/.storybook/projects" /> + + <property name="sb.project.dir" value="${basedir}/.storybook/projects" /> <property name="sb.dict.dir" value="${basedir}/dict" /> <property name="sb.i18n.dir" value="${basedir}/resources" /> <property name="sb.report.dir" value="${basedir}/reports" /> - + <path id="classpath"> <fileset dir="${sb.lib.dir}"> <include name="**/*.jar" /> </fileset> </path> - - <path id="jasperClasspath"> - <fileset dir="C:/PROGRA~1/JasperSoft/jasperreports-3.0.1/lib"> - <include name="**/*.jar" /> - </fileset> - </path> - + + <path id="jasperClasspath"> + <fileset dir="/usr/share/java/"> + <include name="jasperreports*.jar" /> + </fileset> + </path> + <target name="default" depends="compile" description="build the Storybook application"> </target> @@ -90,58 +90,58 @@ <fileset dir="${sb.lib.dir}" includes="${sb.jar.name}" /> </delete> </target> - - <target name="compile" description="compile"> + + <target name="compile" description="compile"> <echo>compiling ...</echo> - <mkdir dir="${sb.build.dir}" /> + <mkdir dir="${sb.build.dir}" /> <javac destdir="${sb.build.dir}" debug="off" deprecation="on" optimize="on" - classpathref="classpath"> - <src path="${sb.src.dir}" /> - <include name="**/*.java"/> - <exclude name="ch/intertec/storybook/playground/**"/> - <exclude name="ch/intertec/storybook/testng/**"/> - </javac> + classpathref="classpath"> + <src path="${sb.src.dir}" /> + <include name="**/*.java"/> + <exclude name="ch/intertec/storybook/playground/**"/> + <exclude name="ch/intertec/storybook/testng/**"/> + </javac> </target> - + <target name="run" depends="jar" description="run application"> <echo level="error">not supported anymore</echo> - <!-- - <echo>running...</echo> - <exec executable="cmd"> - <arg value="/c" /> - <arg value="${sb.batch.file.name}" /> - <arg value="-p" /> + <!-- + <echo>running...</echo> + <exec executable="cmd"> + <arg value="/c" /> + <arg value="${sb.batch.file.name}" /> + <arg value="-p" /> </exec> - --> - </target> - - <target name="jar" depends="prepare,compile" description="build jar file"> - <echo>make the jar file...</echo> - <copy todir="${sb.build.dir}/${sb.resource.dir}"> - <fileset dir="${sb.src.dir}/${sb.resource.dir}"/> + --> + </target> + + <target name="jar" depends="prepare,compile" description="build jar file"> + <echo>make the jar file...</echo> + <copy todir="${sb.build.dir}/${sb.resource.dir}"> + <fileset dir="${sb.src.dir}/${sb.resource.dir}"/> </copy> <pathconvert property="classpath2" pathsep=" "> <path refid="classpath"> </path> - <map from="C:\Users\martin\workspace\storybook\lib\" to=""/> - </pathconvert> - <jar jarfile="${sb.lib.dir}/${sb.jar.name}" basedir="${sb.build.dir}"> - <manifest> + <map from="lib" to=""/> + </pathconvert> + <jar jarfile="${sb.lib.dir}/${sb.jar.name}" basedir="${sb.build.dir}"> + <manifest> <attribute name="Main-Class" value="ch.intertec.storybook.StorybookApp" /> <attribute name="Class-Path" value="${classpath2} .."/> </manifest> - </jar> - </target> - - <target name="tar" depends="jar" description="build tar file"> - <echo>make the tar file...</echo> - <tar tarfile="${sb.tar.name}" compression="gzip"> - <tarfileset dir="${basedir}" mode="755"> - <include name="storybook.sh" /> - <include name="install.sh" /> + </jar> + </target> + + <target name="tar" depends="jar" description="build tar file"> + <echo>make the tar file...</echo> + <tar tarfile="${sb.tar.name}" compression="gzip"> + <tarfileset dir="${basedir}" mode="755"> + <include name="storybook.sh" /> + <include name="install.sh" /> </tarfileset> <tarfileset dir="${basedir}"> <include name="configuration.xml" /> @@ -152,11 +152,11 @@ <include name="README.txt" /> <include name="icon.ico" /> <include name="icon.png" /> - </tarfileset> - <tarfileset dir="${basedir}"> - <include name="${sb.jar.name}" /> + </tarfileset> + <tarfileset dir="${basedir}"> + <include name="${sb.jar.name}" /> <include name="lib/**" /> - <include name="dict/**" /> + <include name="dict/**" /> </tarfileset> <tarfileset dir="${sb.report.dir}" prefix="reports"> @@ -165,53 +165,53 @@ <tarfileset dir="${sb.i18n.dir}" prefix="resources"> <include name="**" /> - </tarfileset> - <tarfileset dir="${sb.project.dir}"> - <include name="Demo.data.db" /> - <include name="Demo.index.db" /> - </tarfileset> - </tar> - </target> - - <target name="binZip" depends="jar" description="build bin zip file"> - <echo>make the bin zip file...</echo> - <zip zipfile="${sb.bin.zip.name}"> - <zipfileset dir="${basedir}"> - <include name="INSTALL.txt" /> - <include name="LICENSE.txt" /> - <include name="README.txt" /> - <include name="icon.ico" /> - <include name="${sb.jar.name}" /> - <include name="lib/**" /> + </tarfileset> + <tarfileset dir="${sb.project.dir}"> + <include name="Demo.data.db" /> + <include name="Demo.index.db" /> + </tarfileset> + </tar> + </target> + + <target name="binZip" depends="jar" description="build bin zip file"> + <echo>make the bin zip file...</echo> + <zip zipfile="${sb.bin.zip.name}"> + <zipfileset dir="${basedir}"> + <include name="INSTALL.txt" /> + <include name="LICENSE.txt" /> + <include name="README.txt" /> + <include name="icon.ico" /> + <include name="${sb.jar.name}" /> + <include name="lib/**" /> <include name="reports/**" /> <include name="dict/**" /> - <include name="resources/**" /> - </zipfileset> - <zipfileset dir="${sb.project.dir}"> - <include name="Demo.data.db" /> - <include name="Demo.index.db" /> - </zipfileset> - </zip> - </target> - - <target name="srcZip" description="build src zip file"> - <echo>make the src zip file...</echo> - <zip zipfile="${sb.src.zip.name}"> - <zipfileset dir="${basedir}"> - <include name="src/**" /> - <include name="lib/**" /> + <include name="resources/**" /> + </zipfileset> + <zipfileset dir="${sb.project.dir}"> + <include name="Demo.data.db" /> + <include name="Demo.index.db" /> + </zipfileset> + </zip> + </target> + + <target name="srcZip" description="build src zip file"> + <echo>make the src zip file...</echo> + <zip zipfile="${sb.src.zip.name}"> + <zipfileset dir="${basedir}"> + <include name="src/**" /> + <include name="lib/**" /> <include name="reports/**" /> <include name="dict/**" /> - <include name="resources/**" /> - <include name="build.xml" /> - <include name="LICENSE.txt" /> - <include name="README.txt" /> - <include name="INSTALL.txt" /> - </zipfileset> - </zip> - </target> - - <target name="release" depends="jar,tar,srcZip" description="release"> - </target> + <include name="resources/**" /> + <include name="build.xml" /> + <include name="LICENSE.txt" /> + <include name="README.txt" /> + <include name="INSTALL.txt" /> + </zipfileset> + </zip> + </target> + + <target name="release" depends="jar,tar,srcZip" description="release"> + </target> </project>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor