ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prashanth.l/Pola...@POLARIS.CO.IN
Subject Re: Proper location of build.xml file
Date Thu, 27 Jul 2006 18:28:20 GMT
fyi



prashanth.l/Polaris
07/27/2006 11:24 PM

To
"Ant Users List" <user@ant.apache.org>, scotsmatrix@gmail.com
cc

Subject
Re: Proper location of build.xml file





There was similar kind of problem sometime back .. I am just pasting the 
reply below just check if it works for you.

The only that comes in my  mind is that you can try increasing java
heap space. When you start your application that calls ant try
specifying this

java -Xms256m 

or try to allocate more memory.

By the way, what kind of stuff are you trying to build with ant, and
also you may consider updgrading to Ant 1.6.5.


Prashanth




"Laura Stewart" <scotsmatrix@gmail.com> 
07/27/2006 11:02 PM
Please respond to
"Ant Users List" <user@ant.apache.org>


To
"Ant Users List" <user@ant.apache.org>
cc

Subject
Re: Proper location of build.xml file






Correction, the message is:

BUILD FAILED
C:\Authoring\Derby\Derby1057\trunk\build.xml:72: The following error
occurred while executing this line:
C:\Authoring\Derby\Derby1057\trunk\build.xml:93: The following error
occurred while executing this line:
java.lang.OutOfMemoryError: Java heap space

Total time: 56 seconds
C:\Authoring\Derby\Derby1057\trunk>


On 7/27/06, Laura Stewart <scotsmatrix@gmail.com> wrote:
> Thanks. The build runs now but fails.  I get this message:
>
> BUILD FAILED
> C:\Authoring\Derby\Derby1057\trunk\build.xml
> ile executing this line:
> C:\Authoring\Derby\Derby1057\trunk\build.xml
> ile executing this line:
> java.lang.OutOfMemoryError: Java heap space
>
> Any suggestions?
> Laura
>
>
> On 7/27/06, Dominique Devienne <ddevienne@gmail.com> wrote:
> > the build is almost always at the top level of a project, in trunk in
> > your case. Ant looks for build.xml in the current dir. Use -f
> > path_to_build to find it in a different directory. --DD
> >
> > On 7/27/06, Laura Stewart <scotsmatrix@gmail.com> wrote:
> > > Hi - I am trying to work with ANT to generate output for Derby 
documentation.
> > > I have ANT installed in this path:
> > >
> > > C:\Authoring\Derby\apache-ant-1.6.5
> > >
> > > When I run ant to build html output for the doc "ref" in a command
> > > window, I get a message indicating that build.xml does not exist. I
> > > presume that means that it is not in the proper path.  Where should 
it
> > > be?  Do I need to copy it into my src directory?
> > >
> > > C:\Authoring\Derby\Derby1057\trunk\src>ant html.ref
> > > Buildfile: build.xml does not exist!
> > > Build failed
> > > C:\Authoring\Derby\Derby1057\trunk\src>
> > >
> > > Thanks!
> > >
> > > --
> > > Laura Stewart
> > >
> > > 
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: user-help@ant.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
>
> --
> Laura Stewart
>


-- 
Laura Stewart

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



This e-Mail may contain proprietary and confidential information and is sent for the intended
recipient(s) only.  If by an addressing or transmission error this mail has been misdirected
to you, you are requested to delete this mail immediately. You are also hereby notified that
any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution
and/or publication of this e-mail message, contents or its attachment other than by its intended
recipient/s is strictly prohibited.

Visit us at http://www.polaris.co.in

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message