ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.A.Dunphy" <madun...@bigfoot.com>
Subject RE: Passing a property value by reference in an ant task
Date Tue, 17 Apr 2001 11:12:43 GMT
Repost.
 
Can anybody help?

-----Original Message-----
From: M.A.Dunphy [mailto:madunphy@bigfoot.com]
Sent: 12 April 2001 16:47
To: Ant-User (E-mail)
Subject: Passing a property value by reference in an ant task



Hi all, 

I've been trying to set a property value (in an ant task call) by reference
but I get the following error: 

Reference mb.class.path not found. 
Reference mb.class.path not found. 
        at
org.apache.tools.ant.types.Reference.getReferencedObject(Reference.ja 
va:93) 
        at org.apache.tools.ant.taskdefs.Property.execute(Property.java:143)

        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:183) 
        at org.apache.tools.ant.Target.execute(Target.java:142) 
        at org.apache.tools.ant.Project.runTarget(Project.java:818) 
        at org.apache.tools.ant.Project.executeTarget(Project.java:532) 
        at org.apache.tools.ant.Project.executeTargets(Project.java:506) 
        at org.apache.tools.ant.Main.runBuild(Main.java:420) 
        at org.apache.tools.ant.Main.main(Main.java:149) 

Total time: 1 second 
C:\ 

    <!-- ===================================================================
--> 
    <!--Build the organisation deliverables--> 
    <!-- ===================================================================
--> 
    <target name="org-build" description="Build the orgainsation
deliverables" depends="prepare"> 
        <ant dir="${org.build.dir}"> 
            <property name="build.lib" value="${mb.lib}"/> 
            <property name="org.class.path" refid="mb.class.path"/> 
        </ant> 
    </target> 

Any ideas? 

Mick 


Mime
View raw message