ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Lawler" <justindlaw...@eircom.net>
Subject Re: packages compiled in order?
Date Fri, 15 Feb 2002 01:27:58 GMT
when im compiling my project i want to have a number of differnet levels of
code, each level only depending on all packages compiled before it. i dont
want code in one package referencing code in a second package and code in
the second package referencing code in the first. with makefiles you could
enforce it by compiling all packages in a predefined order so any circular
references would through a build error.

also i would like to add ant command line options, such as logging and debug
options to the build file rather than have to type them all in each time im
executing ant. i couldnt find anything in the manual.

thanks,
justin


----- Original Message -----
From: Ylan Segal <ylan@digiworks.tv>
To: Ant Users List <ant-user@jakarta.apache.org>
Sent: Friday, February 15, 2002 12:17 AM
Subject: RE: packages compiled in order?


>
> > when ant compiles a project, is there any order to the way the
> > packages are compiled, or does it add them all to javac at once?
> > and if so can you get it to compile the packages in a specific
> > order. Im setting up a project that has a number of different
> > levels of dependency and i dont want circular package references.
> > i know makefiles can do this easily.
>
> To see what files are passed to javac and in what order try runnning ant
> with -debug option. It will let you know more about what ant does that you
> would ever want.
> I don't know what you mean by circular package reference, but you may also
> want to look into the depend task.
>
> >
> > also, can you put ant command line options into the build file?
>
> Can you explain this?
>
> Ylan Segal.
>
>
>
> --
> 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