Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These

...

are

...

the

...

steps

...

I

...

used

...

to

...

set

...

up

...

Archiva

...

to

...

run

...

under

...

WTP

...

using

...

Q

...

for

...

Eclipse

...

0.6.0

...

(currently

...

in

...

development

...

only).

...

Install

...

Q

...

for

...

Eclipse

...

Following

...

the

...

instructions

...

works

...

fine

...

here,

...

just

...

ensure

...

to

...

use

...

the

...

development

...

update

...

site

...

to

...

get

...

the

...

nightly

...

build

...

with

...

WTP

...

support

...

until

...

0.6.0

...

is

...

released.

...

Import

...

Archiva

...

projects

...

Standard

...

practice

...

here:

...

  • select

...

  • File

...

  • >

...

  • Import...

...

  • choose

...

  • Maven

...

  • 2

...

  • project

...

  • enter

...

  • the

...

  • top

...

  • level

...

  • directory

...

  • of

...

  • the

...

  • archiva

...

  • trunk checkout
Info

If you get some weird classpath errors (packages appear as

checkout {warn}If you get some weird classpath errors (packages appear as

src.main.java.org.*),

this

is

because

of

old

.project

files

being

present

in

the

checkout.

Delete

them

and

the

.classpath

files

and

import

again.

{warn} h2. Set up a Tomcat server {info}For more information on setting up Tomcat in general, see the [Archiva documentation|http://maven.apache.org/archiva/docs/1.0.1/adminguide/webapp.html]{info} This is what I needed to get a working Tomcat server: * go to preferences, then choose Server > Installed Runtimes * install a Tomcat 5.5 runtime (or of your choice, but these instructions follow that for Tomcat 5.5), specifying the installation directory * go to the Servers view (it may need to be opened from Window > Show view) * right click and select New > Server * Select the Tomcat server and press Finish * right click the server and select Properties * click the Switch Location button so that it says /Servers/Tomcat v5.5 Server at localhost-config and press Ok * double click the server to bring up the properties pane * change the Deploy path to a convenient location (such as

Set up a Tomcat server

Info

For more information on setting up Tomcat in general, see the Archiva documentation

This is what I needed to get a working Tomcat server:

  • go to preferences, then choose Server > Installed Runtimes
  • install a Tomcat 5.5 runtime (or of your choice, but these instructions follow that for Tomcat 5.5), specifying the installation directory
  • go to the Servers view (it may need to be opened from Window > Show view)
  • right click and select New > Server
  • Select the Tomcat server and press Finish
  • right click the server and select Properties
  • click the Switch Location button so that it says /Servers/Tomcat v5.5 Server at localhost-config and press Ok
  • double click the server to bring up the properties pane
  • change the Deploy path to a convenient location (such as /path/to/workspace/Servers/Tomcat

...

  • v5.5

...

  • Server

...

  • at

...

  • localhost-config/webapps).

...

  • Save

...

  • the

...

  • file.

...

  • click

...

  • "Open

...

  • launch

...

  • configuration"

...

  • under

...

  • the

...

  • Classpath

...

  • tab,

...

  • select

...

  • User

...

  • Entries,

...

  • and

...

  • click

...

  • Add

...

  • External

...

  • JARs...

...

  • add

...

  • the

...

  • mail-1.4.jar

...

  • and

...

  • derby-10.1.3.1.jar

...

  • from

...

  • your

...

  • file

...

  • system

...

  • (perhaps

...

  • a

...

  • local

...

  • repository)

...