ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armstrong, Robert" <>
Subject RE: ant breaking w/ lots of files?
Date Mon, 06 Nov 2000 21:03:00 GMT
Why should I do that? I implemented it this way because there are other
files underneath the com directory that I do not want to compile. I only
want to compile the files underneath com/winwin.


-----Original Message-----
From: Diane Holt []
Sent: Monday, November 06, 2000 1:37 PM
Subject: RE: ant breaking w/ lots of files?


This might not fix all your problems, but one thing: You have your srcdir
set to ${src}/com/winwin, but you should have it set to just ${src} and
have your includes set to com/winwin/**. 

--- "Armstrong, Robert" <> wrote:
> -----Original Message-----
> From: Stefan Bodewig []
> Sent: Monday, November 06, 2000 3:26 AM
> To:
> Subject: Re: ant breaking w/ lots of files?
>  >>>>> "r" == robert  <> writes:
>  >> Ant/Java somehow fails to load in all of my packages/classes and
>  >> even though the package directory structure is correct it fails to
>  >> find several packages which causes the whole build to fail.
>  > Robert (Armstrong in this case) could you send a snippet of your
>  > buildfile and the result of ant -debug?
> This is the interesting part of my buildfile:
> <javac verbose="true" srcdir="${src}/com/winwin" destdir="${dest}"
> includes="**\*.java" classpath=" etc, etc.">
> Turning on -debug reveals that javac is in fact parsing all the files
> that I
> have and particularly the ones that later on it says it can't find the
> packages for.
> So it says:
>     [javac] [parsed
> /usr/local/build/src/com/winwin/xmlsystem/ in 1 ms]
> and then later on I'm told it can't find com.winwin.xmlsystem.
> I had been redirecting output to files and hadn't been monitoring stderr
> until now. Now that I am watching stderr I noticed this:
> /export/home/rarmstrong/ant/winbuild.xml:62: Error starting classic
> compiler: 
> java.lang.reflect.InvocationTargetException: java.lang.OutOfMemoryError
> This happens AFTER all the package errors and in fact after the BUILD
> message. Was it buffered? Or is that when it actually happened? I've
> been
> trying to bump up the memory to javac but it doesn't seem like there is
> a
> way to pass along the -J parameters through javac to 
> the javac VM. Thanks for the help!
> robert


Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.

View raw message