How to setup environment to build, compile, debug BCBIO Variation - java

Link to GIT src : https://github.com/chapmanb/bcbio.variation
I would like to use an IDE like eclipse, IntelliJ or Netbeans.
The code uses clojure and java.

the Cursive plugin for IntelliJ is an extremely popular IDE for Clojure. It has most of or all the features you'd expect in a modern IDE (keep in mind that it's relatively new). Emacs with Cider is also very popular and is the defacto standard for clojure development.
The second tool you need to be aware of is Leiningen Which if the universally accepted build and project tool for Clojure. It is used by Cursive and all the other popular tools.
Happy Hacking!

Related

VS Code Cannot Detect Java Libraries

I recently downloaded VS Code for Java development. When I initially opened an existing Java Project in VS Code, it was unable to identify objects from the Selenium library. I downloaded the Java Extensions plugin and a few others, and now VS code will not recognize any of my imports as valid. Javax and Java.swing are among the now undetectable libraries. Is there a setting I missed? What do you recommend?
VSCode just an Editor, after you install some extensions, it only makes the editor more convenient, get more abilities even can help you develop the project of some kind of language through combine with the language support in your computer. Such as, you need to install JDK, then to install the 'Java' extension, then the extension to combine with the JDK and the VSCode, then you will get the ability to develop java project in VSCode.
That's means, The 'Language Support for Java(TM) by Red Hat' has nothing to do with java development. For example, after you install the JDK on your computer, you can develop java projects in the other IDEAs such as Intellij IDEA or some others. The 'Language Support for Java(TM) by Red Hat' extension just to combine the JDK with VSCode better, to make VSCode better to develop java project.
As you said, you failed to import libraries. Of course, the 'Java' extension without any libraries of java. You need to configure it by yourself. In the Explorer panel, you can find 'JAVA PROJECTS'. In it, you can find which libraries you have referenced and you can adds libraries in it. And of course, you'd better take maven to manage your project.
By the way, recommend you to install 'Java Extension Pack' extension.
You're going to need to add support through extensions because by default VS Code does not support Java. The great thing about this extension is that you get a slue of other extensions as well, such as; maven, debugging tools, support for junit, auto completion, etcetera.
On a side note, you could always use an IDE/IDEA like IntelliJ, Eclipse, or likewise. I'm definitely partial to IntelliJ but they all have their pro's and con's.

Is possible integrate TFS with VisualSVN?

In my work they are using a system in Java that works as a TFS. We also use a plugin in eclipse to handle the versions of the projects. My question is if I can use VisualSVN, instead of the plugin, for better management of versions. In short, is it possible to use properties of TFS in VisualSVN ?. If possible, what can be used ? Thanks.
SVN is a version control system. TFS is project planning, version control, build, testing, release, and so on in one package. Basically, it's a superset of SVN.
You can use all of the non-source control while keeping your source code in another version control system, but it would be hacky and awkward and require a bunch of hoop-jumping that just isn't necessary. You can migrate source code from SVN to TFS very easily, with fairly minor disruption.
TFS has two options for source control: TFVC, which is similar to SVN, and Git, which is not.
For Java developers, there's a plugin for Eclipse called Team Explorer Everywhere that gives them an IDE-integrated TFS experience.

Use IntelliJ community to get an AST

I am building a small Java code analysis tool and wonder if I could use the amazing IntelliJ compiler to get an AST for Java projects?
IntelliJ has open sourced the community edition some years ago under the Apache 2 license. Can the project also be used as a library in a Java standalone project (instead of a plugin for a full IDE) to analyze Java projects? The Git repository is quite big and I am grateful for any hints or links where to start.
(I have already read about the Eclipse JDT but creating my own Mini-ANTLR-Java-parser was much easier than getting the Eclipse JDT to work for me. But it would be amazing if I could use a more sophisticated, always up-to-date version of a Java AST for my project. So my hopes are in the IntelliJ compiler.)

Can I create C++ and Java projects within the same version of eclipse?

I learnt to program using Java in eclipse. Recently I've wanted to learn C and C++ so I installed the C/C++ version of eclipse. I still have some Java programming to do though and the option to create a new Java project has disappeared.
Is there an easy way to have both C++ and Java projects accessible on eclipse or should I find a new IDE to code Java in? If I was to reinstall the Java version of eclipse would it remove the C++ version?
Eclipse is a platform, you can most certainly use it for C/C++ and Java at the same time. The development tools for each language are actually just plugins. That said, many people prefer to use separate installations for each language, so as to keep their workspaces clean.
If you want to install the Java tools in your C/C++ IDE you can go to Help > Install New Software..., and search for "Java Development Tools."

Any way to get a BeanShell (or Scala, or JRuby) REPL in a pure Java Maven2 project?

I have a Java only project using Maven2. It'd be very useful to be able to get a REPL that has access to the full classpath of the compiled application and all libraries. In SBT, this is trivial for pure Scala and mixed Scala/Java projects: I run sbt console.
But it'd be very useful for pure Java projects too. I'm not bothered about what language: Scala, obviously, is pretty good for this, as is BeanShell, but JRuby or Jython or Rhino or Clojure would do the job pretty well too. Basically I want to be able to interactively poke and prod objects.
What's the simplest way to get a REPL set up in a Maven project without having BeanShell or Scala or whatever being added as a runtime/compile-time dependency?
For JRuby, try the following. Does not require modifying your POM.
mvn org.jruby.plugins:jruby-rake-plugin:irb
The GMaven plugin allows you to launch the groovy shell / console. This should have all the project dependencies in the classpath.

Categories