Can't open clojure the project in Intellij IDEA with La Clojure - clojure

I was going through this tutorial
http://wiki.jetbrains.net/intellij/Getting_started_with_La_Clojure and I got stuck here
http://wiki.jetbrains.net/intellij/Getting_started_with_La_Clojure#Opening_project_in_IntelliJ_IDEA. I don't know way but 'open project' dialog does show the file 'project.clj'. So I'm not able open the clojure project. (And also I don't know how to create new one)
Is this bug of IDEA/La clojure or I did something wrong?

To open/import clj projects, you need to have the Leiningen plugin installed.
Unfortunately, the latest official release of the lein plugin for intellij doesn't work well with Intellij13 (crashed my idea on load every time until removed manually).
I'm guessing that because of Cursive there wasn't a newer release even though the latest version of the plugin on github does work.
I followed the instructions on the lein plugin's git page to create a plugin bundle from the latest version: https://github.com/derkork/intellij-leiningen-plugin
Assuming you're using Intellij13, creating the bundle yourself and then installing it from disk will enable you to open clj project files.

Related

View the source code C++ in Eclipse - Ubuntu environtment

I had loaded the project to Eclipse but when I open the .cpp file, it like to open a text file.
Anyone know how to display the code-view in eclipse?
Please support.
Thank you so much.
I cannot find C/C++ in Window -> Preferences
Then you have no CDT installed – I suppose you got the version direct from the initial download page, but that's actually the java package – there's a link 'download packages' below, where you would have found the C++ package. Not too obvious, admitted.
Never mind, you don't need to re-install: Help -> About will reveil you your installed version's name ('Kepler', 'Luna', ...); via Help -> Install new packages you can add CDT plugin to your installation. Select under work with your release version of eclipse repository, e. g. http://download.eclipse.org/releases/photon.
Minimally, you need: C/C++ Development Tools, other plugins might be useful, too, like standalone debugger, call graph visualisation, unit testing support, auto tools support (configure, make; especially under linux), possibly LLVM support (if you want to use clang compiler), ...
My issue had been fixed.
Just do below steps in ubuntu:
Go to
https://www.eclipse.org/cdt/downloads.php and download newest CDT(C/C++ Develop Tool) version.
Copy the download file
eclipse-cpp-2018-12-R-linux-gtk-x86_64.tar.gz
to your folder in Ubuntu.
Extract
eclipse-cpp-2018-12-R-linux-gtk-x86_64.tar.gz
Run execute eclipse file -> Done.

VS2017 RC1 Installation installation error - Microsoft.PortableLibrary.TargetingPack.Msi failed - No XAML

I had errors installing VS2017 with
Package 'Microsoft.PortableLibrary.TargetingPack.Msi,version=15.0.26004.1' failed to install
The actual IDE will open but I don't have any XAML functionality - it appeared to fail the installation before this component was installed. XAML files won't load and there is no XAML listed under 'Text Editor'.
How to fix this error?
After several hours finally managed to get it to work:
Still not sure exactly what a targeting pack is - and why VS couldn't install it but I manually installed this package and managed to get it to work:
Manually installed:
Microsoft .NET Framework 4.6.2 Developer Pack and Language Packs
https://www.microsoft.com/en-us/download/details.aspx?id=53321
Other things I did that may have contributed to the solution:
I rebooted
I removed all files in C:\ProgramData\Microsoft\VisualStudio\Packages - actually I moved them to an OLD folder and later deleted them. You will see packages downloaded here after you restart the install.
I had previously created a symbolic link from %ProgramData%\Package Cache to another drive to save space (https://superuser.com/questions/455853/can-i-delete-the-folder-c-programdata-package-cache). This symbolic link didn't seem to work anymore leaving me with some files in %ProgramData%\Package Cache and the rest in the other drive. I moved them over and recreated the link. If this is something you did to save disk space and forgot then that could contribute towards a failed solution.
Something above fixed the issue and I now have XAML back again.
Note: The VS2017 RC1 does not support offline installation so that was another avenue I explored and gave up on. The command line switches currently do NOTHING.
I believe the package I needed is the following one but not absolutely sure.
C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.PortableLibrary.TargetingPack.Msi,version=15.0.25719.0

Use Jenkins CI for Qt projects

I'm trying to use Jenkins for some project I have written in Qt framework.
There is qmake plug-in for Jenkins in Jenkins wiki page, although this plug-in doesn't exist in Jenkins plug-in list.
I've looked for .hpi file for qmakebuilder plug-in, couldn't find it though. So I download the source code from the given repository, tried to compile it as described in Jenkins wiki... but I get list of error indicating java.util.NoSuchElementException.
Any of you guys have used this plug-in? or any other Jenkins plug-in to compile Qt projects with?
First of all, my JAVA_HOME variable was not pointing at the right folder i.e. JDK folder and it was set to JRE which caused the maven to not work properly.
But after fixing that, I was still getting some compilation error.
Finally, I asked Jenkins people and realized for some reason qmakebuilder is not compatible with JDK 7. Therefore, I download the JDK 6 compile the code with that version and it got compiled just fine. I got the hpi file in the target folder.
Plus, the hpi file for this plug-in NOW can be find here.

getting started with SBT for lift

I am a complete newbie to SBT and scala world. I wanna create a lift application and while exploring on how to do it i stumbled everywhere that i must use SBT. So i went to the github wiki page and followed the instructions for windows. I downloaded the jar given there and created sbt.bat and put both the files in c:\sbt and added it to my path. Then i went c:\liftprojects and typed sbt.
It did something but as given everywhere i expected a wizard of some sort which will ask me what kind of project i wanna build and stuff and generate the directory structure just like mvn:archetype:generate but it didnt do anything. It just ran some downloads and created two dirs
project
boot
blah
target
blah
target
scala 2.8.1
blah
in github wiki it says sbt follows maven bir structure but i cannot see it here.
Am i doin something the wrong way. Im stuck on this. All i need is to know how to create a lift app or a scala project.
To get started with Lift 2.4 my recommendation is to clone the examples repository
git clone https://github.com/lift/lift_24_sbt
Then you can use one of the project templates in that repo, with both 2.8 and 2.9 Scala versions. For example, a good way to start with Lift is using the basic project (with Scala 2.8.1 in this example)
cd lift_24_sbt/scala_28/lift_basic/
Start sbt by typing
./sbt
On Windows use sbt.bat. Inside the sbt console, type
update
jetty-run
Open a web browser and point it to http://localhost:8080 to open the Lift application. To stop the application server, simply type jetty-stop.
You can use this template project, or the other templates in that repo, as a starting point for your applications.
Lift wiki contains a lot of useful information. Specifically, you can follow the instructions getting started section here.

What plugins do you use along with Eclipse CDT?

Suggest some plugins you find useful in your day by day work.
Eclipse CDT repositories:
Helios: http://download.eclipse.org/releases/helios
C++ Development Tools: http://download.eclipse.org/tools/cdt/releases/helios
Plugins:
Subclipse: http://subclipse.tigris.org/update_1.6.x
Eclipse Linux Tools: http://download.eclipse.org/technology/linuxtools/update
CMakeBuilder: http://www.cmakebuilder.com/update
CMake Editor: http://cmakeed.sourceforge.net/updates
Qt Eclipse Integration: Installation instructions link
Eclipse CORBA Plugin: http://eclipsecorba.sourceforge.net/update
Please add one plugin with its eclipse update url for posting.
I am using
Qt plugin for Eclipse
CMakeEdit for colorful CMakeLists.txt ;-)
Subversion (tried subversive, didn't work for me)
tried the linuxtools plugins (very ambitious project) for valgrind etc., but they are not
really working ATM
I use a self-made plugin to do automated builds of CDT projects.
THis plugin is automatically creating a workspace from a description file that contains the project names, disables the indexer and auto-build, sets the wanted build configuration in all projects and then builds the temporary workspace.
I use viplugin to get vim keybindings in Eclipse.
EGit - it's definitely helpful although I still do a fair amount of gitty stuff on the command line (and EGit stays in sync with changes I make on the command line, of course).