Hi Petr,

the newest Version of magnolia are migrated to git. Try install git additionaly 
to svn. http://git.magnolia-cms.com/gitweb/

You need to learn some maven tasks. It's a hard way for users to get into maven 
and the other things if you don't have worked with it before. I had the same 
problems ;)

1. First you need the right Pom.xml Structure for your maven dependencys. You 
need one parent Pom in the Root Folder and then you need one website module and 
webapp with one pom.xml and additional you need a theme project for your 
website.
Than you add them to Eclipse and try to edit the Pom Structure.
If you are finishe go into terminal/console and try two commands in the project 
folder:

mvn clean
mvn war:inplace

Then go into the webapp lib folder and delete your own module and theme jar.
After that, get into eclipse and add the build path in your webapp project.

2. if you use mvn clean install in your project folder maven will create your 
jars and the webapp war file. If they are right configured. Try to have a look 
in the STK Module Pom, this is a good example for that.

Cheers
Marvin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Petr Kadlec (via Magnolia Forums)
Gesendet: Mittwoch, 25. Juli 2012 20:52
An: Magnolia User List
Betreff: [magnolia-user] Re: Language links to actual page (i18n)

Hi,

thanks for all the answers, you're helping me a lot! I'm actually trying to 
suggest this system for my university's web and I'm doing it as part of my 
diploma's thesis. But firstly I have to persuade them that this is a good 
system to migrate to :) So I will definetely need to sink into development env.

So far I managed to setup dev env. (eclipse + tomcat + maven) according to the 
guides. (Only weird thing was that I couldnt find magnolia 4.5.3 in svn rep, 
only 4.5.2 and then 5). Anyway I started the application 
(magnolia-empty-webapp) and now I'm trying to learn to work with this env, but 
hit some major obstacles. Hopefully somebody can help me and point me in a good 
direction.

1. How can I add modules (stk,...) to this webapp? And how can I add them to 
this maven project, so I can edit sources and after recompiling I will see 
changes in my webapp? I would like to have the same magnolia installation that 
comes as a download bundle, but I will be able to edit and debug sources. I 
managed to add magnolia-core (as a project = editable), but thats because it's 
already there, but i wasnt succesful with stk module. 

2. How can I then create jar files of modules (with my changes)?

P.S. I'm still mainly trying to achieve to have Langauge switching links - I 
want to use the patch from Greg that makes them available in meta navigation 
area.
P.P.S I have good knowledge of java,  subversion and a little of java ee and 
eclipse, but no knowledge of maven.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=c63ffdf2-b53b-4a0d-a393-7bdcc7549c5d


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to