I am trying to create an OSGI project on IntelliJ Idea but so far couldn't make it. I can change the facet after creating a Java project but it isn't the one I want.
In eclipse, while I am creating the project ( Plugin Project ) I can select it to be an OSGI project thus IDE helps me to create required project structure.
But in IntelliJ Idea it is not - at least I couldn't find it -
Have a look to Osmorc. Its for OSGi development in Intellij. If you are familiar with Maven you can use a combination of Bnd Framework and maven-bundle-plugin. With the last one you are independend of the IDE you are using
Related
When using the following tools to create a sample Karate DSL Test; a "no features found at [classpath: packagename]" is thrown:
IntelliJ 2017.2.3
Gradle 2.9
project structure is shown in screenshot. Note that I have used the exact same project structure in Eclipse Mars 4.5.2 with Gradle and I was not able to replicate this issue. I also used Maven with Intellij and this issue did not occur.
The issue is isolated to Intellij using Gradle! any thoughts?
My best guess is IntelliJ Gradle does not honor the sourceSets tweak needed for the recommended Karate folder structure.
I just had an idea, try switching to the "traditional" Java project structure where *.feature files are in src/test/resources (not src/test/java) and that might just work.
Example project structure, from IDEA 2017.2.6 with Gradle.
i have created an IntelliJ Idea (Community Edition) java project. the project is quite simple. it only contains a main() method, but uses another 2 jars as dependencies. I also created an artifact to the project to build it to a jar.
My question is there any way to build the jar using script? because I want to add the build process to an existing build script.
thanks
IDEA doesn't do anything with the code on its own, it just counts on the default tools provided by SDK. In short, you will need javac and jar for packaging.
I have setup a gradle java multi-project in Eclipse Kepler. I have the build working great. The problem is, when I try to re-factor rename a class in one of the projects, the re-factor only occurs in that one project, and does not properly cascade to the other projects. My other projects become filled with compile errors due to the previously named class references.
Is there a way to make this re-factoring work across gradle projects?
Figured it out. The solution was to enable dependency management on each of the related projects.
To do this, right-click on the project in the package explorer:
gradle -> enable dependency management
You will need to do this to all the projects which depend on the project containing the class you want to re-factor.
I am a beginner on Play and Lift frameworks and I have a question:
Is there any Eclipse plugin for either Play framework and/or Lift framework enabling us to create a new Play/Lift project directly from Eclipse IDE (kind from Eclipse we can do File>New>Play Project (and/or Lift Project))?!
There is a "lifty" plugin (but it may be outdated) which can create parts of the project from SBT:
http://lifty.github.io/Installing+The+Plugin.html
Anyway, the best way to create liftweb projects is, as I personally think, to start from https://github.com/lift/lift_25_sbt/
This is a small sample project created by some of Lift's commiters. It contains 2 simple pages and a basic setup. After that you can do:
./sbt eclipse with-sources=true to create an eclipse project
Using InteliJ IDEA, I am trying to set up multiple projects to run as part of the same IDE.
When import it (File->New Project->From Maven) only the latest imported project shows up.
How can i get multiple projects to appear?
As you can find in the FAQ, IntelliJ IDEA project maps to Eclipse workspace and module maps to Eclipse project.
Create one IDEA project and then add multiple modules to it. Modules can have different JDK and language level settings.