Hi Chris,

i took exactly the following steps:

1. checked out tag 3.0.1
2. run "mvn package" on the top directory
-- At this stage, maven downloaded a LOT of files, BUT I had to
download the jcr.jar manually,and run a mvn -D... command (maven told
me exactly, which command i was supposed to run, so I copied and
pasted it ...)

3. Then, I ran "mvn eclipse:eclipse" on the top directory
4. Within Eclipse, I registered "M2_REPO" to point to the local maven
repository(~/.m2/repository)
5. Import every Magnolia
Module-Folder..("magnolia","magnolia-core","magnolia...") as Project
6. registerd "maven as an external tool" within eclipse
(http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html)
- so I can compile within eclipse

It took me a lot of time, the last resort was to ask the mailing list... ;)

Hope I helped you..

Regards,
Florian

On 3/20/07, Allan, CJ (Chris) <[email protected]> wrote:
Hi Florian,

So did you get it working with eclipse by just following the
instructions below? Did you not have to explicitly get maven to add the
jcr jar separately? And then build the eclipse project settings (e.g.
mvn -U eclipse:clean eclipse:eclipse -Dwtpversion=1.5). I have tried
these steps, and still can't get magnolia to properly run from eclipse.
Initially I get errors relating to the absence of the xalan jar, so I've
added this to the build path. But then I get errors about 'premature end
of file'.

Any clues what's going wrong?

Chris

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: 20 March 2007 10:58
To: [email protected]
Subject: Re: [magnolia-user] Where is 'magnolia-project' for building
magnolia?

Hi David,

thank you very much!
It worked as you told.


Florian

On 3/19/07, David Smith <[email protected]> wrote:
> That's old.  Current build process is easy:
>
> 1. Checkout the sources from svn
> 2. Open a command prompt and cd to the top of your svn checkout (the
> directory with all the modules) 3. Assuming you have Maven 2.0.5
> installed and working correctly ('mvn -v' to test), run 'mvn package'.
>
> --David
>
> Florian Fuchs wrote:
>
> > Hello List,
> >
> > I want to build Magnolia 3.0.1 for use with eclipse. I tried it as
> > described in the Wiki
> > (http://www.magnolia.info/wiki/Wiki.jsp?page=IntroductionToBuildingM
> > agnolia)
> >
> >
> > But I didn't find the "magnolia-project" directory, which is used in

> > the Building-Tutorial.
> >
> > How can I build Magnolia and develop it with eclipse, anyway?
> >
> > Thanks in advance!
> >
> >
> > Regards,
> > Florian Fuchs
> >
> > ----------------------------------------------------------------
> > for list details see
> > http://www.magnolia.info/en/developer.html
> > ----------------------------------------------------------------
>
>
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/developer.html
> ----------------------------------------------------------------
>

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to