Mark Lundquist wrote:
Jorg Heymans wrote:
FWIW i still do "build eclipse-project" even "build
eclipse-customized-project". The latter sets up the source paths of the
enabled blocks only
Hey, that is great... next time I won't have to cut down .classpath by
hand :-)
Why doesn't the regular eclipse-project target do that? Why would
anybody want source paths of excluded blocks on their classpath?
Because when you develop Cocoon, you want to be sure that everything
compiles even if your webapp doesn't include all blocks!
-=-=-=-=-
Here's another one, going a little OT I guess, but... :-/
I've set it up so that my Cocoon project is "remote", it's not
contained in my Eclipse project (there's a symbolic link to it). I
have the Cocoon src dirs in .classpath, but just for debugging... I
don't want them to compile when I build my project (but of course I
_do_ want Eclipse to compile my project-specific Java sources...) Any
idea how to set that up?
You should simply associate the source code directory to cocoon.jar in
your project: select a jar file, right-click and select "properties/java
source attachment".
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director