Thanks Alin!

It worked.  I created a Scala script that uses it to download a list
of artifacts.  I'm just now learning Scala, and I like what I see so
far.  Writing this script was primarily for playing around with Scala.
 However, I wouldn't mind using Scala scripts rather than XML files
for programming stuff like build scripts and config files in the
future.  The closed SAnt project [1] was looking at something along
those lines.  It would be nice though, to have tasks be OSGi bundles.
An added bonus would be if the Scala interpreter an OSGi text user
interface were somehow combined.

[1] http://code.google.com/p/sant/wiki/Reference

cheers,
Cameron

On Tue, Feb 12, 2008 at 9:05 PM, Alin Dreghiciu <[EMAIL PROTECTED]> wrote:
> Yes I have an idea,
>
>  Build the latest from svn and you will have it working :)
>
>  
> mvn:http://repository.ops4j.org/maven2!org.ops4j.pax.web.bundles/service/0.2.0//javadoc
>  
> mvn:http://repository.ops4j.org/maven2!org.ops4j.pax.web.bundles/service/0.2.0//sources
>
>  Note the //. This is because you do not specify a type so it uses the
>  default jar. For an ear file you have something like
>
>  mvn:some.group/some.ear/0.1.0/ear/sources
>
>  You can take a look at http://issues.ops4j.org/jira/browse/PAXURL-12.
>  I just implemented after your email. :)
>
>  Alin
>
>
>
>  On Feb 13, 2008 11:02 AM, Cameron Taggart <[EMAIL PROTECTED]> wrote:
>  > I am attempting to use pax-url-mvn-0.2.1.jar to download maven
>  > artifiacts from a non-OSGi Java program.  I was successful in getting
>  > it download the jar artifact when the artifact is something like:
>  >
>  > 
> mvn:http://repository.ops4j.org/maven2!org.ops4j.pax.web.bundles/service/0.2.0
>  >
>  > Any idea how to get the javadoc and source files too from the maven repos?
>  >
>  > cheers,
>  > Cameron
>  >
>  > _______________________________________________
>  > general mailing list
>  > [email protected]
>  > http://lists.ops4j.org/mailman/listinfo/general
>  >
>  >
>
>  _______________________________________________
>  general mailing list
>  [email protected]
>  http://lists.ops4j.org/mailman/listinfo/general
>

Attachment: download.scala
Description: Binary data

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to