Hi Gary,

so, just like this?:

sitemap.xmap
WEB-INF/classes/my/stuff/super/Thingies.class
WEB-INF/lib/mystuff.jar

Cool!

As far as I realized specifying check-reload="yes" should be fine for a 
developer without restarting Cocoon to reload the classes.

Your answer helped! :-)
Florian



Stewart, Gary wrote:
>> -----Original Message-----
>> From: Dev at weitling [mailto:[EMAIL PROTECTED]
>>
>> Where do I put my own classes in the directory structure (mounted
>> sitemap somewhere in my user directory) and/or do I have to declare a
>> classpath in my sitemap?
>>     
>
> You should just be able to put them in WEB-INF/classes (followed by any 
> com/bleh/moo directory struture you have for the package) and that should 
> work ok. You should then be able to call them (for example in flowscript) 
> using Packages.com.bleh.moo.Foo or whatever. If you have them in a jar you 
> can stick them in the WEB-INF/lib folder.
>
> You'll need to restart Cocoon to make them visable though.
>
> Hope this helps,
>
> Gary
>
> *****************************************************************
> The information contained in this message may be confidential or 
> legally privileged and is intended for the addressee only. If you 
> have received this message in error or there are any problems 
> please notify the originator immediately. The unauthorised use, 
> disclosure, copying or alteration of this message is 
> strictly forbidden.
> *****************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to