incubator-depot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus M. May" <m...@gmx.net>
Subject Re: Ruper Fileset
Date Thu, 12 Feb 2004 08:48:36 GMT
Hello Nick,
great. I think it would be great to use the ruperset totally instead of the
fileset. So that you can do something likeS:
<project name="..." basedir="." default="test1">
<path id="project.class.path">
  <ruperset>
        <resource name="log4j" version="1.2" repository="maven"/>
        <project name="xxx" version="4"
module="http://gump.apache.org/modules/xalan.xml"/>
  </fileset>      
</path>
<target name="compile">
      <javac srcdir="${src.java.dir}" destdir="${dest.dir}">
      <classpath refid="project.class.path" />
   </javac>

</target>

</project>

What do you think? Everything else is pretty cool stuff. I definitly like
this idea.

R,

Markus

<project name="ruperModule-test" basedir="." default="test1">
    <typedef resource="org/apache/ruper/ant/antlib.xml"/>

    <target name="test1">
        <repository id="maven"
                    url="http://www.ibiblio.org/maven/"
                    remote="true" />
        <ruperset id="test1">
            <resource name="log4j" version="1.2" repository="maven"/>
        </ruperset>
        <copy toDir="build/test/sandbox">
            <fileset refid="test1"/>
        </copy>
    </target>
</project>

> This is what I have in mind for ruper filesets. 
> <project name="ruperModule-test" basedir="." default="test1">
>     <typedef resource="org/apache/ruper/ant/antlib.xml"/>
>     <target name="test1">
>         <repository id="maven"
>                     url="http://www.ibiblio.org/maven/"
>                     remote="true" />
>         <ruperset id="test1">
>             <resource name="log4j" version="1.2" repository="maven"/>
>         </ruperset>
>         <copy toDir="build/test/sandbox">
>             <fileset refid="test1"/>
>         </copy>
>     </target>
>     <target name="test2">
>         <ruperFileSet id="foo">
>             <project name="tomcat" version="4" 
> module="http://gump.apache.org/modules/xalan.xml"/>
>         </ruperFileSet>
>     </target>
>     <target name="test3"/>
> </project>
> 
> 
> Does this seem like reasonable ant tasks.
> 




Mime
View raw message