Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

My workspace part 1

Wednesday, September 23, 2009 Автор: Sergey Kabashnyuk 0 коммент.
  1. Eclipse installation. Different Eclipse builds for different needs can be found  "Eclipse Downloads". I preferred Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers. More about difference you can found.  
  2. Unpack you archive
    tar -zxvf eclipse-jee-galileo-linux-gtk.tar.gz
  3. Installation of subversion client for eclipse.  Start Eclipse. Go to the menu Help ->Install new software -> Add ..  Add update site http://download.eclipse.org/technology/subversive/0.7/update-site/. Install Subversive SVN Team Provider.
  4.  After Eclipse restart go the menu Window -> Preferences -> Team -> SVN When you first use the menu, you will be prompted to install connectors. Check SVN Kit 1.2.3.
  5. Now you are ready to use Subversive plugin. Checkout some versioned project. For example http://anonsvn.jboss.org/repos/exo-jcr/
  6. With help maven-eclipse-plugin create eclipse project.
  7. Import new project to eclipse workspace. File->Import->Existing Projects into Workspace.
  8. Set class path variables. Go to the Window -> Preferences -> Java -> Build Path ->  Class path variables. Add new variable M2_REPO  with the value of the path to your maven repository

Links :

  1. How to setup Eclipse debug for eXo JCR core (maven project)

TODO for part 2

  1. Java installation on Ubuntu
  2. Maven installation
Ярлыки: , , , , , ,

How to setup Eclipse debug for eXo JCR core (maven project)

Thursday, July 30, 2009 Автор: Sergey Kabashnyuk 0 коммент.
1. Import exo.jcr.core project into the Eclipse. 2. Open dialog Run -> Debug configurations
Select Project: "Name of the imported project"
Main Class: org.codehaus.classworlds.Launcher
3. Insert Arguments
Program arguments: -Dexo.test.forkMode=never -Dexo.tck.skip=true -Dexo.test.skip=false clean test
VM arguments: -Xmx300m -Dclassworlds.conf="${M2_HOME}/bin/m2.conf" -Dmaven.home="${M2_HOME}"
4. Add classwords jar to the classpath.
5. Add required sources.
6. Run debug
Ярлыки: , , , ,

Installing ANTLR IDE on Eclipse Java EE

Thursday, July 16, 2009 Автор: Sergey Kabashnyuk 0 коммент.
If use Eclipse update mechanism (Eclipse Java EE IDE for Web Developers.  Build id: 20090621-0832) for installing ANTLR IDE and you can't find  any categories you should uncheck "Group items by category" checkbox, everything will be working correctly.
Ярлыки: , , ,