Hi Ries, if you're working with Maven and Eclipse, you can use the maven archetype.
1. Create module mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=info.magnolia -DarchetypeArtifactId=maven-archetype-magnolia-module -DarchetypeVersion=1.0 -DremoteRepositories=http://maven.magnolia.info/m2 -DgroupId=de.eleon.magnolia.test -DartifactId=niki-test (adapt DgroupId und DartifactId to your needs) 2. Eclipse / WTP Project-Files cd niki-test mvn install:install-file -DgroupId=javax.jcr -DartifactId=jcr -Dversion=1.0 -Dpackaging=jar -Dfile=F:\magnolia_eleon\apache-tomcat-5.5.27\webapps\magnoliaAuthor\WEB-INF\lib\jcr-1.0.jar mvn eclipse:eclipse -Dwtpversion=1.5 (adapt Dfile to your needs) Now you can open the project with Eclipse (import existing maven project...) 3. build module jar mvn tomcat:deploy Cheers, Niki 2011/1/20 Ries van Twisk <[email protected]> > > Hello! > > Let me up-front warn you that I am a Magnolia newbie, > so if I ask stupid questions, just tell me so :) > > I need to compile my own module for Magnolia, but I don't > understand yet the process for doing this. > > I have been looking here : > http://documentation.magnolia-cms.com/technical-guide/modules.html > But that doesn't tell me what I need to get my module kick-started and > beable to get compiled > into a jar so I can insert that module as content and display what I need > to display. > > Do I need the Magnolia source, or is it just ok to have Magnolia compiled > version? > > So my question is, does anybody know a 'hello world' start to finish, > and with start I mean.. checkout SVN, do this or that. THis to > get a more clear idea what the process is for developing Magnolia modules. > > > Ries > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
