How to add Eclipse-Plugin Jars comfortably to a project? - eclipse

After installing a Eclipse Plugin (namely Zest), I was wondering how to add the Jar's libraries to my Java project.
Of course, I can add them under my built path settings with "add external JARs" and search my program directories for the plugin folder and the Jar's.
But isn't there a more comfortable way ? I was thinking of some project menu in Eclipse to say "add all libraries from plugin XYZ" ?

You could use maven to manage libraries (very comfortable)

Related

I developed an eclipse editor using ecllipse-rcp concepts .My requirement is to build the project using maven

I developed an eclipse editor using eclipse-rcp concepts .My requirement is to build the project using maven.
So i wrote the pom with packaging type=bundle using apache felix concepts.
After building the project, the project jar has the class files,plugin.xml and the manifest file.
Now, I am dropping this jar in plugins folder of eclipse.I want to open files of a certain extension with this editor. But my eclipseis not showing my editor name in the Internal/External editor list, even though the plugin is the plugins folder of eclipse.
Please help.
If you want to build Eclipse plug-ins with Maven, you should use Tycho: https://www.eclipse.org/tycho/. It provides specific packaging types for handling Eclipse plugins and features (groups of plugins).

how can I create maven Gwt project?

Hello friends I have not so much Idea about maven build tool. I just download and install it in my system as I read maven is a build tool and work perfectly with transitive dependency. this is the basic reason to use it
I also configure mavan plugin in Eclipse.
so what is the proper Gwt maven archetype in eclipse and I read so many command in tutorials like maven:gwt run but I dont to where is this command exist in eclipse
I am very new in maven so please help me like a beginner
This is a common approach to get support of maven in existing GWT-Project
Make a gwt project by using the gwt plugin in Eclipse. Now you have
an Eclipse gwt project.
Select the project in Project Explorer , right-click it, then choose
Configure . Then select Convert to Maven Project . Now you get a
gwt-maven project.
Now add necessary dependencies to pom.xml .
if you want to create a gwt maven project directly you need to choose gwt archetype if not exist you can add this have a look in
this video
You should:
Download the gwt plugin in Eclipse and create a gwt project.
In Eclipse select the project, right-click on it, then choose Configure. Then select Convert to Maven Project.
Now you get a gwt-maven project.

How do I have Maven install and/or configure eclipse plugins automatically

I am new to eclipse and the interaction between eclipse and maven.
Is it possible to have Maven automatically install Eclipse plugins if the eclipse path is known?
Is it possible to configure specific project settings for each installed plugin when the eclipse project is created? Is it easy to update these configuration settings once the eclipse project is created?
How may I go about this using Maven? Or is it not possible/ideal?
To install a plugin, you would have to copy the plugin files to the eclipse/plugins folder as described in the Eclipse wiki
You can use maven to copy the plugin files/folders to the eclipse plugins directory. This question will show how: Best practices for copying files with Maven
However, I would not advise to use maven to configure the IDE and its plugins, you should manage your projects and not your IDEs with maven.

Importing a Scala project from github into Eclipse

I've installed EGit plugin in my Eclipse Helios with latest Scala IDE plugin beta. I've imported it as a "general project" using clone and I can't find any Configure -> Add Scala nature option ... what am I doing wrong? (can't compile/run/add libraries etc)
I'm not familiar with the EGit Plug-in, but do you also have the option to import it as a Java project? The "Add Scala Nature" option is only available for Java projects.
If you can't create it as a Java project, you can also just modify the generated .project file and add the Java nature to it manually:
<nature>org.eclipse.jdt.core.javanature</nature>
(taken from http://enarion.net/programming/eclipse-change-general-to-java-project/)
One recommended approach would be first to make your GitHub project compiled/run with sbt (which ensures both IDE-independence and third-party library dependency management).
The sbt-eclifsify can easily generates .classpath and .project files for the Eclipse IDE from the sbt project.
The class ProjectFile.scala details how the .project file is build.

how to install javax and apache plugins in eclipse?

I'm new to java and trying to rebuild in eclipse 3.4.2 an old package that require javax (classes InternetAddress, Session and others) and org.apache.xpath.* (I don't know exactly why). I'm looking for update sites but google reports billions of pages. An explaination about how/where to find eclipse plugins without getting sick will be appreciated, thanks.
From what you describe, you don't need a plugin, you just need to add the required libraries to your build path. You won't find those in update sites.
Here's what you need to do:
Locate and download the required JARs. You can use a service like FindJar.com to search for those JARs. Apache JARs are usually available from apache.org.
Put the JARs in a folder called lib in your project.
Refresh the project in Eclipse (F5 or right-click and "Refresh"), the lib folder with the JARs should appear in your project explorer.
Add them to the build path - in the Eclipse project explorer, right-click the JARs and select "Add to build path"
Right click on project ---> Properties ---> Java Build Path ---> Add Library... ---> Server Runtime ---> Apache Tomcat ----> Finish.