gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <aj...@trysybase.com>
Subject Re: FW: [GUMP@lsd]: jakarta-cactus/jakarta-cactus-framework-12 failed
Date Thu, 18 Mar 2004 22:36:58 GMT
> The problem is the the following declaration:
>
> <depend property="httpunit.jar" project="httpunit"/>
>
> should only include in the CP the jars declared by the <jar> tag in the
> httpunit project. However it seems it is importing all jars in the CP.
>
When Gumpy adds a dependency for a property it creates a dependency object:

    # Add a dependency (to bring property)
    dependency=ProjectDependency(project, \
                            workspace.getProject(property.project), \
                            INHERIT_ALL, \
                            runtime,
                            0, \
                            ids,
                            noclasspath,
                            'Property Dependency for ' + property.name)

>From this I see it does inherit='all', runtime (as specified by the
property), mandatory (not optional), ids (as specified by the property),
noclasspath (see below), and a comment.

Seems I might get lucky with an easy fix, i.e. replace that with
INHERIT_NONE. I'll do it. LEt me know if you think otherwise.

BTW: Stefan, you updated the depend xdocs for <noclasspath>, but did you add
anything for classpath attribute on property? I just guessed it is the
(defaulted) reverse of noclasspeth -- meaning these dependencies do not
bring in the classpath ('cos the property is going to pass it.) Correct?

regards,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message