You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dhirendra Kulkarni <dk...@ptc.com> on 2001/09/10 07:38:13 UTC

help me

Hi all , i am beginner to ANT tool and just started withi it. I have started with some building processes and i am facing the following problwm

My directory structure is like this

      c:\--------src
                    --------ext
                              ------------myproject (contains directories a, b, c and java files)
                                                ------------------a (contains java files)
                                                ------------------b (contains java files)
                                                ------------------c (contains directories x and y)  
                                                                   ---------x (contains java files)
                                                                   ---------y (contains java files)

Iam building using following javac task for compiling in my build.xml file.

<property name="src" value="C:\src\ext\myproject"/>
<property name="build" value="c:\build"/>
  
 <target name="compile" depends="init">
    <javac srcdir="${src}" destdir="${build}"/>
</target>

iam getting output like this           c:\--------build
                                                                --------ext
                                                                      ------------myproject (contains directories a, b, c and class files)
                                                                                        ------------------a (contains class files)
                                                                                        ------------------b (contains class files)
                                                                ------------------c 
                                                                                   ---------x (contains class files)
                                                                                   ---------y (contains class files)

I want that c directory should come under myproject  but it is coming under ext.

so please help in getting that.

thanks
DK