directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: Studio Maven Build
Date Mon, 05 Nov 2007 23:15:09 GMT
Hi Felix,

first of all, really great work. Many thanks :-)

I was able to build studio using
  mvn install -Pprepare-for-eclipse -Dmaven.test.skip=true
on linux. Works like a charm :-)

> I hope to have finally committed everything into my sandbox -so feel free to have a look
at and play with it. You'll
> find for sure bugs or things witch are still not in a way that you can work with it (I
have absolutely no idea how the
> studio development within eclipse works :( ).

Here are the steps using the ant/ivy build:
- Checkout sources
- Run "ant resolve"
- Start eclipse (using a fresh workspace)
- Select File->Import->General->Existing Projects into Workspace
- Choose the folder with the sources
- After some time there should be a list of projects, select all and finish

One important thing is that the .project and .classpath files within
each project are present. Right now they are managed by eclipse and they
are under source control.

In maven there is an task "mvn eclipse:eclipse" that generates these
files. I tried this command and it generates the files but with wrong
content. There are too much jars included and one jar was missing
(That's where I have to say: I have absolutely no idea how the maven
build works :-( ).

> Some notes
> - I'm working on a linux box (i386 and amd64 -> I doubt that everything works for
MAC or WIN).
> - The build prerequisits a apache directory project pom (9-SNAPSHOT) in your local maven
repo (-> just do a mvn clean
> install in the trunk of a AD project checkout on your machine).
> - To get the studio-*/lib directories run mvn install -Pprepare-for-eclipse
> - Checkout url is
> - See also
> - There are failing testcases -> use -Dmaven.test.skip=true as param in your CMD
>   (e.g. mvn clean install -Dmaven.test.skip=true)
> I hope it's way to go for the studio mavenization :-)

I hope I could test some more tomorrow.


View raw message