I am now very far in my project ~around 60 different views and I all wrote them without IDE support.
Now I really want to use the scala IDE in eclipse
I tried it with eclipse helios indigo and juno with the same result
I followed this tutorial http://scala-ide.org/docs/tutorials/play20scalaide20/index.html
Now I think that there is a small mistake in this tutorial
He chose the mainfolder but I think the src_managed folder is the correct one. However I tried both without any success.
My eclipse looks like this
I tried play clean and play compile play run and play ~run.
I just want to have scala support in .scala.html is this currently possible?
If yes is there a solution where I can format my .scala.html file?
Related
I've been looking into scala lately and from the conciseness and language features I'm completely thrilled.
I have netbeans 8.0 running on ubuntu 12.04 and downloaded scala, edited netbeans.conf (netbeans_default_options="-J-Dscala.home=...), installed plugins from plugin manager inside netbeans (ALL OF THEM). Then, I created scala project (not maven one) and tried out autocomplete. It works, compiles, runs, however, it shows no document found in autocompletion.
This is how I added javadocs Tools > Scala platforms > javadoc tab
I tried adding following ways:
added the entire scala api doc zip from http://downloads.typesafe.com/scala/2.11.2/scala-docs-2.11.2.zip
extracted the previous zip to scala-home folder under $SCALA_HOME/docs/javadocs/scala-docs-2.11.2 and added that
same as 2 but added $SCALA_HOME/docs/javadocs/scala-docs-2.11.2/api in netbeans
None of these pick up documentation! Of course, I could live without it, but it's such a killer for such a concise language where I could just find out stuff instantly from autocompletion. Also, I don't want to use eclipse special ide for scala because I don't want to throw out all the experience with netbeans out of the window and learn new IDE.
P.S. - Netbeans navigator also seem not to work in scala.
And I wonder why there's so little content on google for such a wonderful language?
There is no need to change to IntelliJ. Use the right build tool -sbt or Maven- and everything works fine.
In Netbeans you can use e.g. free Application Servers.
Netbeans support for scala seems pathetic so I just decided to jump to IntelliJ IDEA. It was little bit of learning curve but I'm glad I did because now everything was working (autocomplete, documentation, awesome SBT support etc. etc.)
I try to develop an App Engine project for Android, but I have bugs again and again. I tried to do 3 tutorials in the last days, but got none of them working...
Tutorial 1: Create App Engine Connected Android Project
When creating an App Engine Connected Android Project, I get the following error in the MainActivity: RegisterActivity cannot be resolved to a type.
When i googled this error, I saw that many people had the same error 1 year ago, but nobody could give a good solution yet. Has google been able to solve this bug yet?..
Tutorial 2:
https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/create_project
This Tutorial uses Maven. I tried to generate the project with following command, because I am not able to do that with the interactive mode:
"mvn archetype:generate -DgroupId=com.google.appengine.samples.helloendpoints -DartifactId=helloendpoints -DarchetypeArtifactId=appengine-skeleton-archetype -DinteractiveMode=false".
It fails and tells me that the archetype doesn't exist.. (appengine-skeleton-archetype)
Well, I don't know what to do here...
Tutorial 3:
https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial
At "Modify the Client Application", when I replace the Code from MainActivity01, I get errors like "CloudEndpointUtils cannot be resolved", because in the MobileAssistant src folder the class CloudEndpointUtils was not created!
Conclusion: Seems like most of the documentation is not up-to-date and the google plugins are pretty bugged... Maybe somebody knows how to solve those errors?
Is there any Tutorial, which is up-to-date and, which shows how to build an easy application for android with appengine and which WORKS? I would like to complete just ANY tutorial and have a stable basic project...
The documentation does work, so the problems may lie in the configuration of your tools. You show considerable persistence, so consider switching to a new installation of tools (Eclipse or whatever). Also prove your tools by building and deploying simpler AppEngine-only projects first before aiming higher for Android-to-AppEngine projects.
Well, actually I had reinstalled eclipse several times because of those and other bugs.. But I think I had installed it correctly with the latest plugins...
Now, to be sure that I install it definitely correctly, I have completely formatted my computer (reinstall windows 8.1)
So, in order to be sure that I do everything absolute correctly, which of the following possible ways to install the whole eclipse setup is better?
Install eclipse kepler WITHOUT ADT. Then install all the ADT-plugins and google-plugins, and then install everything necessary from android SDK manager.
Install ADT Bundle (comes with eclipse juno atm and is version 22.3). Then install google-plugins and update ADT-plugins from 22.3 to 22.6.1. Then install everything necessary from android SDK manager.
I know this shouldn't make a real difference, but I have done that often enough and I still had errors. This time I want to be sure to do it completely right!
I implemented the current version of ActionBarSherlock to my Android Project.
Everything works fine and I don't get any errors.
But when I try to debug or export my project I don't get an .apk-file out of my project. Just a .jar-file with the name of my project.
I've read about some problems the SDK had with building projects that contain external libraries but this was at SDK version 14 and so I hope, this bug is fixed...
So there might be another cause for this problem.
Does anybody know a possible solution?
You cannot get *.jar file as the result of building Android project. This seems very strange to me. There must be something wrong with your project settings (if you changed them), or the project you build is of the wrong type (i.e. it is Java Application instead of Android Application).
You didn't mention which IDE do you use, but I assume you use Eclipse.
Make sure you have installed Android SDK and Eclipse ADT correctly (just in case).
Next thing to try is to create a new Android Application project from existing sources (there should be such option during the process of creation).
I wanna know how can I add Java Template Project in Xcode 4.
I'm working with Eclipse and it's really fine but i want to write Java program in Xcode.
Thanks for helping. ;)
Java is not a first class citizen of Xcode anymore, so you should in my opinion stay with Eclipse.
I realise this question is 6 years old, but I have a similar problem and found what seems an easy solution. I have an old Java project (2008-9) which I maintain but has been dormant. As I prefer to keep it into Xcode I transferred the whole project (sources, project files and all paraphernalia) to a new development machine running el Capitan with Xcode 7.3.1. I opened the project (which was still in 3.1 version) with it, and tried to build it. It failed as Ant was missing. So I downloaded Ant (version 1.10.1) and copied its bin and lib directories under /usr/local/ant, then I changed the project external build tool configuration (under project, go to Info, and you'll see that parameter) which was set to /usr/bin/ant and set it to /usr/local/ant/bin/ant or wherever you put it. Build again and this time it worked.
trying to do some Android development, which means Eclipse, however, most of my experience is Microsoft tools (e.g. Visual Studio). My java experience is mostly either Blackberry dev in the JDE and some miscellaneous stuff back in the Java 1.0 days.
My question is this. In VS200x, there is a .sln (solution), .csproj(project), etc...
What are the equivalent file extensions for Eclipse? Do they even exist? I am having trouble with the basics, like how does one load a project into a workspace.
Is there a tutorial for Microsoft refugees somewhere?
Have a look here for "An introduction to Eclipse for Visual Studio users"...
Basically, for Java program (I never done any Android development) the basic Eclipse configuration files for a project are a .classpath (defining the dependencies of your project), and a .project file, that contains all specificities to your project configuration. In addition to that, a .settings directory is created, which contains some configuration files for plugins activated on your project.
Edit:
Eclipse is the most used IDE for the Java development. However, the best IDE is JetBrains IntelliJ IDEA. I see that there is a plugin for it to develop Android applications (here). If you can affort this wonderful application ($249), you will not regret it! You may eventually try the free 30 days trial...
You need to use file import and then choose Existing projects into workspace.
A .project file and a .classpath file will be created.
I find the Eclipse way of working to be incredibly frustrating having come from Delphi/JBuilder where a single project file held all your settings.
Make sure that you back up your workspace as well - there is nothing worse than recreating it when you are under pressure!
My 2 cents :
Make sure to version control your .project and .classpath. You may aslo want to use path variables to reference directory where the external dependencies (third parties libs) are located.
Are you doing it for fun or for commercial purposes? Because if money is involved, if I were you, I would really consider investing in IntelliJ, which is arguably the best IDE Java IDE out there, but unfortunately it is not exactly free. The Android SDK has some support for IntelliJ out of the box so it's not like you had to write all the makefiles yourself manually. If you liked Visual Studio, you would like IntelliJ, so why don't you download the trial version and have a look at it.
Just my 2 cents.