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

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Fri Dec 19 2003 - 07:32:49 EST

  • Next message: Kamal Shah: "Re: org.apache.crimson.jaxp error"

    Hi Stephen,

    Merry Christmas

    Ulrich
    Am 19.12.2003 um 12:16 schrieb Stephen Tavener:

    > OK, problem solved; the sysadmin who set up the build environment
    > isn't using woproject for the full build... just calling it in places,
    > and had not considered external .jar files.
    >
    > Thanks for the response, and I'll go back to lurking now...
    >
    > Merry Christmas,
    >
    >
    >
    > Stephen
    > --
    > 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)
    >
    >
    >
    >
    > -----Original Message-----
    > From: Ulrich Köster [mailto:ulric..bjectstyle.org]
    > Sent: 18 December 2003 20:54
    > To: Stephen Tavener
    > Cc: woproject-de..bjectstyle.org
    > Subject: Re: Question: .jar file, frameworks, and WOProject
    >
    >
    > 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.pro
    >> p
    >> 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.propertie
    >> s
    >> .
    >> " 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.
    >
    >
    > 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 : Fri Dec 19 2003 - 07:32:33 EST