Log4j 2 version upgrade - question for Windows event logging ( win32eventlogappender.dll generation) - log4j2

I'm working on log4j version upgrade. I see log 4j 2 is not supporting NETEventLogger. So I added log4jna dependency for Windows event logging and it needs win32eventlogappender.dll to be on the classpath. Can someone please tell me how to generate win32eventlogappender.dll ?
Thanks in Advance

Actually I found it in the package when I downloaded Log4JNA jar.

Related

IntelliJ 12.0.1 - Grails 2.3.X Distribution in specified path is broken

I am struggling to configure grails 2.3.X in IntelliJ idea 12.0.1. Grails 2.2.X is configured successfully.
Grails 2.3.2 is working properly from terminal. I can compile, test, run my application. But while trying to configure it in IntelliJ so that dependencies get resolved, I get the IntelliJ shouting straight to me(as pictured below).
Looks like Grails Distribution in specified path is broken. Cannot
determinate version.
What I see is changes in grails-2.3.x/dist/ to earlier version's grails-2.2.x/dist/.
Is this because there's no support for newer version(2.3.x) of grails in IntelliJ 12 or what ?
I want nothing else but my application (jar) dependencies to be resolved in the IDE.
Make sure you are running the latest version of IntelliJ IDEA - v12.1.6. There was a "Grails 2.3.0 not working" bug fixed in 12.1.6.
You may also want to take a look at the Grails SDK is not configured question. One of the IntelliJ IDEA developers has a detailed answer in that question that may help.
Also, this thread on the IntelliJ IDEA forum may be useful.
For Information to reload the dependencies in IntelliJ 12.1.6 , following path works fine.
Tools
-> Grails
-> Synchronize Grails settings

Setting up Grails and IntelliJ

I thought I'd give Grails and IntelliJ a look. However, I'm struggling at the first hurdle.
When I go to select the "Groovy SDK" I'm choosing my installation directory - in this case, Grails 2.2.0 - but the OK button on the IDE stays grayed-out. If I choose another of my installation directories - Grails 1.3.7 - the OK button is activated but I get an error message saying my groovy installation is broken.
Does anyone know what I'm missing?
I'm using IntelliJ 12 Community Edition and trying to use Grails 2.2.0.
Thanks.
Please checkout this IntelliJ IDEA Features page, and you will see that some web technologies, like Grails, are only supported in the Ultimate Edition. I would recommend upgrading to the Ultimate Edition, since it has excellent Grails support.
As an alternative, use can use a free IDE which has Grails support: STS, GGTS.
Community Edition doesn't support Grails development. Note that it is asking for a Groovy SDK (which is supported), not a Grails SDK.

IntelliJ 11 - Grails SDK is not configured

I have recently upgraded my IntelliJ 10 to the latest 11.0.1 version. I am writing grails app and until I was using the older version of IntelliJ everything was fine, however 11 doesn't allow me to successfully add Grails SDK (2.0.0) - I was trying to add the framework support, this however doesn't seem to be persisted (after adding Groovy and then choosing Grails - nothing happens). I have tried to follow those steps as well: IntelliJ IDEA 9.0 - unable to select project SDK for Grails application
I would be grateful if someone would be able to point me how to configure Grails SDK - or what could be wrong in my configuration.
Thanks,
This is exactly the way that I have my global library defined and still I was having exactly the same issue.
I followed OverZealous advice and created a new Grails project named exactly the same as the original one and boom everything is fine now! Thanks for help.
You don't need both Groovy and Grails for Grails project, just use Grails SDK. When creating a new Grails project there is an option to add new SDK, select the home path of your Grails installation and it will be configured automatically as a Global Library and this library will be added as a dependency to your module.
Grails library configuration contains all the jars from GRAILS_HOME\dist and GRAILS_HOME\lib, plus all the jars from the src directory.
In other words, it's not configured as a framework, it's just a library with all the jars from Grails distribution added to the module dependencies.
Each time I restart IntelliJ, version 13.1.2, it loses the SDK configuration. If I right-click on the project and "Add Framework Support" I can choose the SDK that is already configured and it will begin functioning properly. When it loses this setting, it won't allow me to compile or launch the app with grails. I reject the ideas to recreate the project, (been there/done that) as I have many dependent modules I have to verify and I lose all my run configurations that I've setup manually.
I'm posting the "Add framework support" step here so it might help someone else; hopefully a more permanent solution for you, but its temporary in my situation

How to setup eclipse with blackberry jde's already installed on Windows 7 machine?

I found many posts on the forum regarding this problem which navigates me to No Page found error.
Does any body know how can I add the Blackberry JDE's that already installed on my machine.
Any help is appreciable.
Thanks in advance.
Thanks zechariahs for the reply,
Actually, My main problem is that,
I am using Windows 7 machine which is 64 bit supported both OS as well as machine H/W.
I tried a lot to install the Blackberry in Eclipse - Hellios, Galilo of 32-bit and JDK 1.5
Also tried with same for 64 bit and JDK 1.6
but it is not at all getting installed.
By reading post, I tried with
h:\New\eclipse\eclipse -vm C:\jdk\jre\bin\javaw.exe command also,
but no success.
Any how I wanna run Blackberry program on My 64-bit Windows 7 Machine,
Can you please suggest any thing ?
The Blackberry eclipse plugin is for 32bit version of Eclipse and Java sdk.
You must install all 32bit version.

Error when updating BlackBerry JDE Plug-in for Eclipse (v5.0 Beta 3)?

I tried to update Blackberry JDE plug-in for eclipse from v4.5 to v5.0 Beta 3.
I followed the instructions in this page:
http://na.blackberry.com/eng/developers/devbetasoftware/updatesite.jsp
but unfortunately I got the following error while updating:
An error occurred while collecting
items to be installed. No repository
found containing:
net.rim.eide.feature.componentpack5.0.0/org.eclipse.update.feature/5.0.0.14
How this could be solved ? Any suggestions ?
There is an error with eclipse 1.1 that doesn't sometimes prevents installation from their online repository. But this doesn't seem to be the case with you since it it says no repository found. Maybe the beta versions have a different URL?
I would suggest downloading it to a local disk and installing it from there. The exact procedure is -
What i did was i downloaded BlackBerry JDE Plug-in for Eclipse for JDE 4.7 and 4.5 seperatly and from which you get zip files. Then go to software updates and then to available software. Click on add site button and select archive button. Browse whre have downloaded the Plugin archive and install it. After you have installed all the JDE plugins you will get options for changing the JDE version.
Edit: I just came across this thread, and the method described above might possibly not work - How can I install the BlackBerry v5.0.0 component pack into Eclipse?
Take a look at this thread:
How can I install the BlackBerry v5.0.0 component pack into Eclipse?

Resources