Re: Package samples as jars in 2.1

2006-01-25 Thread Jean-Baptiste Quenot
* Upayavira: Jean-Baptiste Quenot wrote: Any hint on how to add this location to the loader classpath? The loader source is in tools/src/loader/Loader.java. It seems that the loader doesn't load class directories. However, a brief look at the code suggests to me that it wouldn't be too

Re: Package samples as jars in 2.1

2006-01-25 Thread Upayavira
Jean-Baptiste Quenot wrote: * Upayavira: Jean-Baptiste Quenot wrote: Any hint on how to add this location to the loader classpath? The loader source is in tools/src/loader/Loader.java. It seems that the loader doesn't load class directories. However, a brief look at the code suggests to

Re: Package samples as jars in 2.1

2006-01-25 Thread Jean-Baptiste Quenot
* Upayavira: Jean-Baptiste Quenot wrote: * Upayavira: Jean-Baptiste Quenot wrote: Any hint on how to add this location to the loader classpath? The loader source is in tools/src/loader/Loader.java. It seemsthat theloaderdoesn't loadclass

Re: Package samples as jars in 2.1

2006-01-25 Thread Sylvain Wallez
Upayavira wrote: Jean-Baptiste Quenot wrote: We could hack the Loader. But we could also packages our samples as jars. That would ease to merge the Cocoon build with an existing application. Currently, it is quite difficult to mix Cocoon's WEB-INF/classes with My App's

Re: Package samples as jars in 2.1

2006-01-25 Thread Ralph Goers
I must have missed something. I can understand how you can package the sample classes in their own jars, but what will you do with the sample sitemaps and additional xconf configurations? Ralph We could hack the Loader. But we could also packages our samples as jars. That

Re: Package samples as jars in 2.1

2006-01-25 Thread Jean-Baptiste Quenot
* Ralph Goers: I must have missed something. I can understand how you can package the sample classes in their own jars, but what will you do with the sample sitemaps and additional xconf configurations? Sitemaps and xconf will remain in webapp/samples and

Package samples as jars in 2.1

2006-01-23 Thread Jean-Baptiste Quenot
Hello, The Cocoon CLI is broken because when all blocks are compiled in, there are classes in the samples that go to WEB-INF/classes, but the loader does not add this location to the classpath. Any hint on how to add this location to the loader classpath? A simple solution is to package the

Re: Package samples as jars in 2.1

2006-01-23 Thread Upayavira
Jean-Baptiste Quenot wrote: Hello, The Cocoon CLI is broken because when all blocks are compiled in, there are classes in the samples that go to WEB-INF/classes, but the loader does not add this location to the classpath. Any hint on how to add this location to the loader classpath?