From bluesky-dev-return-819-apmail-incubator-bluesky-dev-archive=incubator.apache.org@incubator.apache.org Thu Jan 14 02:01:47 2010 Return-Path: Delivered-To: apmail-incubator-bluesky-dev-archive@minotaur.apache.org Received: (qmail 92391 invoked from network); 14 Jan 2010 02:01:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2010 02:01:47 -0000 Received: (qmail 90961 invoked by uid 500); 14 Jan 2010 02:01:47 -0000 Delivered-To: apmail-incubator-bluesky-dev-archive@incubator.apache.org Received: (qmail 90917 invoked by uid 500); 14 Jan 2010 02:01:47 -0000 Mailing-List: contact bluesky-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bluesky-dev@incubator.apache.org Delivered-To: mailing list bluesky-dev@incubator.apache.org Received: (qmail 90907 invoked by uid 99); 14 Jan 2010 02:01:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 02:01:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lovesummerf@gmail.com designates 209.85.222.172 as permitted sender) Received: from [209.85.222.172] (HELO mail-pz0-f172.google.com) (209.85.222.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 02:01:40 +0000 Received: by pzk2 with SMTP id 2so40368pzk.21 for ; Wed, 13 Jan 2010 18:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=xZyXBVXT21cTdxoLRHVvflJC45DOBpWOQdU+QIbIeX4=; b=SCUnxioMUt9QFczhCQI2gfbRUGtWpcQId+AE+FyGDKnikUNzDRqpTZpNjOdv15N9wj tijYFCO66Jk0o4WgpozpVG/Vwl5wG9u3ROLwv6ipx5jTeGRNm+912Lqs+svBgweBBZFJ t9woCDW1YUnvOnq5bCFlNewy0B9CcVGdsYGUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cr9z+e2nniSc/ijf/YPONOhykK6YLQGdkwieM2WBfFk9vY7geez0gDHSVud/41nj33 xAhlLMaGZnp92YTpNvzSXTZFRzdrvf03EXdeOl9mFpZLf+diNZgr6MHsfygAmxCcomoL LlgUZko3SqZjUVCNquHoQiI09b7djrmB+fDHI= MIME-Version: 1.0 Received: by 10.114.253.7 with SMTP id a7mr94756wai.70.1263434479862; Wed, 13 Jan 2010 18:01:19 -0800 (PST) In-Reply-To: <5a75db781001120812v5cacbdb4hfb20b1be6a39b9b5@mail.gmail.com> References: <6ec21e961001120230s3653dafje23160514f46b1ab@mail.gmail.com> <5a75db781001120812v5cacbdb4hfb20b1be6a39b9b5@mail.gmail.com> Date: Thu, 14 Jan 2010 10:01:19 +0800 Message-ID: <6ec21e961001131801o6723fb5fk779b8bd1eeb2370f@mail.gmail.com> Subject: Re: met some problems when using Apache RAT tools From: Samuel Kevin To: bluesky-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e68786945e8580047d1643dd --0016e68786945e8580047d1643dd Content-Type: text/plain; charset=ISO-8859-1 if there any difference on using it based on different operating system? i run *java rat.report * under windows but only come up with this error "Exception in thread "main" java.lang.NoClassDefFoundError: rat/report". I am not familiar with java, do i need to configure something or should i choose Linux to run RAT ? 2010/1/13 Luciano Resende > On Tue, Jan 12, 2010 at 2:30 AM, Samuel Kevin > wrote: > > hi, all: > > i was trying to use RAT to audit RealClass sourcecode . But i met > some > > problems. The instruction of using RAT is really simple. I checked out > the > > current version and installed it like the instruction said but i can't > run > > it with this command :*java -jar rat-app-VERSION.jar --help. *i tried to > > change the string "VERSION" to 0.6/0.7. The output shows"Unable to access > > jarfile rat-app-0.8.jar"*, *does this mean i haven't installed RAT right > or > > i missed something else.? i was just straightly doing as the guide[1] > > said.... > > [1]http://incubator.apache.org/rat/ > > > > Here is what I did : > - Checked out RAT 0.6 tag from > > http://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6/ > - Built the tag with 'mvn clean install' > - Run it via command line with java -jar > ~/.m2/repository/org/apache/rat/apache-rat/0.6/apache-rat-0.6.jar > > rat.log > > BTW, the instructions on the rat site to run it via maven plugin keeps > failing for me, that's why I used the command line, which is working > for me fine. > > > -- > Luciano Resende > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > -- Bowen Ma a.k.a Samuel Kevin @ Bluesky Dev Team XJTU Shaanxi Province Key Lab. of Satellite and Terrestrial Network Tech http://incubator.apache.org/bluesky/ --0016e68786945e8580047d1643dd--