> -----Original Message-----
> From: David Scassa [mailto:[EMAIL PROTECTED]]

> 
> 1. I am building two different projects with a branched .xml 
I guess it will work using 2) but I'm not sure I fully understand your
problem and how you call your subbuilds. (via ant task ?)

> 2. Now that I have developers adding .jar files to the /lib 
[...]
classpath is not a task it is an element in some tasks. Path is a task. Use
the following:

<path id="my.class.path>
        <fileset dir="lib">
                <include name="**/*.jar"/>
        </fileset>
        <pathelement location="classes"/>
</path>

...somewhere where classpath element exists (for example java tasks):

<java ...>
        <classpath refid="my.class.path"/>
</java>

Cheers,

-- 
 St�phane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 


Reply via email to