I'm trying to open a project created with Apache Maven in NetBeans, with no success. I followed the directions given by this link: http://wiki.netbeans.org/MavenBestPractices but the Open Project dialog does not recognizes the project in the folder. When I point to the folder that contains the pom.xml file, it shows as if the folder is empty, except for the sub-folders. Apparently Apache Maven is disabled, but I can't find how to enable it.
Could someone point what is the mistake that I'm doing?
please make sure the maven modules are actually installed in your distribution. (Tools/Plugins I believe). And the latest NetBeans version is 7.4, 7.0.1 is fairly old already.
I installed the NetBeans 7.4 from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html and it worked! Probably the build from Ubuntu repositories has issues. Thanks for the suggestions!
Related
I am new to Eclipse RCP and plugin development so please don't be cruel.
I am using Maven and I have a remote repository. Yesterday Eclipse was fine but today it got messed up and I imported all the projects again so I reconfigured all but I can't get out of this problem. We use e(fx)clipse 2.5 but I installed the 3.0 version of it because I didn't find the link to install it via Eclipse.
Could you please tell me how I add a dependency? There is something that I am missing there?
Thank you
Adding the location http://download.eclipse.org/releases/oxygen/ to your target platform should fix the errors.
I'm knew to eclipse and as expected I have a problem.
Problem with installing
derby_core_plugin_10.8.2.zip
derby_ui_doc_plugin_1.1.3.zip
from http://db.apache.org/derby/releases/release-10.8.2.2.html
I've read manual that says "download zips, extract them to ECLIPSE_HOME, they should be in /plugins directory and then restart eclipse", but that doesn't work.
Also I tried to restart eclipse with -clean option, again no result.
The magic "Apache Derby" option in project context menu doesn't appear.
I'm working with the latest release of eclipse luna and old eclipse workspace (mean that workspace stayed from previous release). At the moment I'm guessing that cause is .metadata folder, is it ?
After some research I found that plugins in zips derby_core_plugin_10.8.2 and derby_ui_doc_plugin_1.1.3 are no longer supported not just by Apache Derby project, but also in Eclipse IDE. As I know this plugins work well in Eclipse versions 3.X.X, but for now the latest available eclipse realease have varsion 4.X.X and there is no option to have them in this version.
I have installed Eclipse luna on my macbook(with Yosemite). Maven in eclipse works fine. Prior to that i installed maven in system (extracted downloaded package and set in the path). Both (Eclipse based and CLI based) maven works fine. Following are questions.
I suspect that, both maven tools use separate directories to store downloaded files. Which may eat up lot of space. Is it true?
Is there any way we can configure eclipse maven plugin to use maven installed by me or atleast use the same directory to save the space.
Will be thankful for any pointer.
Regards
I think the easiest way would be by using Homebrew. Do you have it installed?
Then you could do:
brew install maven
Then you can install the maven plugins on Eclipse, but I think Luna already comes with the bundle, si you just need to try.
Hope it helps!
I'm an experienced (Java, Eclipse & Maven) developer, and have used a couple of frameworks thus far. Every time I'm trying to start with something new, it seems like there are about a zillion configuration possible for downloading and installing it.
I've looked here for instructions, and all the near pages, but they seem out dated, the Eclipse plugin path is invalid, and when I install the latest version I've found no the site (2.0.2), it says that I have a newer version installed.
Also, the Maven setup in most posts I've read seems obscure.
I'm using:
Windows 7
Eclipse x64 Indigo
JDK x64 1.6.0.24
Maven 3.0.3
And I don't recall installing the JavaFX.
What an I missing? Where can I read about the setup in order to start working with this framework?
JavaFX gets installed if you install the latest JDK 7 from Oracle (co-bundled).
You can find the Eclipse plugin here:
http://efxclipse.org/
If your're interested in Maven builds: I've recently released an initial version of Drombler FX, a modular RCP for JavaFX based on OSGi and Maven (POM-first):
http://puces-blog.blogspot.ch/2012/12/drombler-fx-building-modular-javafx.html
http://wiki.drombler.org/GettingStarted
I did tried efxclipse but it was not enough for me. I have also tried to give the path of javafx jar file to efxclipse
Window->Prefrences->javafx->"The path to javafx jar which is
jfxrt.jar"
. But nothing worked for me I don't know what was going wrong.
Then I just add the jfxrt.jar file to my Library and everything worked fine :-
1. Right click your JRE System Library
2. Build Path
3. Configure Build Path
4. Add External Jars
5. "The path to jfxrt.jar"
You can download jfxrt.jar file from this link.
Or
If you have already downloaded the latest oracle JAVA JDK you will find in this path
Extracted_oracle_jdk_folder/jre/lib/ext/jfxrt.jar
That's it everything should work fine.
Try e(fx)clipse at http://efxclipse.org/. I'm a netbeans developer, but heard a lot of good stuff about that plugin from my eclipse using friends.
I am just getting started with Grails. How do I add Java libraries to my Grails project? I added the Smack library jar to the lib folder of my Grails project, but I still cannot import any of its packages into my Java or Groovy classes. I am using the Netbeans IDE. Any help would be appreciated..
Buzzy
This is a know bug in NetBeans: http://www.netbeans.org/issues/show_bug.cgi?id=144243
Maybe you can help the devolpers to fix it by adding a comment to this issue in the NetBeans bug tracker.
Here is what I did to solve the problem when running SpringSource Toolsuite:
Configure the build path by adding external jars (e.g. javax.mail, adwords-api, etc.)
Imported the same jars in to the lib folder (where mysql connector jar is located).
This should fix the compile time errors you would receive from missing imports in your java files.
Hope this helps
As stated above, this is a bug in the IDE, not Grails. Those libraries are available in your code, but the IDE won't do any code completion, etc.
Note, NetBeans 6.5 is supposed to have much better Grails integration. Or, you could use IntelliJ, which already has it.
G2One's acquisition by Spring Source makes the roadmap for Eclipse integration for Grails look much rosier, too. It's not there yet, but it's coming, and now maybe faster than we thought.
The issue still remains in NetBeans 6.5 (Build 200811100001), so the IDE will not do any code completion and formats the code that is referencing classes in the JAR as erroneous.
I have not tried NetBeans 6.7.
I'm using Netbeans 6.7.
I just pasted the library in the project's 'lib' folder and when I went back to Netbeans the library was under the 'Libraries' folder automagically!
i m also using netbean 6.7 and it's automagically working when i passed the jar under Libraries folder