Re: Question: .jar file, frameworks, and WOProject

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Dec 18 2003 - 15:53:55 EST

  • Next message: Benoit Mangez: "Re: Problems with EOmodels at runtime"

    Hi Stephen,

    the build.xml does not match the output. The output comes from javac
    but there is no javac or wocompile task in your build.xml.

    I need more details :-)

    Ulrich

    Am 18.12.2003 um 13:53 schrieb Stephen Tavener:

    > Sorry, forgot to include build.xml...
    >
    > <project name="FontMetrics" default="install" basedir=".">
    >
    > <!-- main targets -->
    > <!-- add optional targets to depends list if needed -->
    > <target name="build"
    > depends="setProps,init.build,build.woframework"/>
    >
    > <target name="install"
    > depends="setProps,init.install,build.woframework"/>
    >
    > <target name="clean" depends="setProps">
    > <delete dir="${framework.name}.framework"/>
    > </target>
    >
    > <!-- property determination -->
    > <target name="setProps">
    > <property file="build.properties"/>
    > <property
    > file="${user.home}${file.separator}Library${file.separator}wobuild.prop
    > e
    > rties"/>
    > <condition property="wo.properties.check.failed">
    > <not>
    > <and>
    > <isset property="wo.wosystemroot"/>
    > <isset property="wo.wolocalroot"/>
    > </and>
    > </not>
    > </condition>
    > <fail message="Could not find
    > ${user.home}${file.separator}Library${file.separator}wobuild.properties
    > .
    > " if="wo.properties.check.failed"/>
    > <property name="install.dir"
    > value="${wo.wolocalroot}/Library/Frameworks"/>
    > </target>
    >
    > <!-- basic initializations -->
    > <target name="init.install">
    > <tstamp/>
    > <property name="dest.dir" value="${install.dir}"/>
    > </target>
    >
    > <target name="init.build">
    > <tstamp/>
    > <property name="dest.dir" value="."/>
    > </target>
    >
    > <!-- woproject tasks -->
    > <target name="build.woframework">
    > <woframework name="${framework.name}"
    > destDir="${dest.dir}">
    > <classes dir="${classes.dir}">
    > </classes>
    > <wsresources dir=".">
    > <include
    > name="addYourWebServerResourcesHere"/>
    > <exclude name="**/*.framework/**"/>
    > </wsresources>
    > <resources dir=".">
    > <include name="Properties"/>
    > <include name="**/*.eomodeld/"/>
    > <include name="**/*.d2wmodel"/>
    > <include name="**/*.wo/"/>
    > <include name="**/*.api"/>
    > <include name="**/*.strings"/>
    > <exclude name="**/*.eomodeld~/"/>
    > <exclude name="**/*.framework/**"/>
    > </resources>
    > <lib dir="lib">
    > <include name="*.jar"/>
    > <include name="*.zip"/>
    > </lib>
    > </woframework>
    > </target>
    >
    > <!-- optional targets -->
    > <!-- copy strings files -->
    > <target name="copy.strings">
    > <copy
    > todir="${dest.dir}/${framework.name}.framework/Resources">
    > <fileset dir="." casesensitive="yes">
    > <include name="*.strings"/>
    > <include name="**/*.strings"/>
    > </fileset>
    > <mapper type="flatten"/>
    > </copy>
    > </target>
    >
    > </project>
    >
    > --
    > Stephen Tavener
    > DigiText Programmer, BBC News, New Media.
    >
    > Room 7095 xtn (020 857)69372
    > Television Centre, Wood Lane, London. W12 7RJ
    > mailto:Stephen.Tavene..bc.co.uk (Work)
    > mailto:Stephe..cat.demon.co.uk (Home)
    > http://www.scat.demon.co.uk/ (Games)
    > http://www.scat.demon.co.uk/Clementine/ (Baby pictures)
    >
    > BBCi at http://www.bbc.co.uk/
    >
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless specifically
    > stated.
    > If you have received it in error, please delete it from your system.
    > Do not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately. Please note that the
    > BBC monitors e-mails sent or received.
    > Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Thu Dec 18 2003 - 15:50:49 EST