ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Deragon <h...@deragon.biz>
Subject Re: Newbie gets OutOfMemoryError.
Date Wed, 13 Mar 2002 01:21:16 GMT
Hi Diane.


   Here is the output of ant.  To run ant, this is what I did:

[root@snah src]# export ANTS_OPTS=-Xmx256m
[root@snah src]# ant -verbose -debug 2>&1 | tee out

   I used the same build.xml file as the one I sent in my previous 
email.  As you can see, nothing much happens.  I added a comment in the 
output, delimited by --== comment ==--.  The comment is at the end.

   As you can see, it seams that ant ignores most of the options if not 
all that I provide.


Thanks,
Hans


Ant version 1.4.1 compiled on October 11 2001
Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Setting project property: ant.java.version -> 1.4
Detected Java version: 1.4 in: /usr/java/j2sdk1.4.0/jre
Detected OS: Linux
  +User task: tar     org.apache.tools.ant.taskdefs.Tar
  +User task: fail     org.apache.tools.ant.taskdefs.Exit
  +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
  +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
  +User task: java     org.apache.tools.ant.taskdefs.Java
  +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
  +User task: echo     org.apache.tools.ant.taskdefs.Echo
  +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
  +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
  +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
  +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
  +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
  +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
  +User task: unjar     org.apache.tools.ant.taskdefs.Expand
  +User task: patch     org.apache.tools.ant.taskdefs.Patch
  +User task: mail     org.apache.tools.ant.taskdefs.SendEmail
  +User task: gzip     org.apache.tools.ant.taskdefs.GZip
  +User task: copy     org.apache.tools.ant.taskdefs.Copy
  +User task: filter     org.apache.tools.ant.taskdefs.Filter
  +User task: jar     org.apache.tools.ant.taskdefs.Jar
  +User task: unzip     org.apache.tools.ant.taskdefs.Expand
  +User task: rename     org.apache.tools.ant.taskdefs.Rename
  +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
  +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
  +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
  +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
  +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
  +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
  +User task: replace     org.apache.tools.ant.taskdefs.Replace
  +User task: ear     org.apache.tools.ant.taskdefs.Ear
  +User task: ant     org.apache.tools.ant.taskdefs.Ant
  +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
  +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
  +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
  +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
  +User task: zip     org.apache.tools.ant.taskdefs.Zip
  +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
  +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
  +User task: javac     org.apache.tools.ant.taskdefs.Javac
  +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
  +User task: available     org.apache.tools.ant.taskdefs.Available
  +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
  +User task: move     org.apache.tools.ant.taskdefs.Move
  +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
  +User task: property     org.apache.tools.ant.taskdefs.Property
  +User task: unwar     org.apache.tools.ant.taskdefs.Expand
  +User task: touch     org.apache.tools.ant.taskdefs.Touch
  +User task: get     org.apache.tools.ant.taskdefs.Get
  +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
  +User task: record     org.apache.tools.ant.taskdefs.Recorder
  +User task: untar     org.apache.tools.ant.taskdefs.Untar
  +User task: delete     org.apache.tools.ant.taskdefs.Delete
  +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
  +User task: war     org.apache.tools.ant.taskdefs.War
  +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
  +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
  +User task: apply     org.apache.tools.ant.taskdefs.Transform
  +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
  +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
  +User datatype: fileset     org.apache.tools.ant.types.FileSet
  +User datatype: patternset     org.apache.tools.ant.types.PatternSet
  +User datatype: filterset     org.apache.tools.ant.types.FilterSet
  +User datatype: filelist     org.apache.tools.ant.types.FileList
  +User datatype: description     org.apache.tools.ant.types.Description
  +User datatype: path     org.apache.tools.ant.types.Path
  +User datatype: mapper     org.apache.tools.ant.types.Mapper
Setting project property: java.runtime.name -> Java(TM) 2 Runtime 
Environment, Standard Edition
Setting project property: sun.boot.library.path -> 
/usr/java/j2sdk1.4.0/jre/lib/i386
Setting project property: java.vm.version -> 1.4.0-b92
Setting project property: java.vm.vendor -> Sun Microsystems Inc.
Setting project property: java.vendor.url -> http://java.sun.com/
Setting project property: path.separator -> :
Setting project property: java.vm.name -> Java HotSpot(TM) Client VM
Setting project property: file.encoding.pkg -> sun.io
Setting project property: user.country -> US
Setting project property: sun.os.patch.level -> unknown
Setting project property: java.vm.specification.name -> Java Virtual 
Machine Specification
Setting project property: user.dir -> 
/machines/world/perm/languages/java/src
Setting project property: java.runtime.version -> 1.4.0-b92
Setting project property: java.awt.graphicsenv -> 
sun.awt.X11GraphicsEnvironment
Setting project property: java.endorsed.dirs -> 
/usr/java/j2sdk1.4.0/jre/lib/endorsed
Setting project property: os.arch -> i386
Setting project property: java.io.tmpdir -> /tmp
Setting project property: line.separator ->

Setting project property: java.vm.specification.vendor -> Sun 
Microsystems Inc.
Setting project property: os.name -> Linux
Setting project property: ant.home -> /perm/languages/java/tools/ant
Setting project property: sun.java2d.fontpath ->
Setting project property: java.library.path -> 
/usr/java/j2sdk1.4.0/jre/lib/i386/client:/usr/java/j2sdk1.4.0/jre/lib/i386:/usr/java/j2sdk1.4.0/jre/../lib/i386:/perm/lib:/perm/applications/rvplayer5.0
Setting project property: java.specification.name -> Java Platform API 
Specification
Setting project property: java.class.version -> 48.0
Setting project property: java.util.prefs.PreferencesFactory -> 
java.util.prefs.FileSystemPreferencesFactory
Setting project property: os.version -> 2.4.9-12snah-B
Setting project property: user.home -> /perm/users/root
Setting project property: user.timezone ->
Setting project property: java.awt.printerjob -> sun.print.PSPrinterJob
Setting project property: file.encoding -> ISO-8859-1
Setting project property: java.specification.version -> 1.4
Setting project property: java.class.path -> 
/perm/languages/java/tools/ant/lib/jaxp.jar:/perm/languages/java/tools/ant/lib/crimson.jar:/perm/languages/java/tools/ant/lib/ant.jar:/usr/java/j2sdk/src.jar:/usr/java/j2sdk/lib/dt.jar:/usr/java/j2sdk/lib/tools.jar:/usr/java/j2sdk/jre/lib/rt.jar:/usr/java/j2sdk/jre/lib/i18n.jar:/usr/java/j2sdk/jre/lib/ext/iiimp.jar:.:/usr/java/classes:/usr/java/src:/usr/java/3rdparty:/usr/java/3rdparty/PerlTools:/usr/java/3rdparty/postgresql_jdbc.jar:/usr/java/3rdparty/jar/msql.jar:/usr/java/3rdparty/Mask/lib/idate.jar:/usr/java/3rdparty/Mask/lib/imask.jar:/usr/java/3rdparty/Mask/lib/inumeric.jar:/usr/java/3rdparty/Mask/lib/itime.jar:/usr/java/3rdparty/jaxp-1.1/crimson.jar:/usr/java/3rdparty/jaxp-1.1/xalan.jar:/usr/java/3rdparty/jaxp-1.1/jaxp.jar:/usr/java/3rdparty/xerces-1_4_3/xerces.jar:/usr/java/3rdparty/jakarta-regexp-1.2/jakarta-regexp-1.2.jar:/usr/java/jswdk-1.0.1/src:/perm/web/jtidy/build:/perm/applications/staticpages/src:/usr/java/3rdparty/formlayout/formlayout.jar:/usr/java/j2sdk/li
b/tools.jar
Setting project property: user.name -> root
Setting project property: java.vm.specification.version -> 1.0
Setting project property: java.home -> /usr/java/j2sdk1.4.0/jre
Setting project property: sun.arch.data.model -> 32
Setting project property: user.language -> en
Setting project property: java.specification.vendor -> Sun Microsystems Inc.
Setting project property: java.vm.info -> mixed mode
Setting project property: java.version -> 1.4.0
Setting project property: java.ext.dirs -> /usr/java/j2sdk1.4.0/jre/lib/ext
Setting project property: sun.boot.class.path -> 
/usr/java/j2sdk1.4.0/jre/lib/rt.jar:/usr/java/j2sdk1.4.0/jre/lib/i18n.jar:/usr/java/j2sdk1.4.0/jre/lib/sunrsasign.jar:/usr/java/j2sdk1.4.0/jre/lib/jsse.jar:/usr/java/j2sdk1.4.0/jre/lib/jce.jar:/usr/java/j2sdk1.4.0/jre/lib/charsets.jar:/usr/java/j2sdk1.4.0/jre/classes
Setting project property: java.vendor -> Sun Microsystems Inc.
Setting project property: file.separator -> /
Setting project property: java.vendor.url.bug -> 
http://java.sun.com/cgi-bin/bugreport.cgi
Setting project property: sun.io.unicode.encoding -> UnicodeLittle
Setting project property: sun.cpu.endian -> little
Setting project property: sun.cpu.isalist ->
Setting ro project property: ant.version -> Ant version 1.4.1 compiled 
on October 11 2001
Setting ro project property: ant.file -> 
/machines/world/perm/languages/java/src/build.xml
parsing buildfile /machines/world/perm/languages/java/src/build.xml with 
URI = file:/machines/world/perm/languages/java/src/build.xml
Setting ro project property: ant.project.name -> antmm
Adding reference: antmm -> org.apache.tools.ant.Project@6b13c7
Setting project property: basedir -> /machines/world/perm/languages/java/src
Project base dir set to: /machines/world/perm/languages/java/src
    +Task: property
Setting project property: src -> /usr/java/src
    +Task: property
Setting project property: build -> /usr/java/classes
    +Task: property
Setting project property: cache -> /usr/java/antcache
    +Task: property
Setting project property: build.compiler -> modern
  +Target: init
    +Task: tstamp
    +Task: mkdir
  +Target: compile
    +Task: javac
  +Target: clean
    +Task: delete
Build sequence for target `compile' is [init, compile]
Complete build sequence is [init, compile, clean]

init:
Setting project property: DSTAMP -> 20020312
Setting project property: TSTAMP -> 2016
Setting project property: TODAY -> March 12 2002

compile:
FileSet: Setup file scanner in dir /usr/java/src with patternSet{ 
includes: [] excludes: [] }

--== Here, it takes 1 min 29 seconds before seing any other output.
      CPU is processing 100% during this period.==--

BUILD FAILED

java.lang.OutOfMemoryError

Total time: 1 minute 29 seconds


--
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