[EMAIL PROTECTED] wrote:
I don´t know ruper. But "autodownload and cache resources" via fileset? A fileset lists per definition only present files ... why download present files?Here is a sample of what I want to achieve. <ruperset id="test1">
<resource name="log4j" version="1.2" repository="maven"/>
</ruperset>
<copy toDir="${test.dir}">
<fileset refid="test1"/>
</copy>
If ruper has a copy of log4j version 1.2 then good, if not download and store localy, in all cases the fileset with refid="test1" would return <mylocal-jar-dir>/org.apache.jakarta/log4j/jars/log4j-1.2.jar
However I seem to have error already Copy doesn't like public void addFileset(IFileSet set) { filesets.addElement(set); }
It says The <copy> type doesn't support the nested "fileset" element.
So I will need to investigate some more. It does seem that FileSet is a heavy. It seems to me that the base type for FileSet sould only have then method
publid File[] getFiles()
I will take a look at selectors.
R, Nick
---------------------------------------------------------------------
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]