ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <y...@digiworks.tv>
Subject RE: build.xml file and compilation
Date Wed, 21 Nov 2001 16:07:22 GMT
I believe that the problem is that your directory structure for the source
files does not follow the packaga naming convention and that is causing you
the problems.

If your package is: com.informactis.blabla then your source should be
organized like:
com
	informactis
		blabla

Ylan.
> -----Original Message-----
> From: Didier Bretin [mailto:dbr@informactis.com]
> Sent: Tuesday, November 20, 2001 8:15 AM
> To: Ant Users List
> Subject: Re: build.xml file and compilation
>
>
> Oops, sorry I found where was my problem :o).
> I forget the line:
> package com.informactis.blabla
>
> in my files :o))
>
> On Tue, 20 Nov 2001 15:05:59 +0100
> Didier Bretin <dbr@informactis.com> wrote:
>
> > Hello,
> >
> >   I have a project which use this hierarchy:
> >     com
> >       ia
> >         project
> >           access
> >             Access.java
> >           control
> >             Control.java
> >
> >   I wrote a simple build.xml file.
> >   The problem is when ant compile, the classes Access.class and
> > Control.class are not copy to the directory
> build/com/ia/project/access and
> > build/com/ia/project/control.
> >
> >   Did I forget something in my xml file ?
> >
> > Thanks.
> >
> > PS: It would be cool if there was many examples of build.xml
> files in the
> > ant distribution ... :o)
> > --
> >             .------------------------------------------------.
> >     .^.     | Didier Bretin, France | dbr@informactis.com    |
> >     /V\     |-----------------------| www.informactis.com    |
> >    // \\    |                       `------------------------|
> >   /(   )\   | Visit: http://www.vim.org/                     |
> >    ^^-^^    `------------------------------------------------'
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
>
>
> --
>             .------------------------------------------------.
>     .^.     | Didier Bretin, France | dbr@informactis.com    |
>     /V\     |-----------------------| www.informactis.com    |
>    // \\    |                       `------------------------|
>   /(   )\   | Visit: http://www.vim.org/                     |
>    ^^-^^    `------------------------------------------------'
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message