![]() ![]() Sudo mv apache-maven- 2.2.1 /opt/apache/maven- 2.2.1 Īnd refer to /opt/apache/maven instead of /usr/share/maven2 in the paths below. If you prefer the downloaded archive then do this instead: (You may try and restrict the installation of optional packages.) So most people recommend using the dowload instead.įor this howto I will utilise the repository version, but the only difference afterwards is the path. The repository version depends on a load of unneccesary packages such as gjc, Ant etc. Your choice: either install via Ubuntu package repository or download the full Maven directly. Sudo vi /etc/profile.d/java.sh export JAVA_HOME=/usr/lib/jvm/java-6-sunĮxport JDK_HOME=/usr/lib/jvm/java-6-sun sudo chmod +x /etc/profile.d/java.sh Sudo update-alternatives -config java sudo update-alternatives -config javac In case of other Java JDK are installed, choose Sun's flavour Sudo aptitude install sun-java6-jdk 2.b Configure Java If you do not have one set up, you can read up on java, maven & jetty and clone an example app of mine. This guide was based upon Ubuntu 10.04 lucid lynx.Ī normal java based webapp project buildt with maven that are using the jetty plugin is assumed to be checked out on your machine. I will assume you have a normal version of Ubuntu Desktop installed. This saves a lot of time, thus money, and improves quality with quicker feedback loops.Īnd I need these tools to work together seamlessly. JRebel (Née JavaRebel) reloads java classes dynamically and allows even swifter development cycles, by negating the need to ever redeploy. It also then allows for very swift development cycles. The Maven plugin for it makes it easy to bundle and launch locally. A standalone java web application server. But with some clients and at home with my FOSS license I am much more productive with IntelliJ. At work my IDE is often either Eclipse on some projects as it often is the company standard, or NetBeans when work refuse to buy IntelliJ licenses. An IDE with many ingenious little tricks to make development speedier and feels very comfortable to use. A build system with flaws but still better than most, and especially important as it is used by most projects. ![]() Feel handicapped when forced to use dumbdowned Windows at work. The combination of Ubuntu, IntelliJ, Maven, Jetty and JRebel enables really quick web app development in Java. And speeding up development with JRebel.With Maven and Jetty through its plugin as the server.Main aim is to use IntelliJ IDEA in Ubuntu for Java based web applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |