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 <[email protected]> > On Tue, Jan 12, 2010 at 2:30 AM, Samuel Kevin <[email protected]> > 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 > <folder> > 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://people.apache.org/%7Elresende> > 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/
