Hi Joerg.

Tnx for testing. It still does not work for me (winxp, java 1.4.1_02, cocoon 2.0.4)

Can anyone else on the list test a quick sitemap snippet :

   <map:match pattern="remotedir">
       <map:generate type="directory" src="Z:\temp" />
       <map:serialize type="xml"/>
   </map:match>

Where Z: is a drive mapping to another windows machine, temp is the name of the share (can be anything ofcourse).
For me this is *not* working and i can't for the love of god find out why.


Something must be conflicting within cocoon because below java snippet works
File directoryFile = new File("z:\\temp");
if (!directoryFile.isDirectory()) {
  System.out.println("not a directory");
}

@Joerg : is there anything else i can do to provide you with more information? If not then i setup a debugging environment and step through that very block of code. This is just too weird :)

rgds
Jorg

Joerg Heinicke wrote:

Hello Jorg,

sorry I deleted your mail, so I lost the thread, I copied only the subject from the archive.

My test with latest Cocoon 2.0 code: It works. Both <map:generate type="directory" src="Z:\Temp"/> and <map:generate type="directory" src="file:///Z:/Temp"/>. Not surprising from a code point of view: nothing has changed in the handling of the src attribute.

I don't know what you are doing wrong. I can only say: It works for me (Win 2k, Sun Java 2 SDK 1.4.2).

Regards,

Joerg


--------------------------------------------------------------------- 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