Just wondering if you have read this:
http://documentation.magnolia-cms.com/reference/custom-module.html
Regards
- Boris
On Jun 5, 2009, at 2:10 PM, Jechoux, Corentin wrote:
Dear will,
You understood my email quite good. I did not though of using the
export fonctionnality : this is a quite good idea.
You answered almost to my email.
I was wondering how maven could generated the jcr:uuid valeur
contained in the configuration files ?
Thank you for your answer. I 'll try theses now. Don't worry, I know
the steps to follow to apply your advises.
--Corentin
________________________________________
De : [email protected] [[email protected]
] de la part de Will Scheidegger [[email protected]]
Date d'envoi : vendredi 5 juin 2009 12:46
À : Magnolia User-List
Objet : Re: [magnolia-user] Creating a module and managing jcr:uuid
Dear Corentin
I'm not sure if I understood you correctly: You want to add more
default configuration stuff to your module? The way to do this would
be to first create the default configuration nodes in a running
Magnolia, then export these nodes as XML, then add the XML to your
maven project so that when it is added to an other Magnolia
installation, the configuration for it gets bootstrapped.
Unfortunately I don't have the time and know-how to give you a
detailed step-by-step guide on how to do this, but maybe this info
will get you on the right track.
-will
On 05.06.2009, at 12:34, Jechoux, Corentin wrote:
Dear users,
I am fresh new and I am discovering Magnolia CMS.
However I stay stuck with creating a module.
I found a simple tutorial advising me to user the folllowing maven
command on the Magnolia Wiki site :
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=com.foo.bar \
-DartifactId=my-module
and then :
mvn install:install-file -DgroupId=javax.jcr -DartifactId=jcr -
Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/jcr.jar
I succed then to import a well-formed mini-module for maven.
I would like to create many more config (xml) files to add features
to my module, but I failed.
So my questions are the following :
* Is there a simple way to add config file ?
* how can you generate jcr:uuid values for config files ?
* is there a maven command that add you theses config files ?
Thanks !
Corentin Jechoux
This message contains information that may be privileged or
confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not
the intended recipient, you are not authorized to read, print,
retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.
----------------------------------------------------------------
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]>
----------------------------------------------------------------
This message contains information that may be privileged or
confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not
the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this
message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies
of this message.
----------------------------------------------------------------
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]>
----------------------------------------------------------------