commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <>
Subject [Jelly] From File to URI
Date Mon, 07 Oct 2002 09:42:27 GMT

I have the following script:

  <fileScanner var="scanner">
    <fileset dir="${maven.cactus.conf.dir}" includes="*.jelly"/>

  <j:forEach var="script" items="${scanner.iterator()}">
    <j:import uri="${script.path}"/>

However, it doesn't work as ${script.path} returns a platform dependent
file name and not a URI. 

Thus, I would need to do a kind of "(new URL(script.path)).getFile()"

Or should the import accept a file attribute?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message