You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by "Sikha, Naresh" <Na...@schwab.com> on 2001/10/20 04:50:17 UTC

Non jar file dependencies question

I have a project that copies jar files from ${jaxp.lib.dir} (a property
reference) into its local lib dir so that it can run and be delivered
without requiring a user to install jaxp - this is analogous to Jakarta ANT
keeping jaxp.jar and crimson.jar in its lib dir.

Here is an excerpt from the project's build file for reference:

    <target name="jaxp-lib-check">
        <uptodate property="jaxp-lib.notrequired">
            <srcfiles dir="${jaxp.lib.dir}" includes="jaxp.jar,
crimson.jar"/>
            <mapper type="identity"/>
        </uptodate>
    </target>
    
    <target name="jaxp-lib" depends="jaxp-lib-check"
unless="jaxp-lib.notrequired">
        <mkdir dir="${build.lib.dir}"/>
        <copy todir="${build.lib.dir}">
            <fileset dir="${jaxp.lib.dir}" includes="jaxp.jar,
crimson.jar"/>
        </copy>
    </target>

    <target name="jar" depends="jaxp-lib, properties, bin, compile">
	...
    </target>

The question is this: how can I set this property in gump so that the
project in question finds the jaxp jar files in a directory that I specify
in a gump file? Is it possible to specify that this property being set is a
dependency for the project?

I see that a property reference is in the legend for the generated cross
reference and was wondering, if that feature is related to my question. If
so, how can I use that feature?

Thanks for your help.

-Naresh Sikha
naresh.sikha@schwab.com

---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org