--- stephan beal <[EMAIL PROTECTED]> wrote:
> i have a very strange problem. i've spent the past couple of days
> porting our build tree from make to ant, and it seems to run great,
> but after it's run i have no class files.

Try running 'ant -verbose' and look for the "Compilation args:" line --
it'll show the "-d <output_dirname>", which may give you a clue as to
where they're going.

> <target name="compile" depends="init,dbclasses">
>         <javac debug="true" 
>               verbose="on"
>               deprecation="off"

Just fyi: You may want to use property values instead of hard-coded ones
for attrs like these (eg., ${javac.debug}, ${javac.verbose}, etc.) -- that
way, you can have default values for them but also allow for overrides
(eg., if you want to build without debug, you can -Djavac.debug=false on
the command line, or have javac.debug=false in a, say, release.properties
file that you read in via a <property file=.../> before your default value
setting <property> tags).

>               fork="yes" memoryMaximumSize="160m"
> (without the fork i get OutOfMemoryError)

Do you have such a huge build that it seems reasonable that it'd be
running out of memory, or could the fact that it runs out be indicative of
some problem that might relate back to your missing files one?

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to