Cyriaque Dupoirieux a écrit :
I can see that there is no problem with ant, the problem comes from
cocoon, are you sure a couple of jave lines will be enough ?
The exception stacktrace was quite long and I didn't include it, but at
some point it goes through :
...
[java] Caused by:
org.apache.excalibur.source.SourceNotFoundException:
file:/C:/dev/projects/xeumeuleu/build/forrest.properties doesn't exist.
[java] at
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
[java] at
org.apache.forrest.conf.ForrestConfModule.loadAntPropertiesFromURI(ForrestConfModule.java:300)
...
So it's actually forrest trying to load the property file and throwing
because it does not find it.
Simply catching the exception in ForrestConfModule and discarding the
error does the trick, that's how the other optional property files are
currently handled.
I can provide the patch.
MAT.