when i say run-time , means while the application is running , can u direct me to the code where you check the dependencies at runtime ? where can i find it in your project
thank you On Sat, Oct 16, 2010 at 5:49 AM, Geoff Clitheroe <g.clithe...@gmail.com>wrote: > No - the dependencies are all for compile and test time. Those that are > needed for runtime are packed into the single jar using proguard. > > -G > > > On Sat, Oct 16, 2010 at 1:43 AM, Shay Tessler <shay...@gmail.com> wrote: > > > are u fetching dependencies at runtime just before building your system ? > > > > On Fri, Oct 15, 2010 at 4:13 AM, Geoff Clitheroe <g.clithe...@gmail.com > > >wrote: > > > > > You're more then welcome to check out the code and give it a try - > > running > > > 'ant setup-nb-build-environment' will use Ivy to fetch the dependencies > > and > > > running 'ant jar' compiles and runs proguard to deliver a single jar > > (check > > > dist after running). > > > > > > svn co http://codegeo.org/repos/cwb/GeoNetCWBQuery/trunkGeoNetCWBQuery > > > cd GeoNetCWBQuery > > > ant ivy-clean-cache > > > ant setup-nb-build-environment > > > ant jar > > > ls dist > > > > > > Cheers, > > > Geoff > > > > > > > > > On Fri, Oct 15, 2010 at 9:29 AM, Shay Tessler <shay...@gmail.com> > wrote: > > > > > > > this is a nice thing , > > > > i will give it a look , still need to learn more about ivy > > > > > > > > On Wed, Oct 13, 2010 at 10:51 AM, Geoff Clitheroe < > > g.clithe...@gmail.com > > > > >wrote: > > > > > > > > > Sorry - you will need to be sure to look at the larger 'bin' jar > > which > > > is > > > > > the repackaged one e.g., > > > > > > > > > > > > > > > > > > > > > > > > > http://codegeo.org/archiva/repository/publish/nz/org/geonet/GeoNetCWBQuery/2.2.2/GeoNetCWBQuery-2.2.2-bin.jar > > > > > > > > > > -G > > > > > > > > > > > > > > > On Wed, Oct 13, 2010 at 9:08 PM, Geoff Clitheroe < > > > g.clithe...@gmail.com > > > > > >wrote: > > > > > > > > > > > Yep I get what you're saying, this is just a different approach. > > We > > > > > still > > > > > > use Ivy to manage the dependencies it's just the build step > merges > > > our > > > > > code > > > > > > and all the dependencies together into a single jar instead of > > > > delivering > > > > > a > > > > > > jar and trying to fetch the dependencies at run time. > > > > > > > > > > > > This project use Ivy for it's deps: > > > > > > > > > > > > > > > > > > > > > > > > > > > http://codegeo.org/fisheye/browse/cwb/GeoNetCWBQuery/trunk/ivy.xml?r=HEAD > > > > > > > > > > > > and proguard to repackage (and in the process shrink the > download). > > > > > Search > > > > > > for proguard in: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://codegeo.org/fisheye/browse/cwb/GeoNetCWBQuery/trunk/build.xml?r=HEAD&content=true > > > > > > > > > > > > Which delivers a single executable (grab the Jar and run jar tf > on > > > it) > > > > > > > > > > > > > > http://codegeo.org/archiva/browse/nz.org.geonet/GeoNetCWBQuery/2.2.2 > > > > > > > > > > > > FWIW docs are here (if you care to download lots of seismic data) > > > > > > > > > > > > > > > http://www.geonet.org.nz/resources/basic-data/waveform-data/index.html > > > > > > > > > > > > It's an approach that has worked very well for us (and the > users). > > > > > > > > > > > > Cheers, > > > > > > Geoff > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 12, 2010 at 7:06 AM, Shay Tessler <shay...@gmail.com > > > > > > wrote: > > > > > > > > > > > >> hey Geoff > > > > > >> i dont need a single jar , i need to manage dependencies smart > way > > > > > >> problematically > > > > > >> > > > > > >> > > > > > >> On Mon, Oct 11, 2010 at 10:52 AM, Geoff Clitheroe < > > > > > g.clithe...@gmail.com > > > > > >> >wrote: > > > > > >> > > > > > >> > Is it an option to repackage the dependencies along with your > > code > > > > > into > > > > > >> a > > > > > >> > single jar? We use progaurd to do this for a couple of > projects. > > > I > > > > > can > > > > > >> > point you at some ant files for the process if your > interested. > > > > > >> > > > > > > >> > http://proguard.sourceforge.net/ > > > > > >> > > > > > > >> > Cheers > > > > > >> > Geoff > > > > > >> > On 11 Oct 2010 11:27, "Shay Tessler" <shay...@gmail.com> > wrote: > > > > > >> > > hey all. > > > > > >> > > > > > > > >> > > i am writing an java application based on plug-ins , > > > > > >> > > i wish to use IVY ,to help me with dependencies issue when > > > > > installing > > > > > >> a > > > > > >> > > plug-in at run time > > > > > >> > > > > > > > >> > > each plug-in should have some jar's he depends on , > > > > > >> > > i need IVY to help me with what jar i can keep and what jar > > are > > > > not > > > > > >> > > necessary > > > > > >> > > > > > > > >> > > i am new to IVY ,and i notice only XML configuration > tutorial > > > > > >> > > > > > > > >> > > > > > > > >> > > is there an API and examples how to use IVY problematically > > > > > >> > > just to tell me what files to download , and i can trigger > the > > > > > >> download > > > > > >> > > manually > > > > > >> > > > > > > > >> > > thank you > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > >
