Karthikvb / checkthread

Automatically exported from code.google.com/p/checkthread
0 stars 0 forks source link

Very useful project, but just do not work #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download, install eclipse plugin with assosiated libs.
2. Run simple example from http://checkthread.org/example-threadsafe.html
3. After some works... no error found

What is the expected output? What do you see instead?
- I expected appropriate error.

I do new test project "Zzzzz" so it will be last (as in other issue)
ok, logs say that "1 error found, see in problem/warning window", but one 
is empty..

I try even via Ant lib, but got various errors and could not clean them.
------
In sum, I lost about one hour and a half without result (and i think many 
other people too).

Original issue reported on code.google.com by and...@gmail.com on 9 Dec 2009 at 1:41

GoogleCodeExporter commented 9 years ago
I downloaded the package and tried running the example by issuing the command: 
ant -f analyze.xml -lib ../dist -lib ../lib

However, I got an error: 
BUILD FAILED
/usr/lib/eclipse/checkthread-1.0/examples/analyze.xml:15: taskdef class
org.checkthread.anttask.CheckThreadTask cannot be found

I do not know where to get this class??

Original comment by eazyigz on 14 Dec 2009 at 1:55

GoogleCodeExporter commented 9 years ago
 Are you running in the right directory? Try the following:

1) unzip checkthread-bin.zip in some $INSTALL/ directory

2) cd $INSTALL/checkthread-1.0/examples/ 

3) ant -f build.xml 

4) ant -f analyze.xml -lib ../dist -lib ../lib 

Does that work? If not, verify that the directories you are specifying through 
the ant flag "-lib" are valid.

There should be two checkthread jar files in the "../dist" directory.

If not, verify you installed the zip file correctly.

-Joe 

Original comment by checkthr...@gmail.com on 14 Dec 2009 at 4:01

GoogleCodeExporter commented 9 years ago

Original comment by joe.jco...@gmail.com on 14 Dec 2009 at 4:06

GoogleCodeExporter commented 9 years ago
Hi,
I tried all that.  Except it seems that there is no lib directory in the 
checkthread
folder. Is there supposed to be one?

Original comment by eazyigz on 14 Dec 2009 at 3:15

GoogleCodeExporter commented 9 years ago
And there is only ONE jar file in the dist directory:
checkthread-annotations-1.0.9.jar

Original comment by eazyigz on 14 Dec 2009 at 3:23

GoogleCodeExporter commented 9 years ago
You should see two jar files in the dist directory. 

1) Try downloading the following file:
checkthread-1.0.9-bin.zip

from here:
http://checkthread.org/downloads.html

2) Unzip the file, you should see two jar files in the dist directory.

I just tried this myself.

Original comment by joe.jco...@gmail.com on 15 Dec 2009 at 1:50