Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

cocoon + dynamic class loading

Thread view: 
Denis Nikiforov - 18 Mar 2006 16:15 GMT
(transmit-message (Hello *All*)
(Say '(

I'm trying to create my first generator for Cocoon:
1) I've created java-file (MyGenerator.java)
2) compiled it: javac MyGenerator.java
3) copied it into webapp/WEB-INF/classes/
4) changed sitemap.xmap and everithing works fine.

But when i change original source file (MyGenerator.java) and repeat
above procedure, compiled class MyGenerator.class does not reload
automatically. How can I turn on automatic reloading of my classes?

Signature

))) => t

Denis Nikiforov - 18 Mar 2006 18:42 GMT
(transmit-message (Hello 'Denis)
(You-wrote :on "Sat, 18 Mar 2006 20:15:21 +0500")
(Say '(

DN> I'm trying to create my first generator for Cocoon:
DN> 1) I've created java-file (MyGenerator.java)
DN> 2) compiled it: javac MyGenerator.java
DN> 3) copied it into webapp/WEB-INF/classes/
DN> 4) changed sitemap.xmap and everithing works fine.

DN> But when i change original source file (MyGenerator.java) and repeat
DN> above procedure, compiled class MyGenerator.class does not reload
DN> automatically. How can I turn on automatic reloading of my classes?

I've got it.
http://wiki.apache.org/cocoon/HotDeploy

Signature

))) => t



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.