Hi Russ, Both artifact_ns.compile and artifact_ns[:compile] should work.
artifact_ns(:compile) creates a new artifact namespace (instead of selecting artifact requirements). I have to admit I don't grok all the ArtifactNamespace code yet and I don't think the build.yaml integration is finished; It feels somewhat basic and doesn't support nesting namespaces, for example. I think we can remedy that if we have a motivated user (and hacker) who wants to get involved (hint hint!) alex On Sat, Nov 12, 2011 at 12:28 AM, Russ Teabeault <rteabea...@rallydev.com>wrote: > Ok, so to clarify I was able to do > > compile.with artifact_ns.compile > > But I was not able to do > > compile.with artifacts(:compile) > > In the latter case I get > > RuntimeError : Expecting a String, Hash or object that responds to to_spec > > -russ > > On Fri, Nov 11, 2011 at 4:23 PM, Alex Boisvert <alex.boisv...@gmail.com > >wrote: > > > On Sat, Nov 12, 2011 at 12:12 AM, Russ Teabeault < > rteabea...@rallydev.com > > >wrote: > > > > > So I checked out head and the classifier problem is fixed. I was able > to > > > do > > > > > > compile.with artifact_ns.compile > > > > > > Should I also be able to do > > > > > > compile.with artifacts(:compile) > > > > > > ? > > > > > > > Yes, "compile.with artifact_ns.compile" should work too. > > > > alex > > >