[Wala-wala] Import resolve problems after download wala from git into eclipse

Showing 1-4 of 4 messages
[Wala-wala] Import resolve problems after download wala from git into eclipse Ulf K. 8/10/12 7:08 AM
Hello Wala Team.

I cloned Wala like described here from the git repository out of eclipse (Juno):
http://wala.sourceforge.net/wiki/index.php/UserGuide:Accessing_WALA_Using_Git#Cloning_WALA

Afterwards I got a mass of import errors because some classes are not
found (not available - the little red x on the eclipse projects).

This list said for some projects it is okay, but the major projects
have to compile automatically (like com.ibm.wala.core or
com.ibm.wala.shrike) but they don´t.
Some examples of classes which are not found:
- inside wala.core: com.ibm.wala.shrikeBT.IInvokeInstruction (missing
wala.shrikeBT package)
- inside wala.shrike: com.ibm.wala.util.collection.Pair (missing
wala.util package)

Any suggestions?
It seems that the build path was not cloned from github properly. the
shrikeBT package for example is available in project
com.ibm.wala.shrike > com.ibm.wala.shrikeBT.
So it seems that I have to set this project in the build path of wala.core.

Is there somewhere a list what to do or which build path I have to set
to the core project? Or is it up to me to fix it manually?

Greetz
Ulf

PS:
Eclipse Juno
Java JDK 7
Windows 7 x64


--
"In der Informatik geht es genauso wenig um Computer, wie in der
Astronomie um Teleskope." - Dijkstra

"Es gibt nur eine falsche Sicht: Der Glaube, meine Sicht ist die
einzig richtige." - Nāgārjuna

"Was einmal gedacht wurde, kann nicht mehr zurückgenommen werden" -
Die Physiker (Dürrenmatt)

Ulf Karrock <ukar...@gmail.com>
Darmstadt, Germany

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wala-wala mailing list
Wala...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wala-wala

Re: [Wala-wala] Import resolve problems after download wala from git into eclipse Manu Sridharan 8/10/12 8:23 AM

Hi Ulf,

My guess is that you have the wrong flavor of Eclipse installed.  You should get Eclipse Classic:

http://www.eclipse.org/downloads/packages/eclipse-classic-42/junor

The Eclipse IDE for Java Developers distribution does not include the Plugin Development Tools.  Since WALA projects are plug-in projects, you need the PDT in order for the code to build.  
Also, we haven't tested with Eclipse Juno yet; I'm still on 3.7.  So there may be some issues there (but hopefully not).

Thanks,
Manu

-------------------------------------------
Manu Sridharan
IBM T.J. Watson Research Center
http://researcher.ibm.com/view.php?person=us-msridhar


Inactive hide details for "Ulf K." ---08/10/2012 07:22:40 AM---Hello Wala Team. I cloned Wala like described here from the git "Ulf K." ---08/10/2012 07:22:40 AM---Hello Wala Team. I cloned Wala like described here from the git repository out of eclipse (Juno):

From: "Ulf K." <ukar...@gmail.com>
To: wala-wala <wala...@lists.sourceforge.net>,
Date: 08/10/2012 07:22 AM
Subject: [Wala-wala] Import resolve problems after download wala from git into eclipse


Re: [Wala-wala] Import resolve problems after download wala from git into eclipse Ulf K. 8/22/12 1:55 AM
Hi Manu.

Thanks for your answer.

I forgot to run the ant-scripts and as well I reinstalled PDT. Than all classes compiled as suggested without errors but one class: com.ibm.wala.fixpoint.IntSetVariable.

At line 30ff "other.V" is used. But variable V was set to "private" (line 26). Eclipse said, that "other.V" is not visible.
I changed line 26 to default visibility - no error anymore.
But I´m not sure if this was just a bug or if it was suggested by the programmer.

Greetz
Ulf


2012/8/10 Manu Sridharan <msri...@us.ibm.com>
Re: [Wala-wala] Import resolve problems after download wala from git into eclipse Manu Sridharan 8/28/12 1:45 PM

Hi Ulf,

This compiles fine for me without any changes using Eclipse 3.7.  Not sure why it's not compiling in your case, but if that change fixes it for you, maybe you can just maintain the change locally.



Thanks,
Manu

-------------------------------------------
Manu Sridharan
IBM T.J. Watson Research Center
http://researcher.ibm.com/view.php?person=us-msridhar


Inactive hide details for "Ulf K." ---08/22/2012 01:56:49 AM---Hi Manu. Thanks for your answer."Ulf K." ---08/22/2012 01:56:49 AM---Hi Manu. Thanks for your answer.

From: "Ulf K." <ukar...@gmail.com>
To: "WALA discussion and Q&A" <wala...@lists.sourceforge.net>,
Date: 08/22/2012 01:56 AM
Subject: Re: [Wala-wala] Import resolve problems after download wala from git into eclipse




Hi Manu.

Thanks for your answer.

I forgot to run the ant-scripts and as well I reinstalled PDT. Than all classes compiled as suggested without errors but one class: com.ibm.wala.fixpoint.IntSetVariable.

At line 30ff "other.V" is used. But variable V was set to "private" (line 26). Eclipse said, that "other.V" is not visible.
I changed line 26 to default visibility - no error anymore.
But I´m not sure if this was just a bug or if it was suggested by the programmer.

Greetz
Ulf


2012/8/10 Manu Sridharan <msridhar@us.ibm.com>



--
"In der Informatik geht es genauso wenig um Computer, wie in der Astronomie um Teleskope." - Dijkstra

"Es gibt nur eine falsche Sicht: Der Glaube, meine Sicht ist die einzig richtige." - Nāgārjuna

"Was einmal gedacht wurde, kann nicht mehr zurückgenommen werden" - Die Physiker (Dürrenmatt)

Ulf Karrock <
ukarrock@gmail.com>
Darmstadt, Germany
------------------------------------------------------------------------------

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wala-wala mailing list
Wala...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wala-wala