> Hi,
>
> I'm experimenting converting a java project from ant to sbt.
>
> I'm using an ivy.xml in conjunction with externalIvyFile().
>
> The thing is, I'm using `default` revisions (see my
> previous<http://groups.google.com/g/3867f92f/t/aa6f2e23a0fae068/d/65c2b07568dae759?q=#65c2b07568dae759>post
> for more information about this). So we have dependencies that look
> like this:
>
> <dependency org="apache" name="commons-lang" rev="default" />
>
> With ant, we extended org.apache.ivy.plugins.resolver.FileSystemResolver to
> resolve this default version. But sbt uses a rigid interface to ivy and it
> doesn't seem to be able to take a custom ivy resolver.
There is a raw resolver where you can provide a custom Ivy resolver.
http://harrah.github.com/xsbt/latest/api/sbt/RawRepository.html
-Mark
> When not using an ivy.xml (specifying the dependencies in build.sbt) I
> solved this problem by writing a plugin that uses the `allDependencies` task
> and resolves the `default` versions by looking inside a java properties
> file.
>
> But when using an ivy.xml file, I'm out of luck because the dependencies
> don't appear in libraryDependencies. So a couple of possibilities:
>
> - Rewrite the ivy.xml file into inline dependencies. This one kinda sucks
> because there are potentially *dozens* of projects that would be converted,
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>
>
--
-Fred