[opencms-dev] How to create manifest.xml for a module outside ofOpenCms workplace?
Claus Priisholm
cpr at codedroids.com
Thu Feb 14 16:42:27 CET 2008
Interesting approach. When you export from within the shell, is the
pesky somewhat-automatic-module-version-number-increment out of the
loop, or will it get incrementet whenever you extract the manifest?
best
Claus
Nick Panienski wrote:
> Hi Bobi,
>
> we are using the OpenCms Shell and some Ant tasks to automatically extract the manifest from a running OpenCms system. AFAIK there is no easy way to build the manifest (and from what source??), as it contains not only UUIDs but all the properties of a ressource (and export points, explorer types, content types, you name it.)
>
> This is what our "Extract Module Manifest" Ant tasks does (considering you have a runnig OpenCms with your module):
> - export Modul using the OpenCms Shell
> - open the zip file and copy the manifest to /dev/whatever
> - delete the exported module from rfs
>
> Now it is fairly easy to write a task that simply puts all your files in the right places (templates, elements, etc) and also copies the manifest to a zip file, resulting in a module.
>
> The only let down is that you have to have a running system from where you can get your manifest in the first place. To fiddle with the manifest is highly discouraged anyway! You can break a module quite easily...
>
> HTH
> Nick
>
> --
> Mit freundlichen Grüßen
> Nick Panienski
> IT Consultant
>
> codecentric GmbH
> Grünewalder Str. 29-31
> 42657 Solingen
>
> Telefon +49 (212) 24 94 330
> Fax +49 (212) 24 94 334
> Mobil +49 (151) 167 06 496
> eMail panienski at codecentric.de
> Internet http://www.codecentric.de
>
> Geschäftsführer: Peter Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft: Solingen
> Registergericht: Amtsgericht Wuppertal, HRB 19214
>
>> -----Ursprüngliche Nachricht-----
>> Von: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von
>> Bozidar Ilievski
>> Gesendet: Mittwoch, 13. Februar 2008 17:21
>> An: opencms-dev at opencms.org
>> Betreff: [opencms-dev] How to create manifest.xml for a
>> module outside ofOpenCms workplace?
>>
>> Hi.
>>
>> We are considering OpenCms Module development from Eclipse IDE.
>> We would like to build a module archive that will be ready
>> for import into OpenCms.
>> As we investigated, the only problem would be creation of the
>> manifest.xml file.
>> Has anyone came up with solution how to crate manifest.xml
>> file, without using the OpenCms Export Module tool?
>>
>> Regards,
>> Bobi.
>>
>> --
>> Bozidar Ilievski | bozidar.ilievski at netcetera.com.mk phone
>> +389 -2- 30 64 532 | fax +389 -2- 30 79 495 Netcetera | 1000
>> Skopje | Macedonia | http://netcetera.com.mk
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list To
>> change your list options, or to unsubscribe from the list,
>> please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
--
Javadocs and other OpenCms stuff:
http://www.codedroids.com/community/opencms
More information about the opencms-dev
mailing list