[opencms-dev] Where insert my java classes?

M Butcher mbutcher at grcomputing.net
Fri Jun 25 01:10:02 CEST 2004


And make sure you publish the classes and then restart the servlet 
container (e.g. Tomcat). That ensures that the classloader can read the 
classes.

Matt

Olli Aro wrote:
> That should work. Just make sure that the package reference is the same as
> your module folder structure. E.g. if you want to deploy your class in
> /system/modules/myPackage/classes/com/mycompany/myapp/ the class must be a
> member in package com.mycompany.myapp.
> 
> Also if you use OpenCMS API calls as part of your class, make sure that you
> compile the class against the same version of OpenCMS than the system you
> upload the file on.
> 
> Regards,
> 
> Olli
> 
> -----Original Message-----
> From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
> On Behalf Of Stefano
> Sent: 24 June 2004 14:55
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Where insert my java classes?
> 
>  
> 
> Hi list, 
> 
> what I must make in order to insert in my module some java classes, and
> relative methods, developed from me?
> 
> Where I must put the compiles (.class) to the inside of the VFS?
> 
> I have tried to put the classes in 
> 
> /system/modules/myPackage/classes/...../… .class 
> 
> When I callback a method, jams the loading of the page.
> 
> Tks, Stefano
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004
>  
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list