[MAGNOLIA-362] Documentation: dev environment setup using maven and eclipse Created: 30/Apr/05  Updated: 23/Jan/13  Resolved: 17/May/06

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 2.1 Final
Fix Version/s: 3.0 RC4

Type: Task Priority: Major
Reporter: Fabrizio Giustina Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Add documentation (xdoc) on how set up a working environment using eclipse.

Quick steps:

  • checkout the project using svn
  • run "maven eclipse" and "maven copylibs"
  • open eclipse and import the project
  • do a complete build
  • right click on the project and select "Run on server" -> you will be asked to setup a runtime, select "Tomcat 5.5" and configure the directory where you installed tomcat
  • that's all, now you can run magnolia from inside eclipse, debug classes and jsp, code with jsp tag assist and so on...


 Comments   
Comment by Philipp Bracher [ 18/Jul/05 ]

is on wiki we should move it to the xdocs

http://www.magnolia.info/wiki/Wiki.jsp?page=MagnoliaEclipseWTP

Comment by Thomas Ferris Nicolaisen [ 26/Sep/05 ]

The Eclipse link is dead. It is no longer recommended/possible to download the eclipse+webtools bundle.

Rather download a fresh Eclipse (3.1) and follow the steps here: http://www.eclipse.org/webtools/development/updatesite/updatesite.html

Comment by Thomas Ferris Nicolaisen [ 09/Oct/05 ]

Post refactoring to a maven multiproject, the following is done to build the project:

-Download activation.jar from http://java.sun.com/products/javabeans/glasgow/jaf.html
-Extract the jar and rename into $MAVEN_REPO/javax.activation/jars/activation-1.0.2.jar (linux) or %MAVEN_REPO%\javax.activation\jars\activation-1.0.2.jar (windows)
-Run 'maven multiproject:install'

Note that this is not an Eclipse specific procedure. Will update later on how it works out in Eclipse.

Comment by Philipp Bracher [ 17/May/06 ]

The documentation is very important. I propose to make a documentation offensive after RC1.

Rescheduled for 3.0 final therefore.

Comment by Philipp Bracher [ 17/May/06 ]

will create an up to date documentation task

Generated at Mon Feb 12 03:16:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.