You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Didier Bretin <db...@informactis.com> on 2001/11/20 15:05:59 UTC
build.xml file and compilation
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: build.xml file and compilation
Posted by Ylan Segal <yl...@digiworks.tv>.
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 <db...@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:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> .------------------------------------------------.
> .^. | Didier Bretin, France | dbr@informactis.com |
> /V\ |-----------------------| www.informactis.com |
> // \\ | `------------------------|
> /( )\ | Visit: http://www.vim.org/ |
> ^^-^^ `------------------------------------------------'
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: build.xml file and compilation
Posted by Didier Bretin <db...@informactis.com>.
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 <db...@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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
.------------------------------------------------.
.^. | Didier Bretin, France | dbr@informactis.com |
/V\ |-----------------------| www.informactis.com |
// \\ | `------------------------|
/( )\ | Visit: http://www.vim.org/ |
^^-^^ `------------------------------------------------'
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>