<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [opencms-dev] Static exort of module recourcese</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>Hi Roland,</FONT>
</P>

<P><FONT SIZE=2>Could you show me all of your changes?</FONT>
<BR><FONT SIZE=2>I don't know how to define the export property for subfolders.</FONT>
</P>

<P><FONT SIZE=2>Thank you,</FONT>
</P>

<P><FONT SIZE=2>Yendung </FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Roland Ribi [<A HREF="mailto:roland.ribi@gmx.ch">mailto:roland.ribi@gmx.ch</A>]</FONT>
<BR><FONT SIZE=2>Sent: 18 June 2003 04:43</FONT>
<BR><FONT SIZE=2>To: opencms-dev@opencms.org</FONT>
<BR><FONT SIZE=2>Subject: RE: [opencms-dev] Static exort of module recourcese</FONT>
</P>
<BR>

<P><FONT SIZE=2>Thank You ! It works! :-)</FONT>
</P>

<P><FONT SIZE=2>Only the bug in the jsp-tag <cms:link> is a problem if</FONT>
<BR><FONT SIZE=2>relativelinks_in_export=true.</FONT>
</P>

<P><FONT SIZE=2>Gruss</FONT>
</P>

<P><FONT SIZE=2>Roland Ribi</FONT>
</P>

<P><FONT SIZE=2><A HREF="mailto:roland.ribi@gmx.ch">mailto:roland.ribi@gmx.ch</A> </FONT>
</P>

<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: opencms-dev-admin@opencms.org </FONT>
<BR><FONT SIZE=2>> [<A HREF="mailto:opencms-dev-admin@opencms.org">mailto:opencms-dev-admin@opencms.org</A>] On Behalf Of Ulrich Rueth</FONT>
<BR><FONT SIZE=2>> Sent: Tuesday, June 17, 2003 10:30 PM</FONT>
<BR><FONT SIZE=2>> To: opencms-dev@opencms.org</FONT>
<BR><FONT SIZE=2>> Subject: AW: [opencms-dev] Static exort of module recourcese</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Hi Roland,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> when you create a module, by default it is set to </FONT>
<BR><FONT SIZE=2>> "export=false" in the</FONT>
<BR><FONT SIZE=2>> properties of your my_module folder. If you remove this </FONT>
<BR><FONT SIZE=2>> property, everything</FONT>
<BR><FONT SIZE=2>> is exported statically. You should rather define this "export=false"</FONT>
<BR><FONT SIZE=2>> property more fine grained, i.e. for every subfolder of your </FONT>
<BR><FONT SIZE=2>> module or even</FONT>
<BR><FONT SIZE=2>> deeper (in case you do not want everything to be exported).</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Another hint: The stuff is exported by OpenCms into a folder </FONT>
<BR><FONT SIZE=2>> starting with</FONT>
<BR><FONT SIZE=2>> /system/modules/my_module/... You probably don't want this on your web</FONT>
<BR><FONT SIZE=2>> server. Therefore, for every folder of your module which you </FONT>
<BR><FONT SIZE=2>> export, define</FONT>
<BR><FONT SIZE=2>> an additional property called "exportname" and give it a </FONT>
<BR><FONT SIZE=2>> reasonable value.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Example: I have a folder </FONT>
<BR><FONT SIZE=2>> /system/modules/my_module/resources/css/ which I</FONT>
<BR><FONT SIZE=2>> want to export statically. Therefore this folder has no "export=false"</FONT>
<BR><FONT SIZE=2>> property, but rather a property "exportname=/my_module_css/". </FONT>
<BR><FONT SIZE=2>> Like this, all</FONT>
<BR><FONT SIZE=2>> files from this folder are exported to /my_module_css/.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Regards,</FONT>
<BR><FONT SIZE=2>> Ulrich</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > -----Ursprungliche Nachricht-----</FONT>
<BR><FONT SIZE=2>> > Von: opencms-dev-admin@opencms.org</FONT>
<BR><FONT SIZE=2>> > [<A HREF="mailto:opencms-dev-admin@opencms.org">mailto:opencms-dev-admin@opencms.org</A>]Im Auftrag von Roland Ribi</FONT>
<BR><FONT SIZE=2>> > Gesendet: Dienstag, 17. Juni 2003 22:16</FONT>
<BR><FONT SIZE=2>> > An: opencms-dev@opencms.org</FONT>
<BR><FONT SIZE=2>> > Betreff: [opencms-dev] Static exort of module recourcese</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Hi</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > How can I export recources in a module?</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Here an example:</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > I have a image in /system/modules/my_module/recources and </FONT>
<BR><FONT SIZE=2>> had links in</FONT>
<BR><FONT SIZE=2>> > some elements of my templates.</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > What is needed to export this images and convert the links </FONT>
<BR><FONT SIZE=2>> to a static</FONT>
<BR><FONT SIZE=2>> > export?</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > I didn't find any hint in the archive of the mailinglist.</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Gruss</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Roland Ribi</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > <A HREF="mailto:roland.ribi@gmx.ch">mailto:roland.ribi@gmx.ch</A></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > _______________________________________________</FONT>
<BR><FONT SIZE=2>> > This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>> > To change your list options, or to unsubscribe from the </FONT>
<BR><FONT SIZE=2>> list, please visit</FONT>
<BR><FONT SIZE=2>> > <A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>> To change your list options, or to unsubscribe from the list, </FONT>
<BR><FONT SIZE=2>> please visit</FONT>
<BR><FONT SIZE=2>> <A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>To change your list options, or to unsubscribe from the list, please visit</FONT>
<BR><FONT SIZE=2><A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
</P>

</BODY>
</HTML>