Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to update classpath automatically?
How to update classpath automatically? [message #1864503] Wed, 20 March 2024 12:05 Go to next message
Sachin Goyal is currently offline Sachin GoyalFriend
Messages: 19
Registered: February 2024
Junior Member
I am running eclipse through my own wizard project and at the runtime i am generating projects eg: reader, writer, adapter, source model and target model with the help of ecores.
Now, the issue is everytime i have to do update classpath manually and it will make plugin dependencies folder in my every project generated by using ecores.
Any way of automate this thing like when creating projects it should create plugin dependencies and add required plugins in it by itself.
Thanks in advance.
Re: How to update classpath automatically? [message #1864619 is a reply to message #1864503] Thu, 28 March 2024 15:46 Go to previous messageGo to next message
Michael Mast is currently offline Michael MastFriend
Messages: 8
Registered: September 2014
Junior Member
I'm really not understanding your issue that well, but it sounds like you are invoking Eclipse through your own code. If so, I assume you are using the exec() method of the java.lang.Runtime class? If so, that method allows you to specify an environment for the new process which is created. You can set the Classpath for that new process in your call to exec().
Re: How to update classpath automatically? [message #1864639 is a reply to message #1864619] Mon, 01 April 2024 03:43 Go to previous message
Sachin Goyal is currently offline Sachin GoyalFriend
Messages: 19
Registered: February 2024
Junior Member
Yeah thanks for the help
The issue got resolved already and you got it right while invoking eclipse i specified the classpath for each project.
Again thank you
Previous Topic:The operation cannot be completed. See the details
Next Topic:Need help with eclipse contributing
Goto Forum:
  


Current Time: Sat Jul 20 20:08:52 GMT 2024

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

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

Back to the top