Authors:
derkork
opensource software

Leiningen

Products: IntelliJ IDEA

Vendor: Jan Thomä

Email:

Website: N/A

Description:

This plugin integrates the Leiningen build system into IntelliJ IDEA.
Downloads: 224
Rating:
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Dependency
0.0.3. 93.13. . Download 63.25. 2010-07-30 03:21:03 .
0.0.2. 93.13. . Download 63.22. 2010-07-14 01:26:44 .
0.0.1. 93.13. . Download 45.25. 2010-07-09 03:06:45 .
. .
Leiningen

Recent change notes:

Version 0.0.3

  • Added the missing "test" target.

Version 0.0.2

  • You can now open Leiningen projects directly (like you can open an IPR file)
  • Importing a project will now setup source, test and output path (currently limited to the defaults)
  • Project's name and version is extracted from the Leiningen project file
  • Added a quickbutton to open settings dialog.
  • Added icon for Leiningen projects.
  • Run configurations should now run properly.

Version 0.0.1

  • Initial release
  • Leiningen needs to be installed. You can configure it's location within the plugin.
  • You can run leiningen goals in your project.

General usage instructions:

Install the plguin via the plugin manager. Then go to Settings > Leiningen and set up the location of Leiningen. Now you can run Leiningen targets in the Leiningen tool window on the right side of the IntelliJ main window by doubleclicking on the target name.

When you open a project that is having a project.clj file in it's root, it is automatically added to the list of Leiningen projects in the Leiningen tool window. If you have multiple project.clj in your project tree (e.g. a project with subprojects) you can add these manually by pressing the plus icon in the Leiningen tool window.

Comments:

derkork
Rated: noRate
2010-07-30 10:34:02
Open IntelliJ, go to settings (wrench icon), then plugins, switch to "Available" tab, type in "Leiningen" and you should see version 0.0.3. Then press the download icon in the upper left corner. This will download and install the latest version. You need to restart IntelliJ after this. For some odd reason the download link on this page only appears a few hours after the latest version was released. I guess Jetbrains is doing some kind of review.
.
Anonymous
Rated: noRate
2010-07-30 08:04:46
Where can I get version 3? I don't see a download URL?
.
Anonymous
Rated: noRate
2010-07-30 07:53:17
Thanks for the fix!!

Yeah - you're right about swank, not entirely useful in intellij. I was just listing a diff between 'lein help' and what i see in the plugin? is there source for this plugin?
.
derkork
Rated: noRate
2010-07-30 03:23:43
I just pushed 0.0.3 which adds the missing test target. Guess i should test more ;). About the swank target, i am not sure how this would be of use in IntelliJ as swank is targeted to emacs users. Also currently there is no way of entering parameters (like port etc.) so that would probably something for a 0.1.x or something. Any insights on the swank target are greatly appreciated :)
.
Anonymous
Rated: noRate
2010-07-30 00:15:55
Hi -

I've installed the plugin but I only see some of the lein targets. Notably missing are 'test' and 'swank'

Any ideas?

Thanks!!
.
derkork
Rated: noRate
2010-07-14 21:45:47
This seems to be an issue occuring every now and then on plugin updates and is not particularly caused by the plugin itself. See http://bit.ly/bp4E9F and http://bit.ly/9cPIsT. You can also try to to remove .IntelliJIdea90/system/plugins/action.script if it exists and then try again to update the plugin.
.
deaddowney
Rated: noRate
2010-07-14 21:31:32
Just downloaded the new version and now IntellIJ won't start:


java.lang.AssertionError: Source file C:\Documents and Settings\me\.IntelliJIdea90\system\plugins\Leiningen_8440.jar does not exist for action copy[C:\Documents and Settings\me\.IntelliJIdea90\system\plugins\Leiningen_8440.jar, C:\Documents and Settings\me\.IntelliJIdea90\config\plugins\Leiningen_8440.jar]
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:49)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.ide.startup.StartupActionScriptManager$CopyCommand.execute(StartupActionScriptManager.java:150)
at com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:49)
at com.intellij.ide.ClassloaderUtil.initClassloader(ClassloaderUtil.java:123)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:39)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:35)
at com.intellij.idea.Main.main(Main.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
.
derkork
Rated: noRate
2010-07-14 01:27:59
Hi deaddowney,

this should be fixed in 0.0.2 now.

Jan
.
derkork
Rated: noRate
2010-07-11 13:27:51
Hello deaddowney,

thank you for reporting this issue, I'll have a look at it.

Jan
.
deaddowney
Rated:
2010-07-10 01:30:29
This plugin screws up the Run configuration. I no longer see any of my other run configs. I see a bunch of NPE's in the log, possibly related to not finding icons.

2010-07-09 17:16:57,414 [1355519] ERROR - penapi.actionSystem.impl.Utils - update failed for AnAction with ID=RunConfiguration
java.lang.NullPointerException
at com.intellij.openapi.util.IconLoader$2.getIconWidth(IconLoader.java:202)
at javax.swing.AbstractButton.setIcon(AbstractButton.java:455)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$MyButtonSynchronizer.propertyChange(ComboBoxAction.java:190)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
at com.intellij.openapi.actionSystem.Presentation.setIcon(Presentation.java:205)
at com.intellij.execution.actions.RunConfigurationAction.a(RunConfigurationAction.java:106)
at com.intellij.execution.actions.RunConfigurationAction.a(RunConfigurationAction.java:96)
at com.intellij.execution.actions.RunConfigurationAction.update(RunConfigurationAction.java:82)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:98)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:143)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:109)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:122)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:723)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:686)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:50)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1195)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.access$400(ActionManagerImpl.java:1148)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer$1.run(ActionManagerImpl.java:1183)
at com.intellij.openapi.wm.impl.FocusManagerImpl.c(FocusManagerImpl.java:387)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:47)
at com.intellij.openapi.wm.impl.FocusManagerImpl$1.runEdt(FocusManagerImpl.java:76)
at com.intellij.openapi.util.EdtRunnable$1.run(EdtRunnable.java:25)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:500)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
.