ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhirendra Kulkarni" <dkulka...@ptc.com>
Subject Re: help me (problem solved)
Date Mon, 10 Sep 2001 12:05:35 GMT
Thanks Diane
     Actually Kapil's solution did not work out. You are correct. Since java
files of x and y directory are in different  package iam not getting them
under ext/myproject. They also have to be in same package as
ext.myproject.c.x (or y)

Thanks Kapil for the help

Thanks all again
DK


----- Original Message -----
From: Diane Holt <holtdl@yahoo.com>
To: <ant-user@jakarta.apache.org>
Sent: Monday, September 10, 2001 8:49 PM
Subject: Re: help me


> Changing where destdir is pointed to shouldn't make any difference -- the
> subdir structure where the classfiles are output is determined by the
> compiler. If all the source files are declared as being in package
> ext.myproject (which looks to be the case, given that they're ending up in
> that subdir structure, with destdir pointed simply to C:\build), then
> they'll all end up in D:/build/ext/myproject -- the files in
> ext/myproject/c/{x,y} would need to be declared as being in package
> ext.myproject.c in order for their classfiles to end up in
> D:/build/ext/myproject/c.
>
> Diane
>
> --- Kapil_Pawar@i2.com wrote:
> > Hi DK,
> >
> > You must use the following:
> >
> > <target name="compile" depends="init">
> >     <javac srcdir="${src}" destdir="${build}/ext/myproject"/>
> > </target>
> >
> > OR otherwise
> >
> > use:
> > <property name="build" value="c:\build\ext\myproject"/>
> >
> > Either of these should work.
> > _____________________________________
> > Kapil Singh Pawar
> > Consultant - Integration
> > i2 Technologies India Private Ltd.
> > 1 Primrose Road
> > Bangalore 560 025, INDIA
> > Email: kapil_pawar@i2.com
> > Tel: +91 80 558 1487-90 ext. 2416
> >
> >
> >
> >
> > "Dhirendra Kulkarni" <dkulkarni@ptc.com>
> > 09/10/01 11:08 AM
> > Please respond to ant-user
> >
> >
> >         To:     <ant-user@jakarta.apache.org>
> >         cc:
> >         Subject:        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
> >
> >
>
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
>


Mime
View raw message