<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Bug in module naming convention??? AND site config in Tomcat Standalone</TITLE>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Corbey,
Clayton<BR><B>Sent:</B> Friday, November 26, 2004 10:41 PM<BR><B>To:</B>
'opencms-dev@opencms.org'<BR><B>Subject:</B> [opencms-dev] Bug in module
naming convention??? AND site config inTomcat Stan dalone<BR></FONT><BR><FONT
face=Tahoma size=2>I tried creating a new module in OpenCMS but it kept giving
me a 'no details' error. It said something like the version and name of the
module were manditory even though I was inputing all those fields. My module
name contained a hyphen (ca.mb.brandonrha.brha-opencms). This is our naming
convention for our servers... brha-*. Maybe that hyphen was screwing up the
sql string sent to MySQL?</FONT></DIV>
<P><FONT face=Tahoma size=2>Is this a bug?</FONT> <SPAN
class=585391801-27112004><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></P></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=585391801-27112004><FONT face=Arial color=#0000ff
size=2>Actually it is a feature. All OpenCms modules must have a
valid Java package name. The hyphen can not be used in Java package
names, so you can't use it as OpenCms module name.</FONT> </SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<P><FONT face=Tahoma size=2>I ended up having to name my module
ca.mb.brandonrha and then it worked fine. It was all that hyphen
(-).</FONT> <SPAN class=585391801-27112004><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></P></BLOCKQUOTE>
<P dir=ltr><SPAN class=585391801-27112004><FONT size=2>Alexander
Kandzior<BR><BR>-------------------<BR><BR>Alkacon Software - The OpenCms
experts<BR>Alexander Kandzior<BR>Eugen-Langen-Str. 8<BR>50968 Koeln,
DE<BR><BR>Tel: +49 (0)221 3797540<BR>Fax: +49 (0)221 3797541<BR>Email:
a.kandzior@alkacon.com<BR><BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A><BR><BR> </FONT>
</P>
<P dir=ltr> </SPAN></P></BODY></HTML>