the codenameon demos under netbean 3.2 do not work - codenameone

IDE: NetBeans 8.2
Windows 7
I installed codenameone under NB 8.2 and can't get a demo to load. They all say 'The project source/binary format is older than minimal supported one (1.6).'
Also can't get the codenameone plugin to update.
any suggestions? thanks.

There was a problem with older plugins which should work for 3.5.6 or newer.
As a workaround make sure the project is set to use Java 8 and open the build.xml file. Replace all references to 1.5 to 1.8.

This resolved my "Resolve Project Problems", but I still get this error when running the ToDoApp (and others) :
/Users/nnnnn/netbeans-tutorial/All-codenameone-demos/ToDoApp/build.xml:51: taskdef class com.codename1.build.client.CodeNameOneBuildTask cannot be found
using the classloader AntClassLoader[]
none of these hints helped me: https://www.adam-bien.com/roller/abien/entry/how_to_fix_the_libs
MacOs 10.14.6, Netbeans 12.2,
Now I came a little longer as I in preferences, Java added, Add JAR/ZIP:
.codenameone/CodeNameOneBuildClient.jar

Related

Problems installing Codename One plugin in NetBeans

I have a ploblem during the installation of Codename One plugin in Netbeans.
After the installation it says to restart the IDE.
After IDE restarts it's like if I've never installed the plugin: it asks me to install from the beginning.
NetBeans 12 on Windows 10 Pro.
NetBeans 12 changed a lot about the way plugins should be built and our plugin is a bit out of date by now.
However, we won't be updating it since it's no longer necessary as we migrated to maven. You can learn about that here: https://www.codenameone.com/blog/moving-to-maven.html

Codename One - Eclipse Plugin

I get the following install error for the codename one eclips plugin.
Any suggestions on how to resolve this.
Cheers
Make sure you are using a version of Eclipse for Java developers. It seems the Java editor functionality isn't available in your copy of eclipse.
I recommend using a recent version of JDK 1.8 and a Eclipse Neon 2 or newer (e.g. Oxygen etc.).

Installation of force.com IDE

While installing force.com IDE software into eclipse I'm getting following error. Can anyone please help me to resolve this error?
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.salesforce.ide,29.0.0.201310181333.
MD5 hash is not as expected. Expected: 2077dcd58a86278b97c02fda56a61fb7 and found c0f025ffecb6211e4b9242fbac71cc2f.
Artifact not found: http://media.developerforce.com/force-ide/eclipse42/plugins/com.salesforce.ide.deployment_29.0.0.201310181333.jar.
http://media.developerforce.com/force-ide/eclipse42/plugins/com.salesforce.ide.deployment_29.0.0.201310181333.jar
Force.com IDE plugin officialy supports Eclipse version 3.6/3.5/3.4 and works under java 1.6
More higher eclipse version or java 1.7 may be the cause of your problem.
There are many workarounds in the Internet, please try to find them with google.
Or you can try to use MavensMate
The current version of the Force.com IDE can be installed to the latest version of Eclipse - 4.3 Kepler - without any problems. Find detailed information here.
It worked for me with Kepler using following update site:
http://media.developerforce.com/force-ide/eclipse42

Eclipse Juno 4.2 Google Plugin not installing: Cannot complete install because one or more required items could not be found

This is the error message I get:
Cannot complete the install because one or more required items could not be found.
Software being installed: Google App Engine Tools for Android 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.1.0.v201208080121-rel-r42)
I've tried numerous things including manually downloading the file from here and also I snooped around StackOverflow and I tried just moving all the plugins from the manual download into the plugins folder of my Eclipse. That didn't help me though because my perspective did not update with the plugins and I couldn't find the "Create New Web Application" option. I've also read some things about the XML file being wrong but I can't find it and those were for other Eclipse versions so I don't know if it applies to me.
I also tried excluding Google App Engine Tools for Android 3.1.0 but then it just says the next one in the list can't be found.
I'll be more than happy to provide anymore information. I am running Eclipse Juno 4.2 and Java 1.7 (I also have 1.6 installed though). I am using a Windows 7 PC. Thank you guys so much! I just want to code :[
I did not work for me with this URL: http://dl.google.com/eclipse/plugin/4.2
It worked with this one: http://dl.google.com/eclipse/plugin/3.8
I just changed 4.2 to 3.8.
I faced a similar problem I was downloading with 120 kb/s every time the download breaks down
when I moved to another place and downloaded the plugin with highest speed 400 kb/s It successfully downloaded and no problems found
You might think that issue is out of logic but that what I reached so far
Hope that Helps
I know this is a very old question but recently I found a solution to my problem so I am going to personally update the answer. For some reason, Eclipse Classic 4.2.2 Juno does not come with some of the required packages. After talking to some people, they recommended simply downloading Eclipse IDE for Java EE Developers which simply comes with most of the packages necessary. From there, it just worked!
My friend also mentioned you could try to manually download the packages on Eclipse Classic but that is far more of a hassle.
Hope this helps!

Google App Engine on NetBeans 7

Is there any pluggin or alternative way to use Google App Engine on Netbeans 7?
deploy
code completion
...
I managed to get it to work with netbeans 7.0 by using the kenai plugin for Netbeans 6.9: http://kenai.com/downloads/nbappengine/NetBeans69/updates.xml.
Here you have the installation instructions. Of course: replace the links proposed with the link I provided (which is not listed on the page itself... Actually I found it by removing /Latest_NetBeans68/updates.xml from the other path).
I think it stopped working with 7.0.1 though.
A new plugin version for NetBeans 7.2 is available.
The settings file is located at
https://kenai.com/downloads/nbappengine/NetBeans7.2/updates.xml
Installation instructions (for older versions) are here.

Resources