okay I gave it another try, too: here are the steps that I performed:
svn checkout http://svn.magnolia.info/svn/magnolia/trunk magnolia-trunk
cd magnolia-trunk
svn checkout http://svn.magnolia.info/svn/modules/community/magnolia-
module-dms/trunk magnolia-module-dms
mvn eclipse:eclipse -Dall=true -Dwtpversion=1.5
This generates valid .project and .settings/* files for a Dynamic Web
Project WITHIN the magnolia subfolder. You then should be able to
"Import existing project..." in eclipse; in "Java EE" perspective the
"magnolia" project should have a virtual "Deployment Descriptor:
magnolia" node. If not, see hint below...
After that create Server configuration (I use Tomcat 5.5.23), add
magnolia project to published side; further add "-Xmx512m" as
argument (double click on server, open launch config... > jvm
arguments); then start server, not that this procedure will not take
that much time as in previous versions (what confused me the first
time I tried;).
Then you should be able to access http://localhost:8080/magnolia and
run the installer... this now takes some time and afterwards you'll
possibly get some "java.lang.IllegalStateException: MgnlContext is
not set for this thread" but just ignore it for now and restart
server. Finally you should be able to access http://localhost:8080/
magnolia/.magnolia/pages/adminCentral.html
So, in cases the creation of the eclipse wtp enabled project does not
work for you as described, check the following things:
* ensure that you execute the mvn commands in the magnolia-trunk
folder!
* close the eclipse projects before executing the eclipse:eclipse
goal or even delete all Magnolia projects from within eclipse
"without deleting contents"
* run eclipse:clean goal to ensure that those files are really not
there any more before running eclipse:eclipse
NOTE that those tasks destroy your manually created classpath entries!
* check if your maven-eclipse-plugin version is > 2.4
I think the eclipse maven plugin will get confused if there are
existing .project files in your magnolia checkout...
hth,
regards
vivian
Am 27.08.2007 um 15:18 schrieb Ian Johannesen:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vivian,
Well after running the eclipse goal as you described I only have a
.project file as before. So not WTP changes to my project in
Eclipse and
the project isn't a dynamic web project and hence can't be
published to
any kind of server ("the WST/WTP way").
/Ian
Vivian Steller wrote:
Hello Ian,
sure, with Eclipse 3.3.0 and WTP 2.0.0.. no maintenance releases
installed so far...
I started with a clean Magnolia Checkout as described in
http://www.magnolia.info/wiki/Wiki.jsp?
page=IntroductionToBuildingMagnolia
To get the magnolia webapp running on the server I had to edit
some of
the eclipse * facet descriptor files manually since the interface for
managing J2EE dependencies seems to be broken a bit...
what do you mean by "mangle with your .project & friends" exactly?
are
you able to import the projects into eclipse? is the magnolia webapp
properly shown as wtp webproject? are you able to publish (or select
magnolia to be published) on a server?
Am 27.08.2007 um 12:30 schrieb Ian Johannesen:
Vivian,
I've tried to use the eclipse goal you've mentioned. However it
doesn't
mangle with my .project and friends in the project directory.
Is this with Eclipse 3.3 and WST?
/Ian
Vivian Steller wrote:
Got it working but it was a real pain to achieve ;)
Please provide some more details on the error messages you got.
Maybe I
can give some hints to go on...
By the way, I used
mvn eclipse:eclipse -Dall=true -Dwtpversion=1.5
for generating the eclipse descriptor files.
There are still many warnings due to the maven eclipse plugin
does not
generate those files correctly, I think. Most of those warnings
can be
removed by disabling the "Classpath dependency validator" (in
fact they
have no impact on the result, thus I wanted to get rid of them).
Am 27.08.2007 um 11:11 schrieb Will Scheidegger:
Welcome to the club!
As far as I know "many have tried, none have succeeded".
I was successful with an early 3.1 snapshot version but at the
moment
I'm getting a ton of errors and have not found the time to dig
deeper...
Good luck,
Will
On 27.08.2007, at 10:52, Ian Johannesen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Has anyone successfully managed to build Magnolia and use
WST (WTP
2.0)
with the version currently in SVN?
I'm struggling with this on my new laptop as I couldn't get
WTP 1.5
neither working on Eclipse 3.2.x.
Any hints would be appreciated.
- --
Digitally Yours,
Ian Johannesen
web: http://perlpimp.dk/
msn: [EMAIL PROTECTED]
cel: (+34) 663 739 237
cel: (+45) 21 19 35 34
tel: (+34) 952 206 905
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
- ----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
- ----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
- --
Digitally Yours,
Ian Johannesen
web: http://perlpimp.dk/
msn: [EMAIL PROTECTED]
cel: (+34) 663 739 237
cel: (+45) 21 19 35 34
tel: (+34) 952 206 905
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG0s8c0/HOnDavf4YRAgvbAKC5HWX9oN/cj7oLvSm4ffRaJ9SOMACdFpcJ
QyOMbjC3DLeGMZg8T3Y1p/4=
=lYKw
-----END PGP SIGNATURE-----
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------