The Artima Developer Community
Sponsored Link

Java Buzz Forum
megg: automatic downloading and unpacking

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jeremy Rayner

Posts: 111
Nickname: j6wbs
Registered: Sep, 2003

jez codes stuff
megg: automatic downloading and unpacking Posted: Mar 23, 2004 4:03 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Jeremy Rayner.
Original Post: megg: automatic downloading and unpacking
Feed Title: javanicus
Feed URL: http://www.javanicus.com/blog2/subjects/java-rss.xml
Feed Description: Jeremy Rayner on java and other stuff.
Latest Java Buzz Posts
Latest Java Buzz Posts by Jeremy Rayner
Latest Posts From javanicus

Advertisement
One issue when starting a new project, is getting hold of those pesky dependancies (jars/tld etc). I've updated megg to automatically grab them for you. megg will now take care of downloading a released file at any url, and unzipping or untaring the archive, and then copy the necessary into the right place for your project.

The best explanation is through an example.


java -jar megg-0.1.0.jar groovy

will create all necessary files for minimal groovy project and then unpack the three essential jar files needed in the lib dir from the auto downloaded groovy-1.0-beta-4.tar.gz


This is how this is declared, note use of ! to delimit url ! packedFile ! packedFile...
The dependancy declaration inside inherit the outer dependancy declarations

  to="/lib/">
   
   
   

Read: megg: automatic downloading and unpacking

Topic: Short books and the 80/20 point Previous Topic   Next Topic Topic: It's almost like Ted called it...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use