Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35912 invoked from network); 4 Aug 2008 06:11:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 06:11:14 -0000 Received: (qmail 34074 invoked by uid 500); 4 Aug 2008 06:11:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33816 invoked by uid 500); 4 Aug 2008 06:11:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 33805 invoked by uid 99); 4 Aug 2008 06:11:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 23:11:09 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kamranhamid37@gmail.com designates 66.249.90.179 as permitted sender) Received: from [66.249.90.179] (HELO ik-out-1112.google.com) (66.249.90.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:10:12 +0000 Received: by ik-out-1112.google.com with SMTP id c29so2634144ika.4 for ; Sun, 03 Aug 2008 23:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Pdh61I7hjFm2NbVUg1bb04ESlGq0LGgCojN1tO6CUUU=; b=s8zO29m4vrW4/CDH+RtuwvJyKrtSxbV3Ipw9wnC+GC+/0larnDe8est+recsuwFvd1 C8kIsWOx8nOYiSnvrci25PhhR5tLTIFDPEZoBXhbxpSG5k3fCZXkGxuuDDub/oWWXahN HyGN2nQn5lF/P50o1M4Cm1xIZSGFygjQteTmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=WvdhdzL3ZCrCI4fzoLmi+1pTrcJtBM8tPI8krNYkgaBIowXm2cxDzbcyL9zm0m2epH Klz+4zFa69mUNRxfYUDyyyaNUx8dCILRajKSHttbDZZPNtj0Jp1Rxlm+4FUISgVK+Lia kWlDYQGKiuxw0u+/KIQ91yTXiLpM84sz7d880= Received: by 10.210.59.3 with SMTP id h3mr16486163eba.65.1217830220467; Sun, 03 Aug 2008 23:10:20 -0700 (PDT) Received: by 10.210.90.2 with HTTP; Sun, 3 Aug 2008 23:10:20 -0700 (PDT) Message-ID: <706db99c0808032310t52873443j5f4f8f4f72aedbc7@mail.gmail.com> Date: Mon, 4 Aug 2008 06:10:20 +0000 From: "Kamran Hameed" To: "Ant Users List" Subject: Re: cannot compile with ant -- cannot find symbol In-Reply-To: <48969BA2.4090000@wso2.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33504_32296622.1217830220455" References: <706db99c0808032252n6457c01fl612004f741ac64f2@mail.gmail.com> <48969BA2.4090000@wso2.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_33504_32296622.1217830220455 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you for your reply I have included the dependent jars as 110 111 114 115 116 117 One another thing is that these java files which i am trying to compile with ant.. dont even compile when i compile one by one using --javac-- so i think its not ant error,... rather some package error... right? sorry for disturbance On Mon, Aug 4, 2008 at 6:03 AM, Charitha Kankanamge wrote: > Hi Kamran, > This is due to missing dependancies. You may try with adding dependent jars > as follows. > > > > > > > > > regards > Charitha > > http://charithaka.blogspot.com > > Kamran Hameed wrote: > > i am trying to compile files in that are placed in packages. I have used >> the >> proper package statements as well but when i compile with ant it gives >> >> compile: >> [javac] Compiling 113 source files >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:647: cannot >> find symbol >> [javac] symbol : method create(mpjdev.nativ.Group) >> [javac] location: class mpjdev.nativ.Comm >> [javac] return ( (tmpgrp != null) ? (create(tmpgrp)) : (null)); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:662: cannot >> find symbol >> [javac] symbol : constructor Comm(xdev.Device,mpjdev.Group,int) >> [javac] location: class mpjdev.nativ.Comm >> [javac] return new Comm(this.device, ngroup, collctxt); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:669: >> collctxt is not public in mpjdev.Comm; cannot be accessed from outside >> package >> [javac] remoteleader, tag, sendctxt, >> localcomm.collctxt); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:668: cannot >> find symbol >> [javac] symbol : constructor >> Comm(xdev.Device,mpjdev.Group,mpjdev.Group,int,int,int,int,int) >> [javac] location: class mpjdev.nativ.Comm >> [javac] return new Comm(this.device, localcomm.group, peergroup, >> localleader, >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:698: >> incompatible types >> [javac] found : mpjdev.Status >> [javac] required: mpjdev.nativ.Status >> [javac] Status status = device.probe(srcID, tag, recvctxt); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:730: >> incompatible types >> [javac] found : mpjdev.Status >> [javac] required: mpjdev.nativ.Status >> [javac] Status status = device.iprobe(srcID, tag, recvctxt); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:780: >> incompatible types >> [javac] found : mpjdev.Request >> [javac] required: mpjdev.nativ.Request >> [javac] Request request = device.irecv(buf, srcID, tag, context, >> status); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:845: >> incompatible types >> [javac] found : mpjdev.Status >> [javac] required: mpjdev.nativ.Status >> [javac] return status; >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:962: >> incompatible types >> [javac] found : mpjdev.Request >> [javac] required: mpjdev.nativ.Request >> [javac] return device.isend(buf, group.ids[dest], tag, context); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:1023: >> incompatible types >> [javac] found : mpjdev.Request >> [javac] required: mpjdev.nativ.Request >> [javac] return device.issend(buf, group.ids[dest], tag, context); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Comm.java:1111: >> incompatible types >> [javac] found : mpjdev.nativ.Request >> [javac] required: mpjdev.Request >> [javac] reqs[i] = isend(buf, i, rank + tag + i, false); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Request.java:142: >> initializeWaitany(mpjdev.nativ.Request[]) in mpjdev.nativ.Request cannot >> be >> applied to (mpjdev.Request[]) >> [javac] Waitany w = initializeWaitany(requests); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Request.java:150: >> incompatible types >> [javac] found : mpjdev.Request >> [javac] required: mpjdev.nativ.Request >> [javac] r = MPJDev.dev.peek(); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Request.java:168: >> incompatible types >> [javac] found : mpjdev.Status >> [javac] required: mpjdev.nativ.Status >> [javac] Status completedStatus = w.completed.iwait(); >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Request.java:185: >> isNull is not public in mpjdev.Request; cannot be accessed from outside >> package >> [javac] requests[completedStatus.index].isNull = true; >> [javac] ^ >> [javac] /home/kamran/parallel/mpj/src/mpjdev/nativ/Request.java:186: >> incompatible types >> [javac] found : mpjdev.nativ.Status >> [javac] required: mpjdev.Status >> [javac] return completedStatus ; >> [javac] ^ >> [javac] Note: Some input files use unchecked or unsafe operations. >> [javac] Note: Recompile with -Xlint:unchecked for details. >> [javac] 16 errors >> >> BUILD FAILED >> /home/kamran/parallel/mpj/build.xml:83: Compile failed; see the compiler >> error output for details. >> >> Can any one tell >> >> >> >> >> ------------------------------------------------------------------------ >> >> Internal Virus Database is out-of-date. >> Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.7/1543 - Release >> Date: 7/9/2008 6:32 PM >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- Kamran Hameed http://hpc.niit.edu.pk/~kamran ------=_Part_33504_32296622.1217830220455--