Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

Forum: Lua Development Tools
 Topic: "Gnuplot terminal is not set stack traceback" error
Re: "Gnuplot terminal is not set stack traceback" error [message #1741663 is a reply to message #1730938] Fri, 26 August 2016 16:43
kai liu is currently offline kai liuFriend
Messages: 1
Registered: August 2016
Junior Member
Hi Buddy, have solved the problem, since I have come to the same problem exactly as you did, would you like to let me know how to deal with this if you have come to the solution? thanks!
Kai
Forum: Newcomers
 Topic: Eclipse locked behind a firewall
Eclipse locked behind a firewall [message #1741626] Fri, 26 August 2016 11:57
Mark Fenbers is currently offline Mark FenbersFriend
Messages: 64
Registered: July 2009
Location: Ohio, USA
Member
I must use Eclipse on Linux and my development computer is locked behind a firewall. No proxies are permitted. Only copying files in through the firewall is permitted. So, I copied the tarball in, and installed Eclipse by untar'ing it. Now I want to customize Eclipse by adding plugins such as DBeaver and JAutoDoc (and others). What is the best way to add the plugins to Eclipse after I copy the files in through the firewall?

I will not have internet access for keeping Eclipse up-to-date, either! So copying files is my only option from here on out. Is it possible or advisable to somehow create my own update site within our firewall, so that I can use Eclipse's mechanism for automatic updates??
Mark
 Topic: Import java program in Eclipse
Import java program in Eclipse [message #1741616] Fri, 26 August 2016 10:56
Matias Giangualano is currently offline Matias GiangualanoFriend
Messages: 1
Registered: August 2016
Junior Member
Hi everyone,

my professor gave me the source of a java program on which i should work on. I would like to import this complete program (with classes, packages and jars) but I don't know how to do that.

Up to now I tired to crate e new java project in eclipse Mars and I added the files by the command "build Path->link source" or by "Import...->File System" command.

In both it doesn't work. In the former the imports can not be resolved, in the latter it seems working but I'm not able to set the main entry point although I know where is.

Note that as of now, none jar file give me a problem.

Thanks!
Re: Import java program in Eclipse [message #1741658 is a reply to message #1741616] Fri, 26 August 2016 15:58
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3797
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/26/2016 07:37 AM, Matias Giangualano wrote:
> Hi everyone,
>
> my professor gave me the source of a java program on which i should work
> on. I would like to import this complete program (with classes, packages
> and jars) but I don't know how to do that.
>
> Up to now I tired to crate e new java project in eclipse Mars and I
> added the files by the command "build Path->link source" or by
> "Import...->File System" command.
>
> In both it doesn't work. In the former the imports can not be resolved,
> in the latter it seems working but I'm not able to set the main entry
> point although I know where is.
>
> Note that as of now, none jar file give me a problem.
>
> Thanks!

This note I wrote years ago may help you even though I was using an
older version of Eclipse. The workspace/project mechanism is still the
same. Come back here if you have questions.

http://www.javahotchocolate.com/tutorials/corejsf.html
 Topic: Modification of AST, according to the change in source code
Modification of AST, according to the change in source code [message #1741664] Fri, 26 August 2016 17:52
Sonali Saha is currently offline Sonali SahaFriend
Messages: 1
Registered: August 2016
Junior Member
I want to write an eclipse plug-in. The scenario is like this, at the beginning I have built one AST from a current java file which is open in editor.
My requirement is, whenever source code is being modified, previously built AST should be reused and it should be modified according to the changes in source code. I want something which will do incremental parsing. Please give some idea.
Forum: OCL
 Topic: OCL Evaluation
Re: OCL Evaluation [message #1741578 is a reply to message #1741546] Fri, 26 August 2016 05:08
Ed Willink is currently offline Ed WillinkFriend
Messages: 4881
Registered: July 2009
Senior Member
Hi

Where does the OCL documentation recommend installing from the Eclipse Marketplace?

Unfortunately punctuation got appended to https://wiki.eclipse.org/OCL/ForumNetiquette

Googling "OCL Forum Netiquette" also works.

Regards

Ed Willink
Re: OCL Evaluation [message #1741585 is a reply to message #1741578] Fri, 26 August 2016 06:48
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 23
Registered: April 2012
Junior Member
Hi Edoaurd,

I expect that there is a problem in the set-up of the project. The dependencies listed for OCL are the 'root'-dependencies. These dependencies are OSGi bundles, not plain jars. The OSGi bundles have dependencies on other bundles too, these dependencies will be resolved by the OSGi platform. If you are using the OSGi bundles as plain jars, the dependencies are not automatically resolved. You have to manually take care that all these dependencies are available on the classpath too.

Switching from an plain java project to an eclipse plugin project might solve the issues. However, this can result in other problems in your particular set-up or deployment.

As pointed out by Ed, please provide us with more information, especially regarding your project set-up, classpath settings, and how you execute your command. For now, all the above is just a guess.
Re: OCL Evaluation [message #1741648 is a reply to message #1741585] Fri, 26 August 2016 15:05
Edoaurd Batot is currently offline Edoaurd BatotFriend
Messages: 38
Registered: March 2015
Member
Thanks Rolf for your attention,
I'm gonna investigate what does OSGi is - might be usefull since it is not the first time I encounter it.
I like to keep my projects plain Java to avoid dependencies to the platform I use (Eclipse, with chosen plugins and features is a plateform).
Nonethless, the use of OCL seems to require an Eclipse project.

It is the second time I have to deal with OCL from scratch, and I don't understand why is it so complicated to get started with..
On the other hand, Ed, I did not expect you to run the project I'm working on. The exception being thrown at the very first step of the execution, I was looking for help from the ones who have had the same issue before. And it happened, as pointed out in a previous post - but links are dead. That might be added to your netiquette guidelines : if we want to reuse and improve the knowledge we put into the forum, it would be better to keep the links working. Otherwise, we are gonna depend on a few gurus - which good-will might be affected by a few goofy words.

Thanks for your help, I'll get some distance and be back in a few days (once I'll have gathered zips and OSGi dependencies).
Have a good day.
Re: OCL Evaluation [message #1741665 is a reply to message #1741648] Fri, 26 August 2016 19:07
Ed Willink is currently offline Ed WillinkFriend
Messages: 4881
Registered: July 2009
Senior Member
Hi

What link is dead? just one that accidentally acquired trailing punctuation.

I certainly do not want to see your whole project. Since it fails at the very first step a very simple repro should demonstrate how clever/stupid you are being. Without a repro we can only guess at all the weird things you might have done. Bad classpath is just Java 101.

Eclipse OCL does not require a project, it is just that use of one enables you to gain all the benefits of Eclipse rather than just the inconveniences. 95% of Eclipse OCL JUnit tests work both standalone and as plugin tests. During day to day development, I only run the standalone tests since they avoid the overhead of an Eclipse invocation.

Not using a manifest is quite crazy. It forces you to get a non-trivial classpath just right by hand. If you don't know what you're doing, this takes a few rounds of newsgroup ping pong, and more if you don't actually communicate your problem. If you do know what you are doing, getting the classpath right can still take quite a few frustrating minutes. And you have to do it all over again when you update to a new version. In contrast a manifest just does it all automatically.

Even if your final production platform prohibits the use of a manifest, you should still use one for development since getting the help of Eclipse for the 99% of your time when your code doesn't work will save you tons of time in the long run.

Regards

Ed Willink






Current Time: Fri Aug 26 20:15:17 GMT 2016

Powered by FUDForum. Page generated in 0.02713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software