You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by yoyomohan <ch...@gmail.com> on 2009/10/07 22:17:06 UTC
Re: Access file resources from ant based plugin
Hi ,
I'm stuck in the same problem .pls. can you share the solution for the
problem 'placing and calling scripts [ perl ] from custom ant plugin jar
file' only.
Thanks in advance.....
Marcel Schutte wrote:
>
> Hello,
>
> I've written an ant based plugin that needs access to file based
> resources. For example, an xslt task needs a file path to the stylesheet
> it applies. Simply putting this stylesheet in src/main/resources won't
> work, because it will end up in the plugin's jar file.
>
> The only way around it I could think of was to find the plugin jar file in
> the local repository and extracting it to a temp dir. Not the most elegant
> of solutions. There is a thread on the developers list by Jason about this
> (http://www.nabble.com/-vote--Allowing-Ant-based-plugins-to-use-file-based-resources-tf2398452s177.html#a6749541).
> Does anybody know what happened to his suggestion? Has it already been
> implemented in some way?
>
> Thanks,
> Marcel
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Access-file-resources-from-ant-based-plugin-tp10302575p25793654.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org