I recently started on a new project where they do not have eclipse working with subversion. They say it is not possible because our dev boxes do not get internet connection. However, I'm not so quick to give up.
We are currently using TortoiseSVN over our secured network just fine. Surely we must be able to set-up Eclipse to do the same?
I have done some research and am having a hard time finding an answer off google searches and thought I'd ask here. Most of the SVN eclipse guides ive seen require a web address to host the file. Any thoughts?
Related
I've recently come across libGDX for java game development and wanted to give it a try. Every tutorial i've looked up showed that i have to download the setup.jar from https://libgdx.badlogicgames.com. The problem i'm having is that upon visiting this site, i always get redirected to https://libgdx.com, where all i can find are features, a doc, news... and a git repo with code.
Can someone explain to me how i can still download the setup app. Or do i have to run the code from git? Maybe this is a completely stupid question and i'm missing something really obvious but currently i'm completely lost.
It looks like the Website of the libGdx Developers has changed.
I researched a bit and found out that they provide you useful tools for programming with libgdx.
The tool list contains the Setup Tool.
You can find a list of the tools here:
https://libgdx.com/dev/tools/
However I have had ungreat experiences with the tool.
If the tool installation does not work properly. I would recommend you to try to install it manually.
You can find informations about the Manual installation here:
https://libgdx.com/dev/project-generation/
I'm coming from NetBeans and evaluating others and more flexible IDEs supporting more languages (i.e. Python) than just php and related.
I kept an eye on Eclipse that seems to be the best choice; at the time I was not able to find an easy solution to keep the original project on my machine and automatically send / syncronize the files on the remove server via sftp.
All solutions seems to be outdated or stupid (like mounting a smb partition or manually send the file via an ftp client!
I'm not going to believe that an IDE like Eclipse doesn't have a smart solution of what I consider a basic feature of an IDE, so I think I missed something... On Eclipse forums I've seen the same question asked lots of time but without any answer!
Some suggestions about is strongly apreciated otherwise I think the only solution is stick on one IDE each language I use that seem to be incredible on 2018.
I'm developing on MacOS and the most interesting solution (kDevelop) fails on building with MacPorts.
Thank you very much.
RSE is a very poor solution, as you noted it's a one-shot sync and is useless if you want to develop locally and only deploy occasionally. For many years I used the Aptana Studio suite of plugins which included excellent upload/sync tools for individual files or whole projects, let you diff everything against a remote file structure over SFTP when you wanted and exclude whatever you wanted.
Unfortunately, Aptana is no longer supported and causes some major problems in Eclipse Neon and later. Specifically, its editors are completely broken, and they override the native Eclipse editors, opening new windows that are blank with no title. However, it is still by far the best solution for casual SFTP deployment...there is literally nothing else even close. With some work it is possible to install Aptana and get use of its publishing tools while preventing it from destroying the rest of your workspace.
Install Aptana from the marketplace.
Go to Window > Preferences > Install/Update, then click "Uninstall or update".
Uninstall everything to do with Aptana except for Aptana Studio 3 Core and the Aptana SecureFTP Library inside that.
This gets rid of most, but not all of Aptana's editors, and the worst one is the HTML editor which creates a second HTML content type in Eclipse that cannot be removed and causes all kinds of chaos. But there is a workaround.
Exit Eclipse. Go into the eclipse/plugins/ directory and remove all plugins beginning with com.aptana.editor.* EXCEPT FOR THE FOLLOWING which seem to be required:
com.aptana.editor.common.override_1.0.0.1351531287.jar
com.aptana.editor.common_3.0.3.1400201987.jar
com.aptana.editor.diff_3.0.0.1365788962.jar
com.aptana.editor.dtd_3.0.0.1354746625.jar
com.aptana.editor.epl_3.0.0.1398883419.jar
com.aptana.editor.erb_3.0.3.1380237252.jar
com.aptana.editor.findbar_3.0.0.jar
com.aptana.editor.idl_3.0.0.1365788962.jar
com.aptana.editor.text_3.0.0.1339173764.jar
Go back into Eclipse. Right-clicking a project folder should now expose a 'Publish' option that lets you run Aptana's deployment wizard and sync to a remote filesystem over SFTP.
Hope this helps...took me hours of trial and error, but finally everything works. For the record I am using Neon, not Oxygen, so I can't say definitively whether it will work in later versions.
Perhaps I pop this question to early as Openshift v3 is still in preview, nevertheless there might be a solution to my problem that I don't see :).
I'm taking my first steps in building a java Play framework app and chose Openshift as my hosting platform. I just was able to get my app + mysql db working on Openshift v2 as they released v3 preview and got notice v2 will eventually disappear.
In the new images/templates there is still no Java Play version showing and no 'do it yourself cartridge' way.
Any hints or 'tutorial' links are much appreciated :).
Thanks and kind regards!
Erik
You have two options here.
SBT Native Packager
First option would be using the SBT Native Packager SBT builder to create your Docker images (either manually or using something like Jenkins). Out of the box you should be able to run sbt docker:publishLocal and get a local docker image which you can then push to a Docker repo. You can then launch it in openshift with oc new-app <docker repo>/<docker image>:<image version>.
Down side to this is that you aren't really taking advantage of OpenShift fully since your images are being built elsewhere. But it might fit well with your current development flow.
Upside is that your docker images will be quite small. SBT does a good job of packaging up all the dependencies.
Source to Image
Second option would be to create your own source to image builder that knows how to build sbt/play projects. This is the path my team has taken. You can take a look at our sbt builder for reference but its still beta quality at best.
Downside to this process is that all your source is included in the image so its a big larger. Also no one supports this builder so if you have bugs you are on your own.
Upside is that OpenShift will build your images and you will see your build status inside the OpenShift web console.
Notes
With OpenShift Origin 1.3.0 you will also get access to the Jenkins pipeline. This can make either of the two above scenarios easier. You end up with a cool web interface that looks like this:
Hopefully RedHat will support sbt natively at some point but for now one of these two flows should work for you.
For everyone looking for an answer to my own question, here is how I got a Play app running on Openshift (own installation).
First of all, a big thank you #PatrickTescher. His answer pointed me in the right direction.
I did not yet succeed in getting a docker build by activator to work in Openshift (guessing it has to do with running under root), but I have gotten to the point where I have a Source to Image build running on my own Openshift Cluster. This approach is not yet possible with the online developer preview of Openshift. By all the reading I have done so far, I agree with Patrick to say this is the best approach.
By diving into the following links, you should get up and running:
Installing docker on a Windows vm: https://docs.docker.com/toolbox/overview/
Installing your own Openshift Cluster: https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#windows-with-docker-toolbox (in addition: https://github.com/openshift/origin/issues/11277)
Get a s2i image up and running: https://github.com/redhat-cop/containers-quickstarts/tree/master/s2i-play
In the last link you can change registry.access.redhat.com/rhel7.2 by registry.centos.org/centos/centos:latest (rhel needs certification, centos is the free community equivalent)
I'm struggling to get breakpoints to work in a Google Appengine project. I followed the guide here https://cloud.google.com/appengine/docs/java/webtoolsplatform which explains how to set up a google app engine server on your local machine and run your app locally. I can do all that.
I can access my app via http://localhost:8888 as well as http://localhost:8888/_ah/api/explorer etc.
Now onto my problem. None of my breakpoints stop! Even when I place a break point in every possible location the server could go to, nothing happens. This is true when I browse code normally on the regular http://localhost:8888 site, or the /_ah/api/explorer section.
When I shut down the server, everything stops (so I know the server created by Eclipse is the one running the show) and when I am in debug-view I can manually suspend the entire app (which will also
I am running the Google App Engine tutorial project from Udacity:
https://www.udacity.com/course/progress#!/c-ud859
It is a maven based project (though for this debugging, I am compiling using the Google App Engine tutorial linked at the top)
It github repo is here https://github.com/udacity/ud859
And my forked repo where I have my exact code is here:
https://bitbucket.org/esend7881/udacity-googleapp.git
I really can't tell what I am missing here.
This could be anything...it is working for me (using tic tac toe example: https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-java
One question, is how are you invoking your API? I don't see a "HttpMethod.GET" in yoru screen
shot.
Are your break points enabled, makes sure that "Skip All Breakpoints" isn't clicked":
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fbreakpoints%2Fref-skipall_viewaction.htm
I run my eclipse as "administrator" on windows to make sure it has privilege to access the director eclipse is in (Right Click on Eclipse->Run As Administrator)
If above fails, you can try a namespace filter (take your API out of the path) and set a break point in it. I don't have a great example online, but you can follow the "multitenant" example on google to try it: https://cloud.google.com/appengine/docs/java/multitenancy/multitenancy#Java_Setting_the_current_namespace
I have a number of users who complain of a problem with an applet what I wrote. Mostly it works fine then one day it stops working. Checking the settings shows that no Java plugin is available. Once the plugin is reenabled and the browser restarted then the applet works again. I have also observed that the settings show that no plugin is enabled but following a browser restart the plugin is reenabled (without intervention of any kind) and the applet works.
Anyone have ideas how the plugin might get disabled? This has also happened to me so I can be fairly sure that the users aren't fiddling with their settings.
The installations are a mix of IE7/8 and Java 1.5/1.6.
UPDATE
I'm not 100% sure about this but it seems to me that the problem occurs when another applet is running. Many users have IBM HOD and I'm wondering if there could be some kind of clash