Problems with Netbeans 7.3.1 with maven project - jboss7.x

I'm new novice with Netbeans but I'm enjoying it, I have only two question about this IDE, Somebody help me?
Is it possible to show the server log (JBoss AS 7) when I run the project? The Glassfish's log open OK but not OK with JBoss I need to open manualy
I created a maven project and opened in NB, the save and compile not working for me, I tried every options in the property of the project but when I change something in the project I need to execute F11(compile) or F6(run) to compile and deploy on server, Is it correct? In my opinion NB should this for me.
I'm using 7.3.1 NB
Thanks guys!!!

Related

Adding .jar Files in Visual Studio Code

First and foremost, I really appreciate your help. I am trying to build an application by using an external library Apachi Poi. I know I need to add jar files to the project; however, I don't know how I should do that plus I have been searching on the Internet for a solution, but I could not find one even I checked this. My OS is Linux and I am running 1.33.1 version of VSCode.
[UPDATE]: I have fixed my problem. What I basically did was to install maven command to my
Linux machine and now I am using mvn command along with pom.xml to add my .jar files to
the project.

Play Framework with IntelliJ Community Edition 14

I have not managed to compile/debug etc. the current Play Framework (2.3.7) with the Community Edition 14 of IntelliJ. Neither by importing the project, nor by using gen-idea .
Is there any way to get it run or is there just no way to use it ?
Paying > 400 bucks for just this feature is simply too much.
Thanks.
Usually I compile and run through console: activator -> compile/run, but you can compile in Intellij too by running Build -> Make Project, but I never tried running Play in Intellij though.
And for debugging, I run command activator -jvm-debug 9999 run as said in documentation. Then I set up remote debug configuration in Intellij.

Intellij IDEA: Import existing Play project

Just changed my laptop and started install all required software and setup an environment. I've installed Java, Actiator,... Intellij IDEA 14 Community edition (with Scala plugin).
When I import my Play project I don't see any directory in IDEA (app, conf, test...), only roots file.
Does someone know the reason of this?
Thanks
You need to wait until IntelliJ indexes/downloads/etc... everything, it will take a while the first time but after it will appear.
(Happened to me last night).
If when it finish loading it still doesn't appear consider using sbt-idea plugin for sbt.

IntelliJ 12 Grails 2.1 Configuration - Grails SDK not configured

I feel like I'm missing something simple at this point. I upgraded to grails 2.1.1 from 1.3.7 while running IntelliJ 10, recently I upgraded to IntelliJ 12 and imported all settings. Somehow in the project in IntelliJ 12, I have no grails SDK.
My Global Library has grails 2.1.1 defined with all the correct .jars included, however, the Tools menu is missing the "Grails" sub-menu, and attempting to run the app gives the error message that Grails SDK is not configured.
If I create a new project for grails, the SDK configures correctly and Grails shows in the Tools menu. What am I missing preventing me from adding the Grails SDK to this project? Thank you, community, for your time and suggestions.
You do not have to create a new project.
Had the same problem, and it took me quite some search to resolve it:
right click your Grails module
click "Add framework support"
select "Groovy"
The dropdown next to "Use library" will allow you to choose a grails library.
If the dropdown is empty press "create" and choose your grails library directory.
Grails SDK is configured then
With Intellij 16 right click on your project in the right hand project pane.
Choose Grails->Configure Grails SDK.
If you're using the grails wrapper I would point to that SDK:
/Users/your user/.grails/wrapper/2.5.2/grails-2.5.2
I have the IntelliJ 12 too, to run app i just click in 'File' -> 'Create Project', select 'Grails Project'
Click Next,
Click em Create, select the folder, who contain the Grails 2, and Voila. :-)
If you has the project before, run in project 'grails integrate-with --intellij' or run import project, and create a Grails SDK
I found a symlink that points to the latest version in:
~/.sdkman/candidates/grails/current
I'm using SDKMAN 4.0.37
Pointing Intellij at that location will allow you to switch versions using sdkman.
Not really an "answer" here, but after seeing similar troubles with IDEA I went ahead and just created a new project and copied my source in and resolved my issues, if not solving the actual problem.
I am working with IntelliJ 12.0.1 ultimate.
I have installed Grails 2.3.1 on my computer, but always got errors when trying to specify it as a Grails SDK-
"failed to create library. Looks like Grails distribution in specified path is broken. Cannot determine version."
I tried with Grails 2.3.0, but got the same error.
Then, I tried my luck with Grails 2.2.4, and I could finally get it work.
Creating a New Project will actually not overwrite any existing code; just point it at your existing project directory, select Grails and open it up.
Your project will now complain that there is no Grails SDK; just point it at your Grails dist and you are good to go.
Recently, I've encountered a similar type of issue. I have the grails SDK folder, but OK Button not enabled when trying to configure from the project. Then we have installed the Grails Plugin in IntelliJ. Then OK Button enabled and grails SDK is configured into project.

eclipse scala plugin, scala project type missing

After installing the scala eclipse plugin on helios the scala project type is missing, there is no scala options in the preferences and no other indication that installation has worked. Then when I check 'what is already installed' in the install new software window I can see that the plugin is there....
I can replicate the same problem across several machines in the office however I'm able to install on my own machine at home without a problem....
anyone got any ideas/tips on how to troubleshoot this ??
thanks in advance
Looks like not everything was installed properly.
Before figuring out what is going on, try answering these questions:
In preferences, look for JDT Weaving. Is it enabled?
Any errors in your error log?
What version Eclipse are you running?
For your office machines is Eclipse installed in a read-only directory or C:\Program Files?