From ant-user-return-12199-apmail-jakarta-ant-user-archive=jakarta.apache.org@jakarta.apache.org Wed Sep 05 04:10:18 2001 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 19105 invoked by uid 500); 5 Sep 2001 04:10:18 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 19096 invoked from network); 5 Sep 2001 04:10:18 -0000 To: ant-user@jakarta.apache.org Subject: Re: problem in compilation of java files MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: Kapil_Pawar@i2.com Date: Wed, 5 Sep 2001 09:40:18 +0530 X-MIMETrack: Serialize by Router on i2Bangalore2/Servers/i2Tech(Release 5.0.7 |March 21, 2001) at 09/05/2001 09:40:21 AM, Serialize complete at 09/05/2001 09:40:21 AM, Itemize by SMTP Server on SMTPMTA2/i2Tech(Release 5.0.7 |March 21, 2001) at 09/04/2001 11:10:23 PM, Serialize by Router on SMTPMTA2/i2Tech(Release 5.0.7 |March 21, 2001) at 09/04/2001 11:10:24 PM, Serialize complete at 09/04/2001 11:10:24 PM Content-Type: multipart/alternative; boundary="=_alternative 001738A065256ABE_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 001738A065256ABE_= Content-Type: text/plain; charset="us-ascii" Hi Indranil, What is line no. 128 in your build XML file? Are you using the "java.compiler" property? Which JDK version are you using? _____________________________________ Kapil Singh Pawar Consultant - Integration i2 Technologies India Private Ltd. 1 Primrose Road Bangalore 560 025, INDIA Email: kapil_pawar@i2.com Tel: +91 80 558 1487-90 ext. 2416 "Indranil Pal Chaudhuri" 09/05/01 09:26 AM Please respond to ant-user To: ant-user@jakarta.apache.org cc: Subject: problem in compilation of java files Hi All, I am using Ant to compile java files in a set of packages. it gives me following exception followed by OutOfMemory Exception. The package it was compiling is having 80 java files. at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:149) BUILD FAILED C:\R2\MANTRA\build.xml:128: Error starting classic compiler: --- Nested Exception --- java.lang.reflect.InvocationTargetException at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java) at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Project.runTarget(Project.java) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:149) Total time: 17 seconds Label not found The part of xml code used for this.. .... ...... It will be really helpful I fond a solution on this. regards, Neel _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp --=_alternative 001738A065256ABE_= Content-Type: text/html; charset="us-ascii"
Hi Indranil,

What is line no. 128 in your build XML file? Are you using the "java.compiler" property? Which JDK version are you using?
_____________________________________
Kapil Singh Pawar
Consultant - Integration
i2 Technologies India Private Ltd.
1 Primrose Road
Bangalore 560 025, INDIA
Email: kapil_pawar@i2.com
Tel: +91 80 558 1487-90 ext. 2416



"Indranil Pal Chaudhuri" <ind_chdri@hotmail.com>

09/05/01 09:26 AM
Please respond to ant-user

       
        To:        ant-user@jakarta.apache.org
        cc:        
        Subject:        problem in compilation of java files




Hi All,
I am using Ant to compile java files in a set of packages. it gives me
following exception followed by OutOfMemory Exception.

The package it was compiling is having 80 java files.

        at org.apache.tools.ant.Project.executeTargets(Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

BUILD FAILED

C:\R2\MANTRA\build.xml:128: Error starting classic compiler:
--- Nested Exception ---
java.lang.reflect.InvocationTargetException
        at
org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java)

        at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code)
        at org.apache.tools.ant.Target.execute(Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java)
        at org.apache.tools.ant.Project.executeTarget(Compiled Code)
        at org.apache.tools.ant.Project.executeTargets(Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 17 seconds
Label not found

The part of xml code used for this..

  ....

  <path id="classpath">
  </path>

  <path id="tests-classpath">
    <pathelement location="${build.classes}" />
    <path refid="classpath" />
  </path>

  <target name="build">

    <mkdir dir="${build.classes}"/>

    <javac srcdir="${awt}" includes="**/*.java" >
        <classpath refid="tests-classpath" />
    </javac>

......


It will be really helpful I fond a solution on this.

regards,
Neel







_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



--=_alternative 001738A065256ABE_=--