ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wilson <fajwil...@gmail.com>
Subject Re: importing ant targets from the classpath
Date Sun, 09 May 2010 13:10:34 GMT
Thanks for your help Martin and Jan!

Sorry I missed that part of the manual Jan. :/
It was pretty much what I was looking for.

Frank

On 7 May 2010 09:24,  <Jan.Materne@rzf.fin-nrw.de> wrote:
> From the <import> manual:
>
>  <import>
>    <javaresource name="common/targets.xml">
>      <classpath location="common.jar"/>
>    </javaresource>
>  </import>
>
>
> Jan
>
>>-----Ursprüngliche Nachricht-----
>>Von: Frank Wilson [mailto:fajwilson@gmail.com]
>>Gesendet: Donnerstag, 6. Mai 2010 17:59
>>An: user@ant.apache.org
>>Betreff: importing ant targets from the classpath
>>
>>I would like to import ant build targets from the classpath. In
>>otherwords, I am looking for an equivalent of the "import" task, which
>>brings files not from the filesystem, but from the classpath (and
>>hence possibly from a jar). I doesn't seem to me that this is possible
>>with the import task. I was wondering if I have overlooked some other
>>facet of ant that allows this kind of functionality.
>>
>>I need this kind of functionality because I have a lot of different
>>projects that build in a similar fashion. Currently I import the
>>common build targets from an ant file in a common directory, however I
>>would rather distribute this common build file using the maven
>>dependency mechanism for extra flexibility.
>>
>>Ideally I would like to not have to check out the common build logic
>>unless I intend to change it.
>>
>>Thanks,
>>
>>Frank
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message