Is there any Eclipse plugin which autobackup a project every so and so minutes to an email a/c? - eclipse

Is there any Eclipse plugin which autobackup a project every so and so minutes to an email a/c?

After doing some research, I found that such a feature is already present in Eclipse. Eclipse stores every new edit in a file in the following backup folder present in the workspace folder .metadata:
{Eclipse root directory}/.metadata/.plugins/org.eclipse.core.resources/.history/
The backup can also be accessed from right clicking a file and choosing "Restore from Local History...". However, when it comes to emailing the code, there is no such function that comes with default version of Eclipse, so I guess I do need to learn Eclipse Plugin.
Here are some relevant links:
http://www.nodans.com/index.cfm/2008/1/18/How-to-recover-a-deleted-file-in-Eclipse
http://wiki.eclipse.org/FAQ_Where_is_the_workspace_local_history_stored%3F

Take a look at Subversive/Subclipse

Installing a CVS would do it, but any backup utility software running in the background would also work.

Related

Unable to read repository at http://beust.com/eclipse

Eclipse for Testers
Version: Indigo Release
Build id: 20110615-0604
I try to install TestNG but below error appeared.
"
Unable to read repository at http://beust.com/eclipse.
http://beust.com/eclipse is not a valid repository location.
"
Kindly Resolve the problems
This is because http://beust.com/eclipse is redirecting to http://dl.bintray.com/testng-team/ and Eclipse software seems to be not handling this URL redirection as intended.
If you add the URL as http://dl.bintray.com/testng-team/testng-eclipse-release/ then this will work OK.
I added one "/" to the end: http://beust.com/eclipse/, then it works. If you use RAD 8+, navigate from Windows -> Preferences -> General -> Network Connections, make sure you have correct settings here, for me I have to change the setting from Native to Direct.
Disconnect from your company's intranet network and connect to your network (Like mobile hotspot or home wifi). Try install then. Worked for me.
You can try below link
https://www.techbeamers.com/install-testng-in-eclipse-ide/
The URL for downloading the Zip file is for version 6.11 in the above link. If you need a higher version try
http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/
It doesn't work for Eclipse Neon at all. You can try to download the zipped archive file and add the 'update site' as an archive file from the file system.
> Install TestNG In Eclipse IDE Via Offline Jar Files
Download the latest TestNG Jar files from the link TestNg Jars
Go to the eclipse installation directory and look for the “dropins” folder there.
Create a folder inside the dropins folder and name it as “testng-eclipse-6.11“
Extract the “site_assembly.zip” file and copy its contents to the newly created “testng-eclipse-6.11” directory.
Restart Eclipse
source: techbeamers
Make sure you don't have a space character before or after the entry in the "Work with" field as you try to add the software site.
Other than that, the software site is perfectly valid. Perhaps the server was just down at the time you tried it. You could also check to verify that there is no proxy or firewall filtering on your end. Try pinging the site or accessing it in some other way. If Eclipse can't talk to the site, it has no way of knowing that it is valid.
Make sure you are connected to the Internet
Key in the exact URL - http://beust.com/eclipse/
I tried Network connections -> Change native to manual -> Selected Socks and clicked on clear then I tried to install the TestNG plugin from install new software and add the URL. while installing eclipse was asking to sign in but I clicked on ok every time and installation were completed.
I tried many steps editing the eclipse.ini file etc and changing native to direct. None of those steps worked for me
Try below steps:-
Ping the URL in CMD to check if there are any loss of data packets.
So you will get clarity it is problem with your network or not ,try with different network.
Many times your antivirus or firewall block the incoming network so disable them temporarily and try.
To resolve this issue.
GO to Eclipse installed folder
Edit eclipse.ini file and insert
-Djava.net.preferIPv4Stack=true
at the end of that file. Restart the eclipse.
The given link is https://beust.com/eclipse
remove "s" from https & try with link http://beust.com/eclipse
I was using "http://beust.com/eclipse/" but unable to download TestNG jar it is showing no contents.
If you will use this URL "http://dl.bintray.com/testng-team/testng-eclipse-release/" then you will able to download, it worked for me.
Just install TestNG from below URL and no such issue will occur at latest eclipse releases:
http://dl.bintray.com/testng-team/testng-eclipse-release/
The above link didn't work it means you need a higher version of TestNG for the eclipse. Before that check TestNG is installed or not in order to know that press CTRL+N in the wizard you can see TestNG class file name.
If it is not displaying then try installing TestNG In Eclipse IDE Via Offline Jar Files:
1)Download the latest TestNG Jar files from the link TestNg Jars ("https://github.com/cbeust/testng-eclipse")
2)Download TestNG 6.11, Clicking on the link will download the “site_assembly.zip” file for the TestNG version 6.11. This file contains two folders named as “features” and “plugins“.Go to the eclipse installation directory and look for the “dropins” folder there.
3)Create a folder inside the dropins folder and name it as “testng-eclipse-6.11“
4)Extract the “site_assembly.zip” file and copy its contents to the newly created “testng-eclipse-6.11” directory.
5)Restart Eclipse
OR
Go click on Help> Install new Software> Under Available software> Work with textbox paste this "2019-06 - http://download.eclipse.org/releases/2019-06" and then click on ADD. You will now see the files like TestNG and a lot many others. Select TestNG click on Next> Next> Accept the condtions> Finish. It will restart the eclipse. Inorder to know the installation is successful Press CTRL+N.

How to manually install software/plugin to Eclipse IDE?

I have downloaded a RAR file from the following location, to be (manually) installed to Eclipse (Helios). How can I perform the manual installation?
http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20RCP%20%28exc%20JRE%29/3.6.1/sqlexplorer_rcp-3.6.1.macosx.cocoa.x86.tgz/download
Instead of putting it directly into the plugins directory, it's better to use the dropins directory as this was created just for this purpose. Have a look here: http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
For sqlexplorer: do not download the full RCP version (as your link does), this one is standalone. Get this one instead: http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20Plugin/3.6.1/sqlexplorer_plugin-3.6.1_SR2.zip/download
Extract this to $eclipse_home$\dropins\sqlexplorer and restart Eclipse.
BUT: Using the SqlExplorer Update Site (http://eclipsesql.sourceforge.net/) would be an even better option (Help>Install new Software)
I have tried the installation with the explanation about the dropins folder and had to tweak it like that:
Unzip the distribution into your eclipse installation directory under the folder dropins. Your structure should be:
eclipse/
dropins/
eclipse/
features/
plugins/
Remove all other files and directories. There is some missing piece (file contents.xml), so that the distribution is no real p2 repository which leads to an error. The directories plugins and features are sufficient.
Restart your eclipse (I have done it with option -clean, not sure if that is necessary).
SQLExplorer is then installed and visible in the help, in different menus and with a new perspective.
I even was able to use it to have a look at my SQLite3 database of a rails3 application. Wow!! So I will give it a try.
From their website (http://www.sqlexplorer.org/):
Eclipse Plugin
Download
Download the Eclipse SQL Explorer plugin and extract the zip file in your eclipse directory (requires Eclipse 3.3 or better).
After restarting eclipse with the -clean option, a new SQL Explorer perspective should be available.
Eclipse Update Site
You can install and update Eclipse SQL Explorer via the eclipse update mechanism. The update site for Eclipse SQL Explorer is http://eclipsesql.sourceforge.net/
I always go for the update site option if they present it, it's easier and lets you do updates easily. To use the update mechanism just select Help > Insall New Software... then enter the update site, press Add and go through the wizard.

Where does Eclipse store settings and plugins in userdir?

I've just installed a new Linux distro on my box and want to move my Eclipse home from the old /home/username/ to my new one. Because I changed the desktop, I don't want to copy all hidden folders from ~/. So which directories do I need copy in order to have all my installed plugins?
I've already copied ~/.eclipse/ and it definitely contains files related to the plugins but Eclipse won't load them. Any hints?
We've eventually found the directory containing all that stuff by accident. Somehow we broke it and Eclipse refused to start on my coworker's computer:-)
See ~/workspace/.metadata/.plugins or wherever your workspace resides.
As far as I know, Eclipse stores its plugins in its installation directory (eclipse). They might reside in eclipse/plugins or eclipse/dropins. You can copy the whole eclipse directory from your old box.

What are some RCP Deployment Options?

We have an RCP application and we are looking for a better way to do installation/updates. Currently to install, they just unzip a zip file. The zip file also contains scripts in it that are not java code. We were running into some bugs when updating if they don't first delete the old folder that was previous unzipped. The issue with deleting the folder is that the user loses the plugin preferences that were set. The installation would also need to register a COM server. The update would have to update the plugins and also replace the current script folder. What are some of the best options that could be used for installing and updating rcp apps? Thanks!
An option is to use the eclipse update mechanism. In this case the user would simply update like in the eclipse ide using help->software update. I have not used it myself yet ,but I have visited a tutorial from kai tödter, just google "eclipse rcp adanced kai tödter" und you will find some stuff, e.g. slides where he explains the updated mechanism as well as an example project "MP3 Manager" where you can find an example

Completely lost with Blackberry JDE for Eclipse

I'm serious. I installed the Blackberry web developer thing for eclipse (being stupid, and not seeing the 'web' part). Then, when I realized my mistake, I went and got the JDE for Eclipse. I went through the install process....open up Eclipse...and I'm lost. I don't know how to run code...or the simulator, or anything.
All the tutorials I'm finding are referencing an older "beta" version of the Eclipse plugin, which apparently had a "Blackberry" menu option. I'm not seeing that.
I found some sample code, which gives the helpful instructions:
"1. Extract HelloWorld_incomplete.zip
2. In the IDE, open the helloworld.jdw workspace
3. Open the helloworld.java source file.
"
...I've never seen a .jdw file before. If I try opening it in Eclipse, I get a not-very-useful text file. Since they say it's a workspace, I try the "Switch Workspace" option in Eclipse, which lets me pick a folder, rather than a file.
I'm pretty sure "Import Project" isn't right, either.
So, I figure I'll deal with that later, so I open up the source code (a standard .java file, with a main, etc). I try running it, but it asks for an Ant build file.
I can run standard Java files just fine (that is, I know Java is in my path).
I don't know if maybe I don't have the Blackberry part right...or if it's on the eclipse side where I'm failing.
Does anyone have any ideas?
-Jenny
Edit: Just to be sure, I tried downloading the plugin through eclipse with their provided link (http://www.blackberry.com/go/eclipseUpdate), but eclipse says that it got a .jar file when it was expecting a .zip file, and so it errored. Can you even unzip a jar file (like Eclipse is trying to do?)
It sounds like you have the wrong package.
I installed it yesterday from the "Download Now" button at http://na.blackberry.com/eng/developers/javaappdev/javaeclipseplug.jsp
and it had both the menu option and the Blackberry project type.
It should have an installer if you get the correct one. I would post a direct link, but RIM likes to ask for your info before allowing the download.
Try installing it to a different directory and using a new workspace. It could be that the old install is interfering somehow.
-Hope that helps
if you want to know step by step to install the jde plugin in eclipse you can visit http://learn.virtue-software.com/2011/05/quick-start-creating-blackberry-application-with-eclipse/