> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to